What Is a Software Factory? Why AI Coding Pipelines Run on Specs
A software factory is an automated pipeline where AI coding agents take work through structured steps: intake, spec, build, verify, and ship. Humans set intent and approve gates while agents do the typing. The spec decides what the factory builds.
Software factories are the jargon of 2026, and the numbers explain why: BCG Platinion reports 3x to 5x productivity gains for teams running them. But a factory only multiplies its input, so a vague spec becomes vague software, shipped faster and at scale. The teams pulling ahead treat the spec as the product and govern it exactly like source code.
What is a software factory?
A software factory is a delivery model in which AI agents write, test, and ship code inside a staged pipeline, while people define the intent, approve the plan, and decide what reaches production.
The idea is simple. Instead of one engineer prompting one assistant, a team builds a system where many agents pick up tasks, work in parallel, and hand results to automated checks. BCG Platinion calls this a shift in "the relocation of human effort," not its removal.
Indy Leonard of Viberr put it plainly: software factories are "automated pipelines for agents to work on coding projects in structured sequences." The structure is the point. Without it, you have a lot of agents and no factory.
Where the term "software factory" came from
The phrase is older than most of the people using it. It has carried a different meaning in each era, but the goal has stayed the same: repeatable, high-quality software at scale.
- 1968: M. D. McIlroy argued for mass-produced software components at the NATO Software Engineering Conference.
- 1969 to 1991: Hitachi and other Japanese firms built formal software factories, later documented by MIT's Michael Cusumano.
- 2010s to 2025: The U.S. Department of Defense used the term for teams, tools, and processes built for continuous delivery.
- 2025 to 2026: The agentic software factory appears, where agents automate the coding step itself.
How does a software factory work?
Most agentic factories follow five stages. The names vary by vendor, but two human gates show up in nearly every serious design: one before code is written and one before it ships.
- Intake: Issues, chat requests, and schedules become tasks an agent can pick up.
- Specification: The team agrees on what to build and why. This is the first human gate.
- Build: Agents write changes in parallel, in isolated environments.
- Verification: Tests, scenario checks, and automated review run against the change.
- Shipping: A person decides what reaches production. This is the second human gate.
GitHub's Spec Kit formalizes the front half of this flow as specify, plan, tasks, and implement. Amazon's Kiro, Cursor, and Claude Code support similar spec-first workflows. The pattern is converging fast.
What the numbers say about software factories
The headline gains are large, and they come from operating model changes, not from better autocomplete. BCG Platinion separates the two clearly.
- Spotify merges about 650 AI-generated pull requests per month, according to BCG Platinion.
- GitHub data showed agent-authored pull requests outnumbering human-authored ones in August 2026, per The Pragmatic Engineer.
- StrongDM runs a factory with two rules: no human writes code, and no human reviews it, as Simon Willison reports.
- 8090, the company behind a commercial "Software Factory," raised a $135M Series A in June 2026.
The bottleneck moved from code to intent
When agents write the code, the scarce resource is human judgment. BCG Platinion says governance shifts from reviewing code to verifying that what was built matches what was intended. That only works if the intent is written down, current, and reviewable.
The review gap is already measurable. A 2026 study of repositories with both human and agent contributors found that 69.9% of agent-authored pull requests had no recorded review or only agent review. More output with less oversight is how factories ship the wrong thing at speed.
Why long specs fail human review
- Review speed matters. Kemerer and Paulk found reviews at about 200 lines per hour or slower caught most design defects (IEEE TSE, 2009).
- Attention fades. Reaction times slowed after about 30 minutes on task in a vigilance study by Pattyn and colleagues (Physiology and Behavior, 2008).
- Models pad when unsure. Large language models add length when uncertain, and GPT-4 did so in 50.40% of tested cases (Zhang et al., 2024).
Put those together and the risk is clear. Agent-drafted specs get longest where they are least certain, and humans read them least carefully exactly there. A factory built on that spec inherits every gap.
What is a dark software factory?
A dark software factory is a fully autonomous pipeline that runs without humans writing or reviewing code, named after "lights-out" manufacturing plants that run in the dark.
StrongDM is the best-known example. Its team stores end-to-end scenarios outside the codebase, where coding agents cannot see them, and measures how often agent output satisfies those scenarios. That works because the scenarios act as a protected, human-owned statement of intent.
Stanford CodeX asked the obvious follow-up in its commentary, Built by Agents, Tested by Agents, Trusted by Whom? The answer is whoever owns the spec and the scenarios. Even a dark factory has a human-owned control point.
What a governed spec looks like
If the spec is the control point, it needs the same discipline engineers already apply to code. Here is the minimum standard we see working in AI-heavy teams.
| Requirement | Why it matters in a factory |
|---|---|
| One source of truth in Git | Copies in docs and chat drift, and agents build from whichever copy they find. |
| Small review units | Human attention holds for minutes, not hours, so reviews must fit that window. |
| A recorded reason for each change | Agents and auditors can trace why the spec says what it says. |
| Visible dependencies | A change in one section can quietly break another without a visible chain. |
| Revocable agent permissions | You need to remove an agent's write access with one change, not an investigation. |
| Append-only audit trail | Regulated teams must show who drafted, who decided, and when. |
This is the problem Crema was built to solve. Crema keeps the spec in one GitHub repository and breaks writing and review into decision cards sized for about 25 minutes of human judgment, each with a recorded reason. Agent proposals are capped at 2,000 words, permissions are set per proposer, and every decision lands in an append-only audit trail.
How to start building a software factory
- Pick one workflow. Start with a contained job such as test migration or dependency upgrades.
- Write the spec first. Define the outcome, the audience, and the reason before any agent runs.
- Set two gates. Approve the plan before build, and approve the change before ship.
- Size reviews for people. Keep each review unit small enough to finish in one focused session.
- Record every decision. Keep who proposed, who decided, and why, in version control.
- Measure satisfaction, not volume. Track whether output meets the spec, not how many pull requests merged.
Want a running start? Crema PRD is a free, MIT-licensed skill that structures spec writing for Claude Code, Cursor, Kiro, and Spec Kit. It is the fastest way to give your first factory a real spec.
Product Builder vs. Product Manager: The Role AI Is Rewriting
When 100% of the Company Codes: How AI-Native Companies Stay in Control
Frequently asked questions
What is a software factory in simple terms?
A software factory is an automated pipeline where AI agents write, test, and ship code in fixed stages. People set the goals, approve the plan, and decide what goes to production.
What is the difference between a software factory and spec-driven development?
Spec-driven development is a method where a written spec guides AI agents. A software factory is the full pipeline that runs on that method, from intake to shipping.
Do software factories replace engineers?
No. They move engineers from typing code to designing the pipeline, writing intent, and verifying results. BCG Platinion describes it as relocating human effort, not removing it.
What is a dark software factory?
A dark software factory runs without humans writing or reviewing code. It still depends on human-owned specs and test scenarios to define what correct output looks like.
How do you govern specs in a software factory?
Keep the spec in one Git repository, review it in small units, record a reason for every change, and keep an audit trail. Tools like Crema are built for this job.
Sources and further reading
- BCG Platinion (2026). The Agentic Software Factory
- Simon Willison (2026). How StrongDM's AI team build serious software without even looking at the code
- Stanford CodeX (2026). Built by Agents, Tested by Agents, Trusted by Whom?
- The Pragmatic Engineer (2026). The state of the tech industry in 2026
- Microsoft for Developers (2025). Diving Into Spec-Driven Development With GitHub Spec Kit
- Duma et al., EASE 2026 (2026). How humans review AI-generated pull requests
- Kemerer and Paulk, IEEE TSE (2009). The impact of design and code reviews on software quality
- Pattyn et al., Physiology and Behavior (2008). Psychophysiological investigation of vigilance decrement
- Zhang, Das, and Zhang (2024). Verbosity does not equal veracity
- NATO Science Committee (1968). Software Engineering Conference Report (Garmisch)
- Crema (2026). Research and bibliography