Crema spec Get the free skill

What Is a Software Factory? Why AI Coding Pipelines Run on Specs

By Viberr ·
An assembly line of small engraved machines passing sheets of paper marked with a single approval stamp, with a person at the first station holding the master document.

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?

Definition

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.

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.

  1. Intake: Issues, chat requests, and schedules become tasks an agent can pick up.
  2. Specification: The team agrees on what to build and why. This is the first human gate.
  3. Build: Agents write changes in parallel, in isolated environments.
  4. Verification: Tests, scenario checks, and automated review run against the change.
  5. Shipping: A person decides what reaches production. This is the second human gate.
Diagram of five pipeline stages, intake, specification, build, verification, and shipping, with two gold gates marking the human decision points.

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.

Figure 1
Reported productivity gain by operating model
Multiple of baseline output. Copilot-style assistants vs. agentic software factories.
Copilot-style AI assistant
up to 1.3x
Agentic software factory
3x to 5x
Source: BCG Platinion, The Agentic Software Factory (March 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.

Figure 2
Who reviews agent-authored pull requests?
Share of agent-authored PRs in repositories with both human and agent contributors.
No recorded review, or agent-only review
69.9%
Some recorded human review
30.1%
Source: Duma et al., EASE 2026 (arXiv:2605.02273)

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

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?

Definition

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.

RequirementWhy it matters in a factory
One source of truth in GitCopies in docs and chat drift, and agents build from whichever copy they find.
Small review unitsHuman attention holds for minutes, not hours, so reviews must fit that window.
A recorded reason for each changeAgents and auditors can trace why the spec says what it says.
Visible dependenciesA change in one section can quietly break another without a visible chain.
Revocable agent permissionsYou need to remove an agent's write access with one change, not an investigation.
Append-only audit trailRegulated 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.

A single bound master document on a desk, connected by fine gold threads to many small machines working in the background.

How to start building a software factory

  1. Pick one workflow. Start with a contained job such as test migration or dependency upgrades.
  2. Write the spec first. Define the outcome, the audience, and the reason before any agent runs.
  3. Set two gates. Approve the plan before build, and approve the change before ship.
  4. Size reviews for people. Keep each review unit small enough to finish in one focused session.
  5. Record every decision. Keep who proposed, who decided, and why, in version control.
  6. 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.

Keep reading

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

  1. BCG Platinion (2026). The Agentic Software Factory
  2. Simon Willison (2026). How StrongDM's AI team build serious software without even looking at the code
  3. Stanford CodeX (2026). Built by Agents, Tested by Agents, Trusted by Whom?
  4. The Pragmatic Engineer (2026). The state of the tech industry in 2026
  5. Microsoft for Developers (2025). Diving Into Spec-Driven Development With GitHub Spec Kit
  6. Duma et al., EASE 2026 (2026). How humans review AI-generated pull requests
  7. Kemerer and Paulk, IEEE TSE (2009). The impact of design and code reviews on software quality
  8. Pattyn et al., Physiology and Behavior (2008). Psychophysiological investigation of vigilance decrement
  9. Zhang, Das, and Zhang (2024). Verbosity does not equal veracity
  10. NATO Science Committee (1968). Software Engineering Conference Report (Garmisch)
  11. Crema (2026). Research and bibliography