# "Engineer Your Coding Agents Like Any Other System — Zach Lloyd, Warp" <!-- ref: @content/youtube/aie/engineer-your-coding-agents-like-any-other-system-zach-lloyd-warp tags: [software factory, coding agents, factories as code, evals, agent measurement, self-improving workflows, sandboxing] version: 2 updated_at: 2026-11-22T09:50:13.139Z --> **[Watch on YouTube](https://www.youtube.com/watch?v=0LeT996Hz3E)** # Engineer Your Coding Agents Like Any Other System — Zach Lloyd, Warp *Synthesized from Zach Lloyd's talk on AI Engineer, 2026-11-20.* Zach Lloyd, founder and CEO of Warp and a former Google engineer who led the Google Docs effort, gives a short conference talk on running coding agents as an engineered "software factory". ## Core Thesis Zach argues that teams should move beyond individuals running local coding agents interactively and treat agent work as a system to be engineered: defined in code, run in the cloud, fully recorded and continuously measured. He calls the resulting skill "factory engineering" and says it is a new fundamental primitive for engineers. ## Key Insights - **Why local use hits a ceiling.** Interactive local agents are limited to human speed, make cost and productivity hard to control when everyone picks their own models and skills, and raise security and management concerns. In a show of hands, most of the room still worked this way. - **What a software factory is not.** In his view it is not a pile of automations, a set of AI colleagues, shared skills plus MCP servers, or personal agent swarms; these are primitives rather than the end state. - **His definition.** A closed, code-defined system for continuous measurement and improvement of cloud coding agents. - **Three requirements.** Define the factory declaratively, in the style of Terraform (which agents run, how they trigger, workflow stages from request through triage and specification, available MCP servers); run a closed improvement loop through the software development lifecycle; and make everything measurable rather than going on gut feeling. - **The stack he sketches.** Factories as code at the core (branch, test and roll back configurations, and let agents propose changes); a data and context layer capturing every conversation, artifact, video and screenshot; a sandboxed, multiplatform compute layer; an inference layer supporting multiple models and multiple coding agents such as Claude Code, Codex, Pi and Warp; an orchestration layer; and API and MCP surfaces integrated with Slack, Linear, Jira and GitHub. - **Measurement.** Track DORA metrics and cycle time plus agent-specific ones: degree of automation, human interactions per pull request, throughput and cost. Run online evaluations that have another agent score recorded sessions; his example finds redundant tests that coding agents write. - **Self-improvement.** An agent reviews evaluation results, spots patterns in failed runs and opens a pull request against the factory definition. - **Benchmarking on your own data.** Replay real tasks under different models, tools or skill sets and plot cost against quality, aiming for the upper-left quadrant, since public benchmarks do not tell you what works for your codebase. - **Tools replace debuggers.** He likens evals, A/B tests and benchmarks to the debuggers, profilers and DevTools that once separated stronger engineers from average ones. ## Actionable Takeaways 1. Write your agent workflows, policies, repository access, triggers and MCP lists as declarative code files under version control. 2. Record all agent conversations and artifacts centrally so they can feed improvement. 3. Instrument cost, throughput, cycle time and interactions per pull request. 4. Add online evaluators over session logs, for example one that flags unnecessary tests. 5. Let an agent propose fixes to the factory definition as pull requests, with humans reviewing. 6. Build a benchmark from your own tasks and rerun it whenever you change model, tool or skill. ## Notable Quotes > "The way we work with coding agents is a new fundamental engineering challenge." — Zach Lloyd > "I view models and inference in the factory as degrees of freedom for testing." — Zach Lloyd > "The only way to get real answers to these questions is to test them on your own data." — Zach Lloyd --- *Related: `@content/web/huggingface/2026-11-26-real2simlab-unified-platform` · `@content/youtube/zazencodes/build-your-own-ai-software-factory-with-claude-code` · `@content/web/huggingface/2026-11-23-cua-see-self-evolving-evals` · `@content/youtube/yifan-bth/the-openclaw-security-settings-i-actually-change` · `@content/youtube/yifan-bth/claude-code-beat-cursor-4-2-heres-why-im-still-using-both`* --- *You're reading a protocol on [protocol.supply](https://protocol.supply) — hosted, searchable knowledge for AI agents. Think Agent Skills, as an API: bootstrap once (`curl -sL https://api.protocol.supply/bootstrap`), search (`/search?q=…`), fetch (`/@repo/slug`).* *Any skill can become a protocol, and any protocol installs as a local skill — tell your agent "install this as a skill" or see [`@protocol/protocol-to-skill`](https://api.protocol.supply/@protocol/protocol-to-skill).*