# Engineer Your Coding Agents Like Any Other System — Zach Lloyd, Warp
<!--
ref: @content/youtube/aie/2026-11-20-engineer-your-coding-agents-like-any-other-system
tags: [software factories, coding agents, factory engineering, evals, agent infrastructure, observability, self-improvement]
version: 2
updated_at: 2026-11-21T06:12:48.772Z
-->

**[Watch on YouTube](https://www.youtube.com/watch?v=0LeT996Hz3E)**


*Synthesized from Zach Lloyd's talk on AI Engineer, 2026-11-20.*

Zach Lloyd is the founder and CEO of Warp (an open source agent terminal with about 65,000 GitHub stars and nearly a million developers) and a former Google lead engineer who led Google Docs development; he presents solo.

## Core Thesis
Zach argues that software development is moving from individuals running local interactive agents toward "software factories": closed, code-defined systems that continuously measure and improve cloud coding agents. Working with coding agents is a new engineering primitive, so engineers should apply their usual rigor (declarative configuration, observability, evals, benchmarks) to it, a discipline he calls "factory engineering."

## Key Insights
- **Why local, interactive agents hit limits.** Interactive local use is bounded by human speed, since every agent run needs a manual prompt. When each developer picks their own setup, models, and skills, platform teams struggle to manage cost and productivity. It also creates security and governance problems. In a show of hands, most of the room still worked with local, multithreaded agents, but a notable number were building or using software factories.
- **What a factory is not.** Zach says it is not a pile of disconnected automations, a set of "AI colleagues," a shared skills/MCP collection, or personal agent swarms. These are useful primitives but not the end state.
- **His definition.** A software factory is a closed, code-defined system for continuous measurement and improvement of cloud coding agents. It has three properties:
  1. It is fully declarative, in the style of Terraform: code files define which agents run, how they are triggered, how work flows (request, triage, spec, implementation, verification, monitoring), which MCPs are available, and where agents launch.
  2. It is a closed improvement loop, essentially an SDLC in which work arrives from people or automated signals and agents handle it; the more the agents run, the better the loop can be tuned.
  3. Everything is measurable, rather than decided by gut feel about quality, cost, or throughput.
- **New tools for the new craft.** Just as debuggers, profilers, and Chrome DevTools separated strong engineers in the hand-coding era, the new differentiators are evals, self-improvement cycles, benchmarks, and A/B testing of the factory itself. Engineers still own product outcomes, but must also learn to improve the system, not just build the product.
- **The infrastructure stack (from first principles, not prescriptive):**
  - *Factories as code* at the core: enables branching, testing configurations, rollback, and lets agents propose changes to the factory.
  - *Data and context layer:* record all conversations, artifacts, videos, and screenshots as raw material for improvement.
  - *Compute layer:* sandboxes for security, stability, and reproducibility, ideally multiplatform.
  - *Inference layer:* multiple models and multiple coding agents (Claude Code, Codex, Warp, and others), treated as degrees of freedom to test; possibly a custom in-house agent with organizational context.
  - *Orchestration layer:* moves work through the factory; least interesting but necessary.
  - *API/MCP-first surface* so other agents can use it, plus integrations with Slack, Linear, Jira, and GitHub.
- **Demo in Warp's platform.** Factory definitions are code (policies, repo access, triggers, workflow blueprints). A shared, Google Docs-style live view shows what every agent on the team is doing, including conversations and generated artifacts, for example a teammate launching a task via Slack.
- **Central data enables metrics without per-laptop installs.** Examples: DORA metrics, cycle time, degree of automation, human interactions per PR, throughput, and spend.
- **Online evals.** Run another agent over recorded sessions to score them against criteria. Example: a score for redundant tests, since agents often write unnecessary tests; the factory can then be adjusted to reduce this.
- **Self-improvement.** An agent reviews eval results, finds patterns in failed runs, and proposes a fix as a pull request against the factory definition. This is the main payoff of defining the factory in code.
- **Benchmarks on your own data.** Public claims about the best model, skill, or setup can only be settled by replaying real tasks from your own data under different models, tools, or factory settings, then plotting cost against quality (aim for the upper-left quadrant, as in SWE-bench or Terminal-Bench comparisons). You can also test the effect of removing skills.
- **Results.** Warp used this approach to significantly raise productivity and cut costs, by defining baselines, evaluating, testing, and engineering continuously.

## Actionable Takeaways
1. Define your agent workflows declaratively in code (agents, triggers, workflow stages, MCPs, repo access, policies), Terraform-style, so they can be branched, rolled back, and modified by agents.
2. Record every agent conversation, artifact, screenshot, and video centrally rather than on individual laptops.
3. Track metrics such as DORA metrics, cycle time, automation rate, human interactions per PR, throughput, and cost.
4. Add online evals that have a second agent score completed sessions (for example, redundant-test detection) and tie findings to specific parts of the factory.
5. Let agents analyze failed runs and open PRs against the factory definition.
6. Build benchmark sets from your real tasks and replay them across models, coding agents, skills, and configs; compare cost versus quality.
7. Run agents in sandboxes, support multiple models and coding agents, and expose the system via API/MCP with integrations to Slack, Linear, Jira, and GitHub.

## Notable Quotes
> "The way we work with coding agents is a new fundamental engineering challenge." — Zach Lloyd

> "Design your agents. This is a new engineering primitive. We are all engineers." — Zach Lloyd

> "If you don't have this data, you're acting blindly." — Zach Lloyd

---

*Related: `@content/web/huggingface/2026-11-26-real2simlab-unified-platform` · `@content/web/huggingface/2026-11-23-cua-see-self-evolving-evals` · `@content/web/github/2026-11-23-claude-code-v2-1-331` · `@content/youtube/yifan-bth/claude-code-beat-cursor-4-2-heres-why-im-still-using-both` · `@content/youtube/david-ondrej/build-anything-with-tmux-here-s-how`*

---

*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).*