
AgenticCoding · 16 min read
Factory or Kitchen? Pick the Metaphor by What It Makes You Optimise
On this page
Since June I’ve handed more than 500 groomed tasks to background agents, many of them running on a remote cloud desktop while I’m doing something else. My own part of the work has changed shape. I run harvest and seeding sessions, where my decisions go in and finished work comes out. Every post I draft passes an independent critic gate, a reviewer that didn’t write it. And a retro loop turns the corrections I keep repeating into rules in the agents’ skills. It’s one person’s setup. I use it below to test the two words against, and I don’t count it as evidence for either.
Lauren Tan has a name for this stage. In her model of engineering with agents as a professional kitchen, it’s the head chef, who stops cooking every dish and spends the day on ingredients, stations and the standard [1]. Other people call the same kind of setup a software factory. I don’t think the choice of word is cosmetic. Pick the metaphor by what it makes you optimise. The two words can describe similar agent loops, but in my reading the kitchen puts more weight on someone’s name being on the plate.
Where the two words come from
“Software factory” is older than most of the people now using it. Addy Osmani traces it to Bob Bemer’s 1968 paper “The economics of program production”, and notes that the dream of software as a repeatable, instrumented production process mostly fell flat for half a century [2].
In 2026 the word came back. Dan Shapiro’s five levels of AI-assisted programming end at the dark software factory, which he describes as “a black box that turns specs into software” [3]. StrongDM’s three-person AI team calls its system a Software Factory and states two rules: “Code must not be written by humans” and “Code must not be reviewed by humans” [4]. That’s how they describe their own process. They check the software against scenarios stored outside the codebase, like a holdout set in model training, and measure what fraction of runs through those scenarios would likely satisfy the user [4]. Factory.ai built its company around the word [5]. Warp’s CEO Zach Lloyd titled a piece “We are now factory engineers, not product engineers”. BCG Platinion describes an Agentic Software Factory in which “autonomous AI agents build, test, and ship software solutions around the clock, while humans define business intent and review outcomes” [6].
The kitchen comes from Lauren Tan, known as @poteto, the engineering lead for Grok Bot at SpaceXAI [8]. In a September 2026 talk she said she had merged about 2,000 pull requests into production the month before [7]. She doesn’t like “software factory”. In an interview with Peter Yang she said the term suggests mass-manufactured slop to her, and that she prefers a Michelin kitchen [8]. Her kitchen has four stages, each built on the one before [1]:
- As a home cook, you run one agent and check every line it writes.
- With the family in the kitchen, several agents work without shared tools or rules. They collide, repeat work and each invent their own method.
- As head chef, you stop cooking every dish and organise the ingredients, the storage and the standard.
- A restaurant group runs parallel projects, each with a coordinator agent. You move between them and sample what they produce.
Both write-ups of her talk say the metaphor exists to keep a person responsible for what goes out to the table [1] [7].
Much the same machinery underneath
Osmani breaks a software factory into three layers. A loop is one agent doing one job on repeat. A harness is the walls around that loop: the sandbox, the tools, the memory and the gates that decide what “done” means. A factory is “many harnessed loops running at once, fed by a queue of work and drained through a review gate into production, with humans owning the whole thing from above” [2]. In his diagram, generation, tests and scanning all run at scale for very little cost. The review gate is the box that resists scaling [2].
I can lay Tan’s kitchen onto Osmani’s boxes at a high level. Her model supplies the roles [1]. You are the chef. The cooks are sub-agents. The knives are skills, small CLIs and verification tools. The kitchen layout is the codebase with its types and lint rules. Orders from the floor are bug reports. Tasting is sampling merged work. The work queue, the deploy step and the closed loop come from Osmani’s diagram, and pairing them with kitchen terms is my own mapping.
Osmani’s factory loop with Tan’s kitchen terms under each box. The boxes are Osmani’s, and the kitchen labels are my mapping of Tan’s model. The two words differ most in what they call the human in the middle.
The usual objection to the kitchen is that a Michelin kitchen runs on hard systems: mise en place, a brigade, fixed stations. Fair enough, and it’s already in Tan’s model, where the layout, the prep and the knives are the system. The work of running agents doesn’t disappear under either word. It moves into the setup, which is Tesler’s law about conserved complexity applied to a kitchen [9]. It’s also why code quality still matters once you’ve moved from working in the loop to working on it [10]. The codebase is the layout every cook works in.
Where the two words part ways is what the human is accountable for, and which management habits each word invites.
What each word makes you optimise
Rob West spells out those habits. If leaders believe they have a factory, he writes, certain moves become natural: “optimise utilisation, standardise the inputs, count the outputs, increase throughput, eliminate variability” [6]. Each of them makes sense in manufacturing. In design and discovery, several of them do harm [6]. He quotes the metric Warp proposes, where success is measured “by the percentage of all changes that are shipped automatically, and at what cost”. West’s point is that this measures how automated the line is. That’s how a factory defines success, and a customer would define it differently [6].
Tan’s kitchen points elsewhere. In her talk, throughput comes from trust. Agents first have to turn in acceptable work while nobody watches, and only then does it make sense to open more of them. Without that trust, a hundred cloud agents produce a pile of bad pull requests, regressions and bugs [7].
| Software factory | Michelin kitchen | |
|---|---|---|
| Unit of value | throughput of interchangeable changes | each plate meets a named person’s standard |
| Quality signal it foregrounds | process capability and defect rate | stewardship of a named standard, built into the stations and checked by sampling |
| Human role it foregrounds | operator or process owner | the accountable author, whose name is on the plate |
| Behaviour it invites | maximise output, minimise variance | invest in prep and tools, then raise volume as trust grows |
My reading of the two words. The behaviour row draws on Rob West [6] and on Tan’s talk [7].
Each column shows where the word nudges you on a day when you aren’t thinking about it. What a particular team actually does can look quite different. West makes that case from how managers tend to act on the word, and I’m making the same kind of argument here. Neither of us has measured it.
How the chef samples and changes the kitchen
The popular retelling has the chef inspecting every plate before it leaves. That’s the home-cook stage, and Tan’s model moves past it, since a chef with several restaurants can’t taste every dish [1]. Robson describes her routine, which is a loop of its own [1]:
- An agent scans the code all the time for banned patterns.
- It appends each finding to a queue and fixes nothing yet.
- Every few days she reads the queue and looks for entries that share a cause.
- Each day she reads a sample of merged pull requests closely.
- When several agents take the same shortcut, she changes the skills, constraints, lint rules or types. An isolated, low-risk mistake gets fixed but doesn’t earn a new rule for the whole kitchen.
In August she ranked where a correction should live [1]. First, remove the problem in the architecture or the data structures. If that isn’t possible, turn it into a lint rule or a test so that CI catches it. If that isn’t possible either, write it into a skill or a rule. A human reading the diff to catch it comes last. In the talk she ranks the top layers the same way, because the higher a fix sits, the less it depends on an agent or a person remembering to read some piece of text [7]. Robson, applying the order to his own agents, puts a script between CI and skill text [1].
The correction ladder, after Tan’s order as Robson summarises it. Bar length only shows rank. Nothing was measured.
The ladder is uncomfortable for me. My retro loop does change the kitchen when a fault repeats, which is the right reflex. But it turns those corrections into skill rules, and on this ladder skill text sits one rung above a human reading the diff. A rule in a skill works when the agent reads it. A lint rule works whether anyone reads anything or not. So the question for my own setup is how many of those skill rules could move up a rung. Some can’t. A judgement about tone has no lint rule. A rule about a file format, a path or a forbidden call usually can become a script or a check.
Sampling is more likely to expose frequent patterns than rare ones, and it can miss either. A rare fault that only has to happen once, such as a leaked secret or a destructive migration, can slip past any sample. Those faults belong on the top rungs from the start, where the build fails without anyone reading anything.
Sampling also needs the chain of checks to end at someone who answers for the result. I made the same point about nested humans in “The Matryoshka of Humans in the Loop”, where the nesting has to stop at whoever holds authority [11]. In the kitchen, that person is the chef whose name is on the plate.
Reeves: the source code is the design
The sharpest critique is older than both words. In 1992 Jack Reeves argued that we had picked the wrong part of software to call manufacturing. Source code is the design, and in his words, “If source code is a software design, then actually building software is done by compilers and linkers” (quoted by Rob West [6]).
By that reading we already have a software factory. It runs from source code to compiler, package and deployment, and West argues that two decades of build systems, CI and infrastructure as code have made it, “in a well-run organisation”, as boring and repeatable as a factory should be [6]. Agents work on the other side of that line. They produce and revise the source, so they produce and revise the design. West concludes that agents make software engineering more of a design discipline, and that we should build factories for the parts that really are production: builds, test runs, dependency upgrades and routine migrations [6].
Noah Brier gets to a similar place by another route. If you want a factory, he writes, software looks more like Andy Warhol’s than Henry Ford’s. Both care about throughput, but Ford’s assembly line removes variance, and Warhol made sure all the work followed a single creative vision [5]. In his words: “It’s a software company, not a software factory.” [5] His tooling follows Stewart Brand’s pace layers, with standards at the slow bottom, then architecture, specs and plans, and code at the fast top, because “code is fashion now” [5].
The kitchen is still a picture of production, so the critique hits it too. It does add the name on the plate and a chef who spends the day on the layout while the cooks work the stoves, which comes close to the design work West and Brier describe.
The kitchen at factory volume
The kitchen word flatters, too. The kitchen image is artisanal: a small brigade, high cost per plate, every dish finished by hand. About 2,000 pull requests a month strains that image, even though pull requests and restaurant covers aren’t comparable units. Tan says as much herself. In her account, volume started to matter once agents could hold the quality, and the job became building the machine that writes the software. She still calls that machine a Michelin kitchen [1].
The word sells status. A three-star chef sounds better than a shift supervisor, and the image can hide where the hard part sits, which is verification at industrial scale. At that volume the name on the plate means something different. One person is unlikely to inspect 2,000 pull requests a month deeply, so accountability at that scale has to work through standards, controls and sampling rather than line-by-line review. The name stands for the standard, the stations and the sampling. It’s only worth something if that person can stop service when a sample goes wrong.
Her own example for the slow step comes from a factory. A June post of hers opens on Andy Grove’s breakfast factory, where the plate waits on the three-minute egg and faster toast doesn’t get breakfast out sooner [1]. Generation had sped up, and verification was still the bottleneck. Osmani makes the same point about factories: “Verification, not generation, is the real constraint on a factory.” [2] So both camps agree on the slow step. Whether security software, which is what StrongDM builds, should ship code no human has read is a separate argument [4].
Three questions for your own setup
Since both words can describe much the same machinery, pick the one that pushes you towards the behaviour you want. The answer can differ by part of the system. West’s list of builds, test runs, dependency upgrades and routine migrations is production work, and a factory word fits it [6]. Before choosing, it’s worth checking what your setup already rewards.
- What does your setup count? Merged pull requests and the share of changes shipped automatically are factory numbers. Faults that stopped coming back after you changed the kitchen are kitchen numbers. The figure I opened with, more than 500 tasks, is a factory number.
- Whose name is on the plate? If nobody answers for a merged change, sampling has nobody to report to.
- When a fault repeats, do you review harder or change the kitchen? And if you change it, on which rung of the ladder does the fix land?
Mine counts tasks. What does yours count?
If you’re running this on AWS
AWS’s AI-Driven Development Life Cycle (AI-DLC) builds the kitchen’s habits into the method. AI creates a plan, asks clarifying questions, and implements only after a human has validated the plan, and that pattern repeats for every activity in the life cycle [12]. In the Inception phase, the whole team validates the AI’s questions and proposals together, which AWS calls Mob Elaboration. In the Construction phase, Mob Construction does the same for the proposed architecture, domain models, code and tests [12]. Bolts, work cycles measured in hours or days, replace sprints [12]. Plans, requirements and design artifacts live in the project repository so that context carries across sessions, much like Tan’s kitchen layout [12].
The post that open-sourced the AI-DLC workflows names a related risk of automation. AWS calls it “process atrophy”, where developers excited by automation drift into passive execution and let AI “decide everything” [13]. AWS doesn’t tie this to the factory word. I see it as the same pull I worry the word creates. AWS’s answer is “a collaborative human-in-the-loop cycle at every stage of the workflow”, and it states that the workflow “records every human action and approval”, so that “humans remain the compass” [13]. The post also asks tools to notice when automation races ahead of human validation and slow down at the critical checkpoints [13], which reads to me like Grove’s egg written down as a design rule.
The workflows are on GitHub as steering rules that run in Kiro and several other coding-agent harnesses, and they stop at approval gates before moving on [14]. If you want to try them, start small with one project and one bolt. Then compare where the approval gates fell with where your current setup lets work straight through.
Sources
- [1] Barnaby Robson, “On pstack: the skills behind 2,500 PRs a month, and the mental models behind the skills,” October 2026. https://barnabyrobson.org/on-pstack/ · Tan’s kitchen stages and mapping, sampling and the gardener loop, the correction order, Grove’s breakfast factory, volume and the machine that writes the software, and Robson’s own version of the ladder.
- [2] Addy Osmani, “Software Factories, Light and Dark.” https://addyo.substack.com/p/software-factories-light-and-dark · Bemer 1968, loop, harness and factory, the review gate, verification as the constraint.
- [3] Simon Willison, “The Five Levels: from Spicy Autocomplete to the Dark Factory,” 28 January 2026. https://simonwillison.net/2026/Jan/28/the-five-levels/ · Dan Shapiro’s levels and the dark software factory.
- [4] Simon Willison, “How StrongDM’s AI team build serious software without even looking at the code,” 7 February 2026. https://simonwillison.net/2026/Feb/7/software-factory/ · StrongDM’s rules, scenarios as holdout sets, satisfaction.
- [5] Noah Brier, “The Culture of AI Engineering,” Every, 8 May 2026. https://every.to/thesis/the-culture-of-ai-engineering · Factory.ai, Warhol’s factory and Ford’s, “a software company, not a software factory,” pace layers.
- [6] Rob West, “The Agentic Software Factory is the Wrong Metaphor,” 19 September 2026. https://robwest.info/articles/the-agentic-software-factory-is-the-wrong-metaphor/ · Warp and BCG Platinion quotes, the management moves a factory invites, Reeves 1992.
- [7] redreamality, “Trust First, Then Parallel: What Lauren Tan’s Talk Actually Argues.” https://redreamality.com/blog/lauren-tan-poteto-trust-before-parallel/ · about 2,000 pull requests in the talk versus 2,500 in the post title, trust before parallelism, the layers for a correction.
- [8] daily.dev, “Grok Bot’s engineering and design leads share the 14 bots they use for work and life,” September 2026. https://daily.dev/posts/grok-bot-s-engineering-and-design-leads-share-the-14-bots-they-use-for-work-and-life-idmz0tomf · Tan’s role as engineering lead for Grok Bot, and her preference for “Michelin kitchen” over “software factory,” from Peter Yang’s interview.
- [9] Stefan Christoph, “Laws & Disorder #3 — Tesler’s Law: You Can’t Delete Complexity, Only Choose Who Owns It,” July 2026. https://schristoph.online/blog/teslers-law-conservation-of-complexity/
- [10] Stefan Christoph, “On the Loop, Not In It — But Code Quality Still Matters,” March 2026. https://schristoph.online/blog/on-the-loop-code-quality/
- [11] Stefan Christoph, “The Matryoshka of Humans in the Loop,” October 2026. https://schristoph.online/blog/matryoshka-humans-in-the-loop/
- [12] “AI-Driven Development Life Cycle: Reimagining Software Engineering,” AWS DevOps & Developer Productivity Blog. https://aws.amazon.com/blogs/devops/ai-driven-development-life-cycle/ · plan, clarify, validate; Mob Elaboration and Mob Construction; bolts; context stored in the repository.
- [13] “Open-Sourcing Adaptive Workflows for AI-Driven Development Life Cycle (AI-DLC),” AWS DevOps & Developer Productivity Blog. https://aws.amazon.com/blogs/devops/open-sourcing-adaptive-workflows-for-ai-driven-development-life-cycle-ai-dlc/ · process atrophy, human approvals recorded, flow awareness.
- [14] awslabs/aidlc-workflows on GitHub. https://github.com/awslabs/aidlc-workflows · AI-DLC adaptive workflow steering rules for Kiro and other coding-agent harnesses.
🎬 Also available as a blog walkthrough video on YouTube
❤ Created with the support of AI (Kiro)