Introducing Factory Blueprints: a flexible way to define, visualize, and improve how work flows through your software factory.
Define blueprints as code to declare stages, transitions, and human gates for agents to follow, with live diagrams and self-improvement flows built-in.
There's a lot of discussion on formal verification. Here's a rundown of why you should care, and how to implement it:
- fast-check for sample-based property testing
- TLA+ for model checking (think race conditions)
- Bend to verify code via laws and proofs
You can now use the Pi agent harness to build software factories on Warp.
Bring your key for any Pi provider, and slot Pi into your factory workflows. Try mixing harnesses for different stages of work, and benchmark harnesses (Pi, CC, Codex, or Warp) by sampling your own tasks.
We've been tuning our software factory for a few months now based on our team's usage habits, agentic self-improvement, and benchmarks against our own data.
This is what our pipeline looks like today, defined as code in a factory.yaml file and visualized as a state diagram.
First, the stages: research, triage, design exploration, spec, implementation, security-check, and code review.
Research is an optional starting phase that uses a lightweight model (Luna series) to answer questions about the codebase. It completes in a separate, read-only worker to collapse findings into a small report.
For actual code changes, we hand off to our task worker, which handles the majority of work in a single context window.
"Start" is the first stage here. It lets the agent route a task based on the user's ask:
• If asked to mock something out, go to the "design exploration" stage
• If asked for a plan, go to "spec"
• If given a trivial assignment, go to "implement"
• If asked to review a PR, go to "review"
• If the ask is ambiguous, or the scope of the task is unknown, go to "triage."
All of these branches are defined as "transitions" in our factory, paired with human-in-the-loop checkpoints at key decisions. Agents declare when they're transitioning from one stage to the next, and can use their judgment on what happens during that stage (including arbitrary subagent swarms or other orchestration strategies).
For tasks that land in "triage," the agent will track work on our taskboard (Linear) and investigate the scope to decide what to do next. It may ask the user questions about design requirements, recommend a spec before building, and proceed to implementation once open questions are resolved.
From here, we have our verification checks. "Review" is an interesting stage, because it's a code review step the agent can decide to skip on low-risk changes. Most teams seem to require adversarial code review on all PRs, but in our own benchmarking, we found the quality gains on obvious changes were marginal compared to the added token cost on every PR. Review is the default, but the agent can skip it when a change's full effect is obvious on sight (copy tweaks, flag flips, or config changes).
We've also added "security-check" recently, which runs a dedicated pass whenever a diff touches security-sensitive surfaces, and can escalate to human review with proposed changes. We'll report how this affects code quality the more we test it.
We also have verification baked into the "implement" stage, notably end-to-end UI verification. We include a skill on how to sandbox our application, and let the agent click around what it built using computer use. This is included as a default subagent for anyone using Warp Factories.
Outside of this software factory chain, we've also been experimenting with a second agent graph for QA. This defines a set of steps for agents to review our app holistically, waking up on a cron schedule to spot bugs that snuck into our frontend.
The hard part of factory engineering is building the right flow of work through the factory.
You might define rigid "if this, then that" graphs, or let agents orchestrate themselves.
We saw merits to both, and built a flexible format: Factory Blueprints. https://t.co/MhdlF1AgLd
Introducing Factory Blueprints: a flexible way to define, visualize, and improve how work flows through your software factory.
Define blueprints as code to declare stages, transitions, and human gates for agents to follow, with live diagrams and self-improvement flows built-in.
If you're curious how much it matters whether you use one harness or another with the same model, the best thing is to benchmark and measure.
We benchmarked Pi / Warp / Claude Code all using Opus 5.5 (med) and the exact same internal tasks and skills and the results were interesting. Pi was most efficient, Warp was most correct, and Claude Code was not on the pareto curve, which is surprising given the widespread assumption that a model lab's own harness will always be the most effective way to use its own model.
I'm not arguing this is generally true, just that if you want to know how these harnesses perform, the best thing is to test them on your own data, which means you need a factory that is capable of running multiple harnesses and benchmarking their performance.
Introducing Warp Learn: A free, hands-on course on how to build a software factory of your own.
Start with the fundamentals, write your first automation, and build up to a full software factory with specs, verification, and risk assessment.
How do you build a software factory your team actually wants to use? Let's do a deep dive:
- How to encode the steps a factory should take, as code
- Where to add gates for human judgment
- What verification and risk assessment should look like https://t.co/tZ4s68o8E3
After two years of rapid change in software development, we are again at a crossroads, with two competing visions for what the future might hold:
- agent teams that we orchestrate
- software factories that we build, measure, and improve https://t.co/ynFSarmf0n
My talk from @aiDotEngineer Code Summit SF is now on YouTube.
It covers what I think a software factory really means, and what it takes to build one yourself:
https://t.co/bcgl1pOrrE
If you're ready to build a software factory, Warp Learn is a great starting point.
It's a free, hands-on course building up from a backlog agent to a multi-stage factory with specs, verification, and risk assessment.
Start learning: https://t.co/9VH4eMAPO3
You version your code. What about the system writing it?
@zachlloydtweets of @warpdotdev on factories as code, recorded agent runs, evals on your own data, and improvements shipped as PRs.
From AI Engineer Code Summit.
Watch: https://t.co/jbJXWynZAn
It feels like software engineering got replaced with... 20% management and 80% code review this year.
If you think engineering is just implementation, this is accurate. But that's not all there is to engineering! There's so much on the systems design side, the factory engineering, that's worth solving now:
- Planning: When should the agent involve humans to draft a plan or proceed with implementation? What questions should it ask? What goes into a good product or technical spec?
- Implementation: Now that agents are writing code, how do we optimize the cost and quality of that code? What access permissions do agents have across secrets, MCPs, and skills?
- Review: How do we give agents the tools to verify their own work end-to-end before tagging us for review? How can agents assess the risk of a PR and include that assessment in the pull request to save humans time?
These are some of the most important problems for engineers to solve this next year.
It feels like software engineering got replaced with... 20% management and 80% code review this year.
If you think engineering is just implementation, this is accurate. But that's not all there is to engineering! There's so much on the systems design side, the factory engineering, that's worth solving now:
- Planning: When should the agent involve humans to draft a plan or proceed with implementation? What questions should it ask? What goes into a good product or technical spec?
- Implementation: Now that agents are writing code, how do we optimize the cost and quality of that code? What access permissions do agents have across secrets, MCPs, and skills?
- Review: How do we give agents the tools to verify their own work end-to-end before tagging us for review? How can agents assess the risk of a PR and include that assessment in the pull request to save humans time?
These are some of the most important problems for engineers to solve this next year.
Software engineering is becoming factory engineering. So, we built a course about it.
Start with the fundamentals, write your first automation loop, and build up to a full software factory with specs, risk assessment, and end-to-end verification. https://t.co/aHrH7Td44w
Our team put together a great hands on introduction course for learning about and building your own software factory. For folks who are interested in getting hands-on with factories I highly recommend it: https://t.co/0YdHB2lFBG