One diagram at AI Engineer Code Summit 2026 changed how I think about "AI writing code." It came from Zach Lloyd, founder and CEO of Warp, in his talk "AI Software Factories". He drew a software factory as a loop, not a pipeline.
The loop
A new idea or bug comes in. Then the work moves through triage, spec, implement, verify, ship and monitor, and what monitoring finds goes back to the start.
Agents run every step. People step in at three points:
- reviewing the spec, before implementation starts
- reviewing the code, before verification
- reviewing the product, before it ships
I like this because it says where humans belong. Not typing code, and not watching every step, but making three specific judgment calls.
Lloyd's reasoning for moving to cloud agents is also worth noting. Local, interactive agents cap automation at human throughput. Individually chosen models, skills and setups make cost and productivity hard to manage. And agents running on laptops create security and governance problems.
Define the factory in code
His definition: "I define it as a code-defined closed-loop system for continuously measuring and improving cloud coding agents."
The "code-defined" part is the one I keep coming back to. He described a declarative, Terraform-style definition of the factory: agents, triggers, workflows, MCPs, policies, repositories and execution environments. It is a file you can review, diff and version, the same as any other infrastructure.
I noted the idea of a factory.yaml in my own notes. That is my shorthand, not a spec from the talk. The point is that the delivery process stops living in people's heads and local settings.
Measure it like a system
Lloyd was blunt about the alternative: "If you're just going on vibes in terms of how you deploy coding agents, you can't be confident that you're actually getting the best, highest quality outputs at the best cost."
He said Warp tracks DORA metrics, cycle time, human interactions per pull request, throughput and cost for coding-agent work. Human interactions per PR is a useful one. It tells you how much a human is still carrying the loop.
Two more ideas close the loop:
- Online evals. Agent sessions are scored automatically. One example he gave was spotting redundant tests.
- Self-improvement. An agent looks at the results, finds failure patterns, and opens pull requests against the factory definition.
The factory can propose changes to its own configuration through pull requests.
He also described benchmarks that replay real organizational tasks across models, harnesses, skills and factory configurations. His line: "The only way to answer those questions for real is to test on your own data."
The warning that goes with it
The day before, Lauren Tan (Principal Engineer, SpaceXSI) gave "All Code Is Slop (Except Mine)". Her line is the best counterweight to the factory idea: "If your inner coding loop produces slop, then automating that loop just produces more slop."
Her answer is to put deterministic constraints under the agents before adding more prose rules. Lint rules, types, architecture and tests come first. Her general principle, as she put it, is that every time they correct their agents, it turns into a deterministic check.
That fits the factory picture well. A factory definition tells the agents what to do. Strong checks decide whether the output is any good.
My take
Running many cloud agents without a clear definition is a security and governance problem, not only a cost problem. If nobody can read what the agents are allowed to do, nobody can review it either. A factory in a file at least gives you something to audit.
My note from Lauren's talk was: first tune the codebase, then build the software factory, because otherwise you just generate more slop. I still think that is the right order. Fix the inner loop, make the checks hard to argue with, then write the factory down and turn up the autonomy.
I also want the human review points to be explicit. Spec, code and product are a good starting set. I would rather add or remove checkpoints on purpose, based on measured numbers, than have them disappear because agents got faster.
I want to try Warp's platform to see how it builds a factory end to end. The framing is useful whether or not you use their tools.
Credit: talks by Zach Lloyd (Warp) and Lauren Tan (SpaceXSI) at AI Engineer Code Summit 2026.
