Software factory (AI agents)
A pipeline where agents write and fix most of the code while people write specs, set guardrails, design the checks and decide what ships.
A software factory is a pipeline where AI agents write and fix most of the code while people write specs, set guardrails, design the checks and decide what ships. The term borrows from manufacturing: the value moves from the work on the line to the design of the line.
The idea takes spec-driven development and loops such as the Ralph loop and runs them as a process: specs go in, background agents implement, verifiers (tests, linters, audits) reject bad work, and a person reviews what passes. The bottleneck moves from typing code to writing good specs and checks. The coordination patterns come from multi-agent work: a dynamic workflow splits a goal into tasks, an agent team works on them in parallel, and an evaluator-optimizer loop sends rejected work back. The agent harness around each agent decides how reliable that is.
Without strong verifiers it becomes a fast way to produce technical debt. Start small: one repository, one kind of task, and a measured rate of work that passes review unchanged. Audit-driven development is a narrow, working example of the pattern.
Related terms
- Spec-driven development: Writing the specification and acceptance tests first, then letting agents implement against them.
- Ralph loop (Ralph Wiggum technique): Running the same prompt against a coding agent again and again, each time with a fresh context, while progress lives in files and tests decide when it is done.
- Background coding agent: A coding agent that runs in the cloud on its own, takes an issue or a task and comes back later with a pull request for review.
- Audit-driven development: A loop for code you maintain: an AI agent audits it against a checklist, the findings become small fixes, and it audits again until nothing is left.
- Self-driving product: A product whose usage data drives an agent loop: find what to fix, propose and ship a change, measure it, inside limits engineers set.
- Dynamic workflow: An orchestration script the agent writes at run time. A runtime executes it, starting many subagents in phases and combining their results in code.
- Agent team: A lead agent coordinating several long-running agent sessions that share a task list and message each other directly.
- Evaluator-optimizer (maker-checker): One model drafts, another checks the draft against stated criteria and returns feedback, in a loop until it passes or a round limit stops it.
- AI-native company (AI-first): A company whose processes are designed around AI agents from the start, with small teams that review and steer the work. Also a popular buzzword.
- Holdout scenarios: End-to-end user scenarios kept outside the codebase, so the coding agent never sees them and cannot write code that only passes the check.
- Digital twin (service virtualization): A behavioral copy of an external service, such as a payment or identity API, that agents and tests can call safely, repeatedly and at any volume.
- Blueprint (deterministic and agentic steps): A workflow defined in code that mixes fixed steps, such as lint, build and git, with steps where an agent decides what to do.
- First-pass success rate: The share of tasks a coding agent completes in one run that pass checks and review without a person rewriting them; the main health metric of agentic delivery.
