What is a software factory? Specs in, reviewed code out.
In 2026 "software factory" stopped being a metaphor. Teams now run systems where AI coding agents take written specs and produce tested, merged code. This guide explains what the term means, the levels that lead up to the "dark factory", the parts every factory needs, and what the people building them are saying.
- A software factory is a process: specs, tickets, isolated agents, automated validation and a merge gate. It is more than a coding assistant.
- The term is decades old. What changed is that AI agents can now do the implementation step unattended.
- A dark factory is the extreme case: no human writes or reviews code. A few teams report doing it. Most practitioners say it is unproven.
- The scarce resource in every factory is the same: human attention at the review gate.
A software factory is a repeatable system that turns written intent (specs, tickets and acceptance criteria) into tested, merged code, with AI coding agents doing the implementation and people designing, feeding and supervising the system.
An old idea that finally has workers
The phrase goes back to the late 1960s, when engineers first talked about building software with the discipline of a production line, and Japanese firms such as Hitachi organised whole facilities around the idea. Microsoft revived the name in the 2000s for model-driven tooling. Each wave produced better process and tooling, and each ran into the same wall: the implementation step still needed a person typing.
That wall moved in 2025. Geoffrey Huntley's "Ralph" technique (July 2025) showed that a coding agent run in a plain loop against a spec could keep making progress on its own. He was honest about the trade: the technique is "deterministically bad in an undeterministic world", and "engineers are still needed". Still, the loop worked well enough that people started building systems around it.
Two posts in early 2026 gave the movement its vocabulary:
- January 2026. Dan Shapiro published "The Five Levels: from Spicy Autocomplete to the Dark Factory", a scale modelled on self-driving cars.
- February 2026. StrongDM's AI team published "Software Factories and the Agentic Moment", describing "non-interactive development where specs + scenarios drive agents that write code". Simon Willison's write-up called the question it raises "the most consequential question in software development right now".
The five levels, from autocomplete to dark factory
Shapiro's scale borrows the car-automation levels. He describes them by analogy, so the right-hand column below is our plain-language reading of each level.
| LEVEL | SHAPIRO'S ANALOGY | WHAT IT MEANS FOR A TEAM |
|---|---|---|
| 0 | "Your parents' Volvo" | You write the code. AI suggests the next few tokens. |
| 1 | Lane-keeping and cruise control | You hand off small, well-bounded tasks and check each one. |
| 2 | Autopilot on the highway | You pair with an agent on larger changes, hands near the wheel. |
| 3 | "A Waymo with a safety driver" | The agent writes most of the code. Your job is reading diffs. |
| 4 | A robotaxi | You write specs and judge outcomes. You rarely read code line by line. |
| 5 | The dark factory | Specs in, software out. No human writes or reviews code. |
Shapiro's observation about level 3 is the one most teams recognise: "almost everyone tops out here." You have swapped writing code for reviewing it, and reviewing is slower than generating. A software factory is what you build to get past that point without giving up control.
The parts every software factory needs
Strip away the branding and every serious factory, dark or not, has the same six stations.
- A written source of intent. A product requirements document and an architecture description that agents can read. Without this, every agent run starts from a guess.
- Decomposition into tickets. Epics and tickets small enough for one agent session, ordered by dependency so work can run in parallel without collisions.
- Isolated execution. Each agent works in its own sandbox. Git worktrees are the common choice: one branch and one working directory per ticket.
- Automated validation. Tests, builds and an evaluation step that checks the result against the ticket's acceptance criteria. StrongDM goes further with hidden "holdout" scenarios, because, in their words, "tests can be reward hacked".
- A merge gate. A defined point where work is accepted or sent back. In a dark factory the gate is automated. Everywhere else, a person owns it.
- Traceability. A line from requirement to ticket to commit, so you can answer "why does this code exist?" a year later.

The dark factory: what StrongDM actually claimed
StrongDM's post is worth reading in the original because it is so direct. Its rules include "Code must not be written by humans" and "Code must not be reviewed by humans". Its practical test is a budget: "If you haven't spent at least $1,000 on tokens today per human engineer, your software factory has room for improvement."
To make that safe they built what they call a Digital Twin Universe, "behavioral clones of the third-party services our software depends on", and they measure "satisfaction" against scenarios the agents never see. The loop runs "until the holdout scenarios pass (and stay passing)".
The cost drew as much attention as the technique. Willison wrote that if the patterns "really do add $20,000/month per engineer to your budget they're far less interesting to me."
What practitioners are saying
The Hacker News thread on the StrongDM post ran to more than 450 comments. The spread of opinion there is a fair sample of the industry.
"Yeah, the 'dark factory' thing is basically unproven right now."
"I see no fundamental, long term reason why AI generated code can't be refactored, maintained and tested by AI"
"I do not think they've succeeded in getting the 'dark factory' concept to work"
"they're a slight net positive and it converges on quality."
The StrongDM team has stayed in the conversation. Team member Jay Taylor conceded that "human expertise can currently beat the models in general", and months later said "overall our outlook continues to be bullish."
By late 2026 the centre of gravity had shifted from "can agents write the code?" to "what do the humans do?". Steve Yegge's talk "Software Factories: Escape from Trash Mountain" at AI Engineer CODE in November included the line "The more agents I deploy, the more humans I need" (as reported by Sulat, which also checks a summary of the talk posted on X). The team behind Kiro put it this way in their factory write-up: "The limit on how much we can hand to agents is human attention."
Which kind of factory should you build?
For most teams the honest answer is a lights-on factory: automate planning support, implementation, testing and evaluation, and keep a person at the gate to the main branch. You get most of the throughput, and you keep someone who understands what shipped.
Three questions settle it:
- Can you validate behaviour without reading code? If you cannot build something like holdout scenarios and service clones, you need human review.
- Who is accountable when it breaks? The Stanford CodeX analysis of the StrongDM model names the real risk: when something fails, "nobody will know how to fix it."
- What is your token budget? A dark factory at StrongDM's suggested spend costs more than many engineers. A lights-on factory runs on the agent subscriptions you already pay for.
We make the full argument in the companion piece, Dark factory or lights-on? Why software factories fail at the review gate.
A lights-on software factory you can run today.
Ombuto Code is an open-source desktop workbench that covers the six stations above. You build the PRD and architecture with AI, generate epics and dependency-ordered tickets, and let Claude, Codex or Kimi agents work each ticket in an isolated git worktree. Work passes through testing and evaluation, and nothing reaches your main branch without your approval. Apache 2.0, free.
Frequently asked questions
What is a software factory?
A software factory is a repeatable system that turns written intent (specs, tickets, acceptance criteria) into tested, merged code, with AI coding agents doing the implementation and people designing, feeding and supervising the system.
What is a dark factory in software?
A dark factory is a software factory where no human writes or reviews the code. Dan Shapiro used the term in January 2026 for the top level of his five-level scale of AI adoption. StrongDM's AI team described running one in February 2026.
Is a software factory the same as vibe coding?
No. Vibe coding is one person prompting an assistant and accepting what comes back. A software factory is a process: written specs, work broken into tickets, agents working in isolation, automated validation, and a defined gate before code reaches the main branch.
Do I need a large token budget to run a software factory?
No. StrongDM suggested spending at least $1,000 per engineer per day on tokens, but that figure describes a dark factory running at full scale. A human-in-the-loop factory can run on the coding agent subscriptions a team already has.
Sources and further reading
- Justin McCarthy, StrongDM, Software Factories and the Agentic Moment (6 Feb 2026) and its principles
- Simon Willison, How StrongDM's AI team build serious software without even looking at the code (7 Feb 2026)
- Dan Shapiro, The Five Levels: from Spicy Autocomplete to the Dark Factory (23 Jan 2026)
- Geoffrey Huntley, Ralph Wiggum as a "software engineer" (14 Jul 2025)
- Eran Kahana, Stanford CodeX, Built by Agents, Tested by Agents, Trusted by Whom? (8 Feb 2026)
- Kiro, Building a software factory around human attention (25 Nov 2026)
- Hacker News discussions: Software factories and the agentic moment and The Five Levels