TL;DR
Agents now open most PRs at some teams — but review capacity and token cost decide whether that speed helps. Build, buy, or slow down: a decision framework.
A software factory is not a tool. It is the operating model that appears when AI agents start writing most of your code: a harness that plans work, orchestrates agents, gives them reusable skills, and routes everything through review. The question is not whether the factory works — the teams running one report startling throughput. The question is whether your team can afford the review burden and the token bill that come with it, and whether you should build the factory, buy an orchestrator, or deliberately slow down.
The short version: if agents already open a large share of your PRs and your reviewers are the bottleneck, you need a factory — or at least a harness — and the build-vs-buy call turns on how much of your workflow is standard. If agents open a small share of PRs, a single-agent workflow with good review discipline beats a factory. And if your review capacity is already saturated, adding more agents makes things worse, not better. Speed without review is just a faster way to accumulate risk.
Why the factory arrived now
Three things changed at once. First, agents got good enough to open real PRs at volume. Cognition, the company behind Devin, reports merging 40x more PRs while growing engineering headcount by just 2.7x, according to co-founder Walden Yan's talk at AI Engineer 2026; PostHog reports roughly 70% of its monorepo PRs are now agent-opened, up from about 20% four months earlier; Gumloop reported 571 agent PRs in six weeks. These are the companies' own numbers, reported in November 2026 — treat them as evidence the pattern is real, not as a promise your team will see the same multiples.
Second, the cost of reviewing agent work became the binding constraint. In a pre-registered observational study with Lund University, CodeScene ran 465 agent-authored PRs from 246 repositories through a five-agent review-and-fix pipeline with three different LLMs: healthy code (CodeHealth 9.7) was associated with 22–35% fewer tokens than unhealthy code (CodeHealth 2.8), or 3.5–6.1% fewer tokens per CodeHealth point. The association held for all three models, and it concentrated in the review stage, where agents iterated more on unhealthy code. Note the wording: associated with, not caused by — the study is observational, and the authors note file size mediates part of the effect. The point is structural, not anecdotal: review cost scales with code health, and the factory does not remove that cost — it concentrates it. The full study is on arXiv.
Third, the bottleneck moved from generation to verification. As Chad Fowler put it the same week: code generation is no longer the bottleneck — verification is. Steve Yegge's advice, also circulating this week, is to slow software factories down to human-governable speed. The industry is discovering, in public, that the factory's throughput is only useful if a human (or a governed pipeline) can still say no.
The options
Option 1: Single-agent workflows (no factory)
One developer, one agent, one task at a time — Claude Code, Codex, or Copilot CLI in the loop, with the developer reviewing each change before it lands. No harness, no orchestration layer, no skills library beyond what the developer writes in the prompt.
This is the baseline, and it is underrated. It costs almost nothing extra, the review happens naturally because the developer is in the loop, and the blast radius of a bad change is one PR. It does not scale: the moment three developers each run three agents in parallel, review becomes the queue and nobody owns the pipeline. If you are still sizing up what agents can do on their own, start with our guide to developing autonomous AI agents before adding any orchestration.
Pick this when agents open a small share of your PRs (under ~20%), your team is small, and the work is varied enough that no repeatable pattern exists to automate.
Option 2: Buy an orchestrator
A managed platform that runs agents for you — Devin, or an orchestration layer that schedules agents, manages their environments, and routes output to review. You configure workflows; the vendor owns the harness, the sandboxing, and the scaling.
The advantage is time: you get multi-agent throughput without building the plumbing. The cost is control and money — per-seat or per-task pricing, a sandbox model you did not choose, and a workflow that fits the vendor's assumptions about how software gets built. If your delivery process is unusual, you will fight the tool.
Pick this when you need multi-agent throughput in weeks, your workflow is close to standard (tickets in, PRs out, CI green), and you can accept the vendor's sandboxing and review model. Do not pick it because the demo was fast — the demo never shows the review queue.
Option 3: Build a software factory
The four-layer stack, as the teams running one describe it: Harness (the environment agents work in) → Orchestration (what runs when, and in what order) → Skills (reusable, governed capabilities the agents can call) → Delivery/Review (the pipeline that gets code to production). Building it means owning all four layers: agent environments, scheduling, a skills library with versioning, and a review pipeline that can keep up.
The advantage is fit: the factory encodes your standards, your review rules, and your definition of done. The cost is a platform team. A factory is a product, and products need owners. The teams reporting the big numbers — Cognition, PostHog — run factories with dedicated platform effort behind them. In practice, owning the factory means owning it as a platform product; see our guide to platform engineering for how that ownership model works.
Pick this when agent PR volume is already high (over ~50% of PRs, or growing fast), you have a platform team or can staff one, and your workflow has repeatable patterns worth encoding as skills. Do not pick it to "prepare for" agent volume that does not exist yet — that is building a factory for a problem you do not have.
Option 4: Slow down deliberately
Cap agent throughput to what review can absorb. Fewer agents, smaller tasks, mandatory human review on anything that touches auth, payments, or data migrations — and a rule that review capacity, not agent capacity, sets the pace. Yegge's "slow down with software factories" is this option stated plainly.
This is not Luddism. It is the correct answer when review is already saturated, when the codebase is unhealthy (and therefore expensive for agents to review — remember the 22–35% CodeScene gap), or when the team has not yet built the governance to trust agent output. Slowing down is also the right interim answer while you build the factory: run fewer agents well rather than many agents badly.
Pick this when reviewers are already the bottleneck, when code health is poor, or when you cannot yet say who is accountable for an agent's merged PR.
The comparison
| Option | Throughput | Review burden | Token/cost exposure | Ops burden | Maturity |
|---|---|---|---|---|---|
| Single-agent workflows | Low — one task at a time | Low — developer in the loop | Low — one agent, one task | Low | High — the default |
| Buy an orchestrator | High — vendor-managed parallelism | Medium — vendor routes to review, you still review | Medium — vendor pricing, watch per-task cost | Low — vendor owns the harness | Medium — vendors differ widely |
| Build a software factory | Highest — your own parallelism | High — you own the review pipeline | High — you own token spend and must meter it | High — a platform product with owners | Low–Medium — few reference implementations |
| Slow down deliberately | Capped by review capacity | Controlled — review sets the pace | Low — fewer agents, less spend | Low | High — a policy, not a product |
Trade-offs
The trade-off nobody puts in the demo is review capacity. Every agent PR needs a reviewer — human or automated — and review is the scarcest resource in the pipeline. A factory that opens 500 PRs a week into a team that can review 100 has not made the team faster; it has made the queue longer and the pressure to rubber-stamp higher. Measure review capacity before you measure agent throughput.
The second trade-off is token economics. Cost per completed task — not cost per token — is the metric that matters, and it is the one Thoughtworks names as the leadership metric without operationalizing it. A factory multiplies agent runs: planning agents, review agents, fix agents, re-review agents. Each run is cheap; the sum is not. Meter cost per merged PR, not per API call, and set a budget per task type before the factory scales.
The third trade-off is governance vs. speed. The faster the factory, the more you need governed skills, scoped tokens, sandboxing for agent-run code, and an audit trail of who (or what) approved each change. The sandboxing decision matters here — see our companion piece on securing AI agents — because a factory runs untrusted generated code at volume. Governance built after the factory is retrofit; governance built with it is design.
And the trade-off teams forget: a factory encodes your current process, including its flaws. If your review standards are vague, the factory will automate vague review. If your code is unhealthy, the factory will generate unhealthy code faster — and pay 22–35% more in tokens to review it. Fix the process before you automate it.
Recommendation
For most teams shipping software in the next quarter: start with single-agent workflows and measure two numbers for a month — the share of PRs agents open, and the time from PR open to merged. If agents open under ~20% of PRs and review keeps up, stay there and invest in code health and review discipline instead of a factory.
If agents open over ~50% of PRs, or review is already the bottleneck, buy an orchestrator first — weeks, not quarters — and use it to learn what your factory would need to encode. Treat the bought orchestrator as a prototype for the factory, not as the final answer.
Build a factory only when you have the volume (sustained high agent-PR share), the platform capacity (a team that can own it), and repeatable patterns worth encoding as skills. And build the review pipeline first — the harness is the easy part; the governed review loop is the product.
Slow down deliberately whenever review is saturated, code health is poor, or accountability for agent output is unclear. Slowing down is not falling behind; it is the only way to stay in control of a system whose throughput you did not design.
When not to build a software factory
Do not build a factory because the numbers in someone else's blog post were large. Cognition's 40x and PostHog's 70% are their numbers, from their codebases, with their platform teams. Your numbers will differ, and the factory only pays for itself at volume you can demonstrate, not volume you hope for.
Do not build one when your review process cannot absorb more PRs. A factory without review capacity is a queue with a marketing name.
Do not build one when the work is genuinely varied — research spikes, novel architecture, one-off migrations. Factories encode repeatable patterns; novel work has none to encode.
And do not buy an orchestrator and call it a factory. An orchestrator runs agents; a factory governs them. If nobody owns the skills library, the review rules, and the cost model, you have bought throughput, not a factory.
What to do next
This week, measure two numbers: agent-opened PR share, and PR review latency. If review latency is already growing, cap agent throughput before you add more agents. If both numbers are healthy and agent share is climbing past half, start the buy-vs-build evaluation — and read the sandboxing piece first, because the factory will run generated code at a volume your current controls were never designed for.
Why This Matters
Understanding the business and technical context helps you make informed decisions rather than blindly following patterns.
Trade-offs to Consider
Every architectural decision involves trade-offs. Consider your specific requirements, team expertise, and scale when evaluating options.
When NOT to Use This
Knowing when a solution doesn't apply is as valuable as knowing when it does. Consider alternatives for your specific situation.
Decision Framework
Use this framework to evaluate whether this approach is right for your use case based on your specific constraints and requirements.