# "The 2026 Software Factory Infra Stack — Zach Lloyd, Warp.dev"
<!--
ref: @content/youtube/latent-space/the-2026-software-factory-infra-stack-zach-lloyd-warp-dev
tags: [software factory, coding agents, evals and scorers, benchmarking, cost per PR, orchestration, sandboxes, factory engineering]
version: 2
updated_at: 2026-11-22T12:08:24.655Z
-->

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

# The 2026 Software Factory Infra Stack — Zach Lloyd, Warp.dev

*Synthesized from Zach Lloyd in conversation with an unnamed host on Latent Space, 2026-11-03.*

Zach Lloyd of Warp walks through Warp Factories and the infrastructure stack he thinks any team building an internal "software factory" needs. The host, who also introduces the episode as part of the AIE Code announcement, is not named in the source, and the transcript is a rough machine translation.

## Core Thesis
Zach argues that a software factory is a concrete, measurable, closed-loop system of agents defined as code, not a pile of ad hoc automations. He says companies should move from judging coding agents by vibes to measuring them, which he calls factory engineering.

## Key Insights
- **Definition.** A factory is an agentic system in the cloud where agent roles are defined, with real autonomy, and it is measurable and tunable. Warp advises one factory per product surface (mobile app, server app and so on), described in a YAML file listing repositories, skills, MCPs and integrations plus a workflow such as triage, spec, then implementation.
- **Entry points.** Product developers send work from Slack (about 60 percent of Warp's work starts there), Linear, Jira, GitHub, an API or MCP. The factory is headless infrastructure with many access points.
- **Central record.** Centralizing agent conversations, artifacts and actions gives visibility that teams using local Claude Code or Codex sessions lack. Metrics include DORA-style release time, how many human interventions each merged PR needed, throughput, and cost allocated by person, automation or lifecycle stage.
- **Scorers.** Online evaluations use an LLM as judge with a chosen model, trigger, prompt and sampling rate, run over saved agent runs. One example detects redundant tests that bloat the code base and waste tokens. This is aimed at platform or DevX teams and engineering managers rather than day-to-day engineers.
- **Self-improvement.** Because the factory is code, agents can propose edits to it, for example after finding 54 triage cases where a subagent would have helped. The next step he wants is replaying past runs to verify a proposed change.
- **Benchmarking.** Take real agent runs into a test suite and replay them across a matrix of harnesses (Warp's own, Claude Code, Codex, Pi) and models, plotting cost against accuracy. He cites one run where a GPT model scored 95 percent at about six dollars and a GLM model 93 percent at about two dollars, noting models are quickly outdated.
- **Stack layers.** Declarative factory definition (compared to Terraform, giving versioning, branches and rollback); a data layer for conversations and artifacts; MCP connections with per-department access; a compute layer with connected sandboxes (Namespace, Daytona, Modal, E2B, and a Mac VM for iOS simulators); open inference with bring-your-own provider or any ACP-compatible harness; an orchestrator; and access points.
- **Warp's own numbers.** Cost per PR started near $80 because Opus was used where it was not needed and too many subagents were spawned; tuning brought it to about $15 to $20. PR throughput rose 40 percent in a month with the cancellation rate unchanged.
- **Who it is for.** Not tiny teams, who should just use subscriptions; he sees feasibility from about 5 to 10 engineers and a sweet spot at 10 to 100 engineers on a Slack plus Linear or Jira "happy stack". Very large firms such as Uber or Ramp tend to build their own. He notes API billing can be 5 to 50 times costlier than flat subscriptions and says Warp does not resell tokens.

## Actionable Takeaways
1. Define the factory in version-controlled code: repositories, skills, MCPs, integrations and workflow stages.
2. Log every agent conversation, artifact and action centrally before attempting optimization.
3. Add LLM-judge scorers (for example for needless tests) with a modest sampling rate to control cost.
4. Replay real tasks across harness and model combinations and pick the cost-accuracy point that fits your codebase.
5. Track human interventions per merged PR and cost per PR, and tune model choice and subagent count to cut them.
6. Keep sandbox and inference providers as pluggable components.

## Notable Quotes
> "You should consider a software factory as a very specific thing." — Zach Lloyd

> "You should have one factory per product surface." — Zach Lloyd

> "I feel very confident in this general approach: watch, measure, tune." — Zach Lloyd

---

*Related: `@content/youtube/zazencodes/build-your-own-ai-software-factory-with-claude-code` · `@protocol/memento` · `@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` · `@content/youtube/nate-herk/i-tested-jev-on-12-real-use-cases-my-honest-thoughts`*

---

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