Key Takeaways
- Zach Lloyd and the Warp team are building Warp Factories to shift AI coding from one-off local prompts to cloud-based, version-controlled workflows.
- Factory as code treats agent configurations like Terraform files, declaring agent roles, Model Context Protocol (MCP) tools, repository permissions, and skills directly in git.
- Automated evaluation loops let agents review workflow telemetry and submit pull requests against the factory configuration to refine underperforming steps.
- Senior engineers at Warp resisted local AI auto-complete early on, but embraced headless cloud agents once models grew reliable enough to work asynchronously.
- Managing automated factories introduces the risk of compounding drift, where iterative self-adjusting prompts diverge from human intent over time without strict benchmarks.
Treating Agents as Versioned Infrastructure
Most engineering teams treat coding agents like pets. An engineer sits in an IDE, pastes code into a prompt, waits, and reviews the output line by line. Zach Lloyd, founder and CEO of Warp, argues this approach does not scale. Warp is redirecting its product focus toward Warp Factories, which shifts agent execution into automated cloud infrastructure.
Lloyd compares this shift to the emergence of modern cloud operations. “Think of it as like a Terraform file, which says, 'Okay, these are all of the agents and their roles in this factory. This is all the MCP configuration, all of the skills, all of the secrets that they need.' And then, what Warp Factories does is it sort of executes that for you,” (play from 23:48) Lloyd explained.
Instead of forcing developers into separate graphical interfaces, Warp runs factories headlessly. The agents operate in environments where teams already communicate, like Slack, and submit standard pull requests. Lloyd pitches this model directly to engineering leaders as the natural successor to traditional build pipelines: “I will say when we when we pitch factories, a line that I often say is that this is the evolution of CICD, and I think this will be as ubiquitous as CICD.” (play from 1:37:33)
Why Self-Improving Loops Risk Compounding Drift
The central mechanism of a factory as code setup is its ability to measure throughput and tune itself. Lloyd describes how evaluation loops analyze run history: “So there's like a built-in eval system where you can have agents that are looking at how your factory runs are operating and suggest improvements. So it's like they could see like, 'Oh, this part of code review isn't going very well, like humans are giving a lot of feedback. Let's change the code review skill accordingly.' And they do this by making PRs against the factory definition.” (play from 25:40)
This loop creates an engineering challenge: compounding drift. When autonomous agents continuously rewrite their own system prompts, small subtle errors in judgment can accumulate across generations. A prompt optimized to satisfy short-term reviewer feedback might quietly drop test coverage requirements or loosen style constraints three weeks later.
To combat this drift, engineering teams cannot rely on subjective prompt tweaking. They have to run deterministic benchmark suites against their factory definitions before merging any pull request that modifies an agent's skills or tool definitions. If you treat the factory configuration as production software, every agent pull request requires unit tests, regression suites, and clear telemetry tracking.
What to Do With This
Audit your team's current AI tooling this week. Document the top three repetitive engineering tasks your team passes to chat interfaces, such as writing migration scripts or scaffolding API endpoints. Write a single repository configuration file that specifies the exact inputs, MCP server tools, and acceptance criteria needed to run one of those tasks without human prompting in an isolated CI branch.