Hand Project Osmos a well-written specification, and it generates the PySpark code, notebooks and lakehouse objects needed to complete a data engineering task in Microsoft Fabric. In my testing, I was impressed by how much it built, but the results depend on the time you spend on the specification. Project Osmos, officially the Fabric data engineering agent, is one of the first implementations of specification-driven development. Microsoft announced it acquired the agentic AI platform Osmos in January 2026, and in fall 2026 it began publishing documentation that encourages people to start using it. The agent is still in preview, and Microsoft lists seven use cases for it:

  • Data preparation
  • Table integration
  • Lakehouse modernization
  • Medallion architecture
  • Data quality remediation
  • Performance improvement
  • Migration assistance

Project Osmos isn't going to review your PySpark code or create Power BI reports. It's designed for longer, end-to-end data engineering tasks, and it doesn't work with micro-prompts. Instead, you give it a specification: roughly a page of Markdown that lists the goals, source data, transformations, outputs, validations and constraints. You may not consider a constraint a requirement, but it is helpful to include them as they will provide valuable context and boundaries for your project. Project Osmos runs in your Fabric environment, consumes Fabric capacity and keeps running after you close the command-line client. Microsoft's best-practices guide covers how to write a good specification. The diagram below outlines the elements to include in the Markdown and when they are processed.

Project Osmos process steps

Project Osmos process steps (image created by author).

Here's a simple Markdown template for a medallion architecture project:

# Goal
 
Using the medallion architecture, use 3 files found in my lakehouse called <lakehouse name>
 
# Sources
 
- What data should Osmos use?
- What tables/files are authoritative?
 
# Transformations
 
- What transformations should occur?
- What business rules must be followed?
 
# Outputs
 
- What should Osmos create or update?
- Where should the results be written?
 
# Validation
 
- How will Osmos prove the result is correct?
- Include measurable success criteria.
 
# Constraints
 
- What can Osmos read?
- What can Osmos write?
- What naming rules apply?
- What must Osmos not change?

What You Need to Run Project Osmos

Project Osmos runs from a local AI agent on the command line, such as GitHub Copilot CLI, Claude Code or Codex, and it works very well that way. To use it, install the Azure CLI and sign in with az login. Then install the Skills for Fabric plugin, which includes the project-osmos skill. Depending on what you ask it to do, it may prompt you to install other Fabric skills as well. Project Osmos requires a non-trial Fabric capacity, and you need the Contributor role or higher in the workspace where it will create objects. Project Osmos generates Spark code and, according to the documentation, it primarily uses lakehouses as its sources and destinations, not a Fabric Warehouse. Because it generates a lot of PySpark code on its own, tasks can take some time to complete. In my testing, some took more than an hour.

The Specification Makes or Breaks the Results

Overall, I was impressed by the amount of code and other objects Project Osmos generated. Success depends on the time you spend writing the specification. My first test was a medallion architecture project. I forgot to specify where to create the objects, so everything ended up in one workspace. Project Osmos creates operating settings for you to review when you use it to generate code. It is important to read these carefully as they provide guidance on things like workspaces used. I also think this kind of development will encourage organizations to start building libraries of prompts. I think many organizations will want to implement Project Osmos as it provides the ability to generate decent code based upon a detailed specification and organizations can use it to improve the consistency of their development efforts.