Kitchens, not factories
Why software factories are not the solution to AI software
In July 2025, Goldman Sachs' chief information officer told CNBC that the bank was piloting Devin, Cognition's autonomous software engineer, as part of what he called a "hybrid workforce". "Initially, we will have hundreds of Devins," Marco Argenti said, adding that the number might grow into the thousands (CNBC via NBC). Startups use stronger language. Factory, which builds coding agents it calls Droids, describes the near future as a "software factory" in which agents work continuously and autonomously across every stage of development (summary). Specifications go in at one end, and merged code comes out at the other all night, at a volume no team could match.
I understand the appeal. Agents do produce code at a volume that changes what a small team can build, and the first week with a line of agents feels fast. The trouble tends to show up a few weeks later, when the codebase has three different ways of checking access and a pile of helpers that are almost the same. By then the review queue is longer than anyone can read, and adding agents to the line makes the queue longer still.
Lauren Tan (@poteto), whose agent setup lands around 2,500 pull requests a month, prefers the image of a professional kitchen, as Barnaby Robson describes in his write-up of her approach. I agree with her, and I think the choice of model has practical consequences. It decides where quality comes from and what the person in charge spends the day doing. It also explains why AI pods and forward deployed engineers, two ways of working that are spreading fast right now, already work like kitchens.
We have built software factories before
Managers have wanted software to behave like manufacturing for more than fifty years, because manufacturing is predictable and software projects are not. Each generation has tried the factory again with the tools of its time.
| When | Who | What happened |
|---|---|---|
| 2025 to now | Factory, Cognition and others | "Software factory" becomes the pitch for autonomous coding agents running around the clock |
| July 2025 | Goldman Sachs | Pilots Devin as a "hybrid workforce", with hundreds of agent instances beside 12,000 human developers |
| 2017 | US Air Force, Kessel Run | An Airmen-led "software factory" for air operations software; the military later counted about 30 software factories |
| 1975 to 1976 | System Development Corporation | Opens the first US facility called a software factory; its procedures shape later Defense Department standards before management pulls back |
| Late 1960s | Hitachi | Begins organizing large-scale software development as a factory, the start of the Japanese software factories that Michael Cusumano later documented |
Kessel Run is the most useful entry in that table, because its early success came from something that worked like a kitchen. It was set up with Pivotal Labs, whose method is to build small, balanced teams of a product manager, a designer and engineers. Those teams sit with the people who will use the software and ship small changes all the time. The word "factory" described the goal of steady delivery at scale, while the work itself was done by small, skilled crews close to their users. That gap between the slide and the floor comes up again later in this essay.
Software was never manufacturing
A factory exists to repeat a design. Someone designs a car once, and the factory builds that same design a million times as cheaply as possible. Every idea in factory management, from the assembly line to quality control, aims to remove variation between the copies.
In 1992, Jack Reeves wrote an essay called "What Is Software Design?" that points to the problem with every software-factory pitch. In software, copying is already free. The source code is the design. The build pipeline turns it into a running product in seconds at no cost, so everything a programmer does, debugging included, counts as design work.
A factory aims its machinery at the copies, and in software the copies cost nothing. Each pull request is a new design decision about where the logic lives, which existing piece it reuses and what happens when the input is empty. A line of agents that each make those calls alone produces a codebase where every decision was made a little differently, by an agent that never saw the others.
Why agent factories disappoint
In my view, agent factories keep promising more than they deliver for four reasons, and the models are not the cause of any of them. The cause is the shape of the organization the models are placed into.
The first reason is that a factory optimizes the wrong number. It counts pull requests merged and tickets closed, and those numbers rise fast. The number that matters in software is the cost of the next change, measured by how likely it is to break something. A line of agents that each make local decisions pushes that cost up while the dashboard shows progress.
The second reason is that context is lost at every handoff. An assembly line passes work from station to station, and each agent starts with an empty memory. The specification written at the start says what the product should do. It does not say where the access check lives or which helper already exists, so by the third handoff nobody on the line has seen the decision that mattered.
The third reason is that nobody owns the dish. On a line, each station owns a step, so a shared concern such as the access check belongs to no station, and every station writes its own. In a kitchen, the sauce belongs to the sauce station and the plate belongs to the chef, and that ownership keeps a hundred plates consistent.
The fourth reason is that the factory is sold as a way to remove the people whose judgment it depends on. The pitch is about cutting engineering headcount, yet even Goldman's own description has humans supervising the Devins. The factory still needs a chef but does not plan for one, so judgment ends up squeezed into an overloaded review queue at the end of the line.
A faster line will not fix any of these. The real question is which kind of organization makes many skilled judgment calls consistently under time pressure, and keeps its standard when the person in charge looks away. Restaurant kitchens have been doing that for a long time.
How a serious kitchen works
A busy restaurant kitchen on a Saturday night is one of the most demanding production environments there is. It turns out hundreds of plates, each made to order with a dozen components that must arrive hot and match the last time someone ordered the dish. The team works at full speed in a cramped room, and good kitchens keep the quality steady every night without being organized like factories.
Most serious kitchens still follow the brigade system credited to Auguste Escoffier. Four of its ideas map onto work with agents almost directly.
First, the kitchen is split into stations, each run by a chef de partie and each owning one part of every plate, such as sauces or fish. The fish cook does not make the sauce for the fish, because the sauce station makes every sauce the same way every time.
Second, every station does its mise en place, which means "everything in its place", before service starts. Ingredients are cut and tools are laid out in the same spot every night, so a cook in the middle of service never stops to wonder how this kitchen makes its beurre blanc. That thinking was done in advance, and the station is arranged so that the right thing is also the easy thing.
Third, every finished plate stops at the pass, a counter between the kitchen and the dining room. The head chef, or whoever runs the pass, checks each plate against the standard before it goes out. Very little gets sent back, because in a good kitchen the stations have already built the quality in and the pass confirms it.
Fourth, as the kitchen grows, the head chef spends less time cooking and more time setting the standard. In a small restaurant the chef cooks everything. In a larger one the chef spends more time designing dishes and tasting, and their name stays on every plate. Robson describes the same shift in Lauren Tan's thinking, where the chef becomes the head of the kitchen who sets intent and standards and no longer cooks every dish.
The standard reaches the stations before service starts, so by the time a plate arrives at the counter it has already been made correctly.
The same kitchen, with agents
Almost every part of that kitchen has a direct equivalent when the cooks are agents, and the mapping is useful because it tells you what to build.
| In the kitchen | With agents | What it looks like in practice |
|---|---|---|
| Head chef | You | Decides what the system should be, sets the standard, approves what is irreversible |
| Chef de partie, one per station | A component with one job, and the agent working on it | Notes, Teams, Invitations, each with one entry point and one owner for its data |
| One station makes every sauce | One mechanism per shared concern | One access gate and one database client, used by every flow |
| Mise en place | The map and the brief | Where each kind of code lives and which decisions were already made, ready before the agent starts |
| The recipe | Contracts and policies | Every webhook verifies its signature, and every critical flow passes the gate |
| The pass | Checks that fail the build | The pre-push hook and CI compare the code with the map on every change |
| Tasting | Verification on the real thing | Running the app, trying every role against every flow, sampling merged work |
Mise en place is the row that matters most. A frontier model is a very capable cook, but a capable cook in an unprepared kitchen still has to guess where things go and what was decided last week. Every guess is a small new design decision, and across a hundred agents those guesses drift apart. Robson's write-up says the same: the models are good, and what they lack is context and a prepared station.
So most of the head chef's work moves to before service. The chef writes the map, chooses one mechanism for each shared concern and records decisions so nobody asks twice. Each component is set up so the right place for new code is obvious. None of this shows on a busy night, but it is why the busy night goes well.
The questions on the left are the ones a new cook asks on their first night. A good kitchen answers them once, before service, so nobody has to guess during it.
You cannot inspect quality in at the end
When an agent factory finds it has a quality problem, it usually reaches for more inspection at the end of the line. A second agent reviews the diff, a third argues with the second, and a panel of reviewers votes. The line gets longer and the reviews cost more, and the codebase keeps drifting.
Manufacturing learned why this fails decades ago. The third of W. Edwards Deming's fourteen points for management is to "cease dependence on inspection to achieve quality". Inspection at the end comes late and costs a lot, and it does nothing to improve the process that produced the defect. Once quality is built into the work from the start, inspection becomes a confirmation.
Adversarial review by agents is end-of-line inspection paid for in tokens. It runs after the code is written, when the wrong design is already in place, and it is one model's opinion about another model's work. Lauren Tan made the same point this month when she called adversarial reviews mostly a waste of tokens that would be better spent on empirical and formal verification. A reviewer reads the code. Verification runs it, or proves it.
In the top line, the same mistake goes round the loop again and again. In the bottom line, each station's check fails the work where it happens, which leaves the pass with little to catch.
The kitchen's answer matches Deming's. Quality is built at the stations, where each sauce is made once by the station that owns it and the recipe leaves little room for improvising badly. With agents, that means checks that run where the work happens. Structure makes the wrong thing hard: with one entry point per component, there is nowhere to put a second access check. Checks on every push compare the code with the map, so a store written from the wrong component fails the build and names the line. Evidence then replaces opinion, from every role tried against every flow to a machine-checked proof for the few pieces that must never fail.
Someone still stands at the pass and looks before anything irreversible goes out. By then, their job is to confirm quality the stations already built.
A day in the kitchen
On an ordinary day with several agents working at once, most of the person's attention goes into preparation and tasting, and service mostly runs itself.
The day starts with preparation. Instead of a ticket queue, the morning begins with a status report from one command that reads the map and the code. It shows which flows are still unbuilt, which critical flows lack tests and which corrections have no guard yet, and it works as the day's menu. The chef decides what gets cooked today and makes sure each station is ready, for example by designing a new flow inside the map before anyone builds it.
Service runs through the day. Several sessions work at once, each at its own station, so one might build a flow while another adds tests where the report found gaps. Each session starts from a brief with its component's contract and the decisions that apply to it, so no agent has to improvise where things go. Every push goes through the pass. When a push fails, the message names the broken rule, and the agent fixes it without a person getting involved. Two sessions never work at the same station, so they stay out of each other's way.
During service, the chef steps in only for decisions that belong to them, such as approving a specification in plain language or anything irreversible. Each answer is recorded as a decision that the next agent reads before it starts.
Tasting happens at the end of the day. A chef who runs several restaurants cannot taste every plate, and nobody reviewing agent output can read every line, so both taste a sample. Robson describes Lauren Tan reading a sample of merged pull requests every day and going through the commit history each morning. She reverts what is wrong and adds a lint rule wherever a mistake could happen again. Tasting is how she finds out what the stations are getting wrong, so the stations themselves can be fixed.
The dashed box shows the chef during service: available but mostly idle, since the stations carry the load. The chef's best hours go into the work before and after.
Recipes that get better every night
When a plate comes back to a good kitchen, the chef finds out why it went wrong and changes the recipe or the station so it does not happen again. The next hundred plates are better because of the one that came back.
Factories built from agents tend to do the opposite. A reviewer catches a mistake and the agent fixes that one instance, and the same mistake shows up in the next pull request because nothing about the line has changed. The usual response is to add a sentence to the rules file. A rules file is advice: nothing runs it, nothing reports when it is ignored, and it keeps growing until agents skim it.
The kitchen habit, applied to agents, is that every correction becomes a guard, and the guard is the strongest one that can catch the mistake. In Robson's account, Lauren Tan puts architecture first and human review last, with automated checks in between. Our approach follows the same order.
A guard only counts once it has been shown to work. Before a correction is recorded as learned, the original mistake is put back into the code and the new rule has to catch it, because a rule that never fails is checking nothing.
This habit is what lets a kitchen keep improving. Each evening's tasting turns into the next morning's preparation, and as poteto puts it, every weed you pull becomes a rule, so it cannot grow back. After a few weeks there is noticeably less to correct, and the chef's tasting starts finding new kinds of problems. A factory's quality stays where it started or slowly declines, while a kitchen that turns its corrections into guards gets better at the same volume.
Pods and forward deployed engineers are kitchens
Two of the most interesting ways teams are organizing around agents right now are small kitchens in everything but name.
The first is the forward deployed engineer, a role that started at Palantir in the early 2010s under the name "Delta". A Delta is an engineer embedded with one customer who writes code against that customer's real data and problems. Palantir summed up the difference as "one customer, many capabilities", compared with a product engineer's "one capability, many customers", and until around 2016 it reportedly employed more Deltas than regular software engineers (The Pragmatic Engineer). What they learned in the field became the Foundry platform.
The role is now spreading through AI companies. OpenAI started an FDE team in 2025 whose engineers write code directly on customer infrastructure, and Ramp organizes its FDEs in pods. Andreessen Horowitz called it the hottest job in startups, arguing that agents behave more like coworkers than tools and need onboarding and active management to reach the standard of a dedicated employee.
The second is the AI pod, a very small team that owns an outcome while agents do most of the building. Netguru, for example, describes pods of two or three people: someone who defines the product and its quality bar, a tech lead who designs how the agents work, and a builder who checks what the agents produce. People set direction during the day, and agents execute at night.
Both make immediate sense as kitchens. A pod is a brigade: a few people at clear stations who put their name on one outcome. The forward deployed engineer is a chef who cooks in the customer's own kitchen and tastes with the guest, which is where the context that agents lack actually lives. A pod without preparation works like a food truck without recipes: fast and friendly, and different every day.
Each pod cooks for one customer, close to that customer's data and people. What it learns goes back into the shared book as a guard, so each new pod starts better prepared than the last one.
What this implies, and where it goes
If the kitchen is the right model, four things follow. I think they will shape how software is built over the next few years.
First, the scarce skill moves from typing to taste. When agents do the cooking, the valuable person knows what the dish should be and can tell when it is wrong. Hiring forward deployed engineers and pod leads really means hiring chefs, people who combine product judgment with enough system design and domain knowledge to set the standard.
Second, the unit of delivery becomes a small crew that owns an outcome. Netguru frames its pods around committing to an outcome and a quality standard instead of a staffing plan. Restaurants are judged the same way: by the plate, never by how many cooks were on shift.
Third, the preparation itself becomes the asset. A pod that brings a good recipe book is productive at a new customer from the first day. The book holds a map of how the systems fit, along with the guards the agents run into. Every correction made in one deployment becomes a guard that every other pod inherits, which is how a restaurant group keeps one standard across many kitchens.
Fourth, services turn into product faster than before. The a16z argument is that hands-on work trades margin for a competitive moat. Palantir needed years to turn its Deltas' field work into a platform. With agents, the same field work can become skills and guards much faster. Margins recover sooner, and the recipe book itself becomes the moat.
I expect the word "factory" to survive in pitch decks while the work underneath looks more and more like kitchens. One experienced person will run several small crews of agents close to the people who use the software, with a shared recipe book that improves every night and checks strong enough that the chef does not need to stand at every stove.
Volume with a standard
The factory and the kitchen agree that agents make volume cheap. They disagree about what that volume rests on. A factory rests on the line, so when quality slips its only lever is more inspection at the end. A kitchen rests on prepared stations and a chef whose name is on every plate, so when quality slips it changes the station and the next plate improves.
That is also what makes a kitchen trustworthy at scale. Robson's write-up says that trust is what makes the extra volume safe, and that this trust comes from evidence and your own tools instead of hoping the agents behave. A head chef cannot stand at every stove and does not need to, because the kitchen is arranged so the right thing is the easy thing and every plate passes the same counter.
So when someone presents a software factory, ask the kitchen's questions. Where is the mise en place? Does the pass confirm quality or catch problems? And when a plate comes back, what changes so the next one is right?
TL;DR
- Hitachi and SDC tried the software factory from the late 1960s, and Goldman's "hundreds of Devins" and today's agent factories are the latest attempt.
- Software was never manufacturing, because the source code is the design and building it is free, so every change is a judgment call.
- Agent factories disappoint for structural reasons: they count throughput, lose context at every handoff, leave shared pieces without an owner and push judgment into a review queue.
- A professional kitchen is a better model, with stations that each own one thing, preparation done before service and a chef who sets the standard.
- The map is the mise en place: components with one entry point, plus a brief ready before any agent starts.
- Quality cannot be inspected in at the end, so adversarial review should give way to structure and verification that run on every push.
- Every correction becomes the strongest guard that can catch it, so the kitchen gets better at the same volume.
- Pods and forward deployed engineers already work as kitchens, small crews that own an outcome close to the customer, and their real asset is the shared recipe book.
Sources
- Barnaby Robson, On pstack: the skills behind 2,500 PRs a month, on Lauren Tan's kitchen, trust and corrections
- Lauren Tan, post on adversarial reviews and verification, X, November 3, 2026
- Lauren Tan, post on moving prose into enforceable structure, X
- CNBC via NBC Chicago, Goldman Sachs is piloting its first autonomous coder, July 2025
- ZenML LLMOps database, Building autonomous software factories with AI agents, on Factory's framing
- Michael A. Cusumano, working paper on SDC's software factory, MIT
- Air & Space Forces Magazine, Kessel Run Q&A; FedTech, Software factories at military scale; GovCIO, Kessel Run and Pivotal Labs
- Gergely Orosz, What are Forward Deployed Engineers?, The Pragmatic Engineer, August 2025
- Joe Schmidt, Trading margin for moat, Andreessen Horowitz, June 2025
- Netguru, From 10-person Scrum teams to 3-person AI pods
- Jack W. Reeves, What Is Software Design?, C++ Journal, 1992
- The W. Edwards Deming Institute, Deming's 14 Points
- Wikipedia, Brigade de cuisine