A software factory is a way of producing software in which the same process repeats from one project to the next, the parts are interchangeable, and quality is checked downstream instead of trusted upstream. The word describes the process, not the volume of code produced: faster output alone does not make a factory. Three properties define it. The process is written down and repeats from request to release. The parts, meaning tasks, contracts and interfaces, are interchangeable, so any engineer or any AI agent can take one over without the previous author. And verification is run by the pipeline, outside whoever produced the work, with the result recorded. A team that has a fast agent but none of these three has a productive team, which is fine, and not a factory. With AI agents the definition does not change; the three properties just become more important.
The query "software factory" is used by people who have heard the phrase attached to everything from a consultancy's delivery model to a pile of coding agents. The results today are mostly forum threads, a Wikipedia entry and a few engineering newsletters. Few of them say what has to be true for the word to be earned.
Where does the term come from, and what did it promise?
The idea is older than most of today's tooling. In the late 1960s and 1970s, Japanese companies such as Hitachi organized software work in plants with standard procedures, reusable components and measured quality. Michael Cusumano documented them in Japan's Software Factories (Oxford University Press, 1991). In 2004, Jack Greenfield and Keith Short revived the term in Software Factories (Wiley), pitching models, patterns and tooling as a way to assemble applications instead of hand-crafting each one.
The promise was always the same: stop treating every project as a one-off. What made it a factory was the repetition and the controls, never the speed of any single step.
What is a software factory made of: repeatable process, interchangeable parts, checks downstream?
Three properties separate a factory from a busy team. They hold whether a human or an agent does the work.
| Property | What it means in software | What it is not |
|---|---|---|
| Repeatable process | The same steps, written down, from request to release | A good habit of one senior person |
| Interchangeable parts | Contracts and interfaces that let any engineer, or any agent, take over a task | Context that lives in one chat or one head |
| Checks downstream | Verification run by the pipeline, outside the producer, with a recorded result | The producer saying the work is done |
The third row is the one most often missing. A step that certifies itself is not a control. It is a claim.
What does an AI software factory add?
Searches for "ai software factory" are small but real. Adding AI changes the producer, not the definition. An agent can do each step faster and in parallel, which makes the three properties more important, not optional: more output per day means more output nobody has read line by line.
In an agentic setup the factory properties translate into concrete things. The request becomes a contract that states what may be touched and what may not. The agent works in a fresh session with that contract as its only context, so another agent or a person can pick up where it stopped. The verification command is run by the pipeline, not by the model, and its result is stored. Before anything is released, a person signs. The Stack Overflow Developer Survey 2025 found that 46% of developers do not trust the accuracy of AI tool output, against 33% who do. That distrust is a reasonable design input: a factory is how you build with it.
For the loop itself, see what agentic coding actually means, and for what the loop should leave behind, what AI coding agents leave out once the session ends.
Which three things look like a software factory and are not?
- A fast agent. It speeds up one step. Nothing says the next project will run the same way, or that anyone can check the result.
- A shared prompt library. Reusable text is a start on repeatability, but without enforced scope and independent verification it is a convention, not a process.
- A dashboard of activity. Commits, tokens and sessions count effort. They do not show that a change matched what was asked and passed a check someone else ran.
The same logic applies to SDK-based setups: the Claude Agent SDK gives you the building blocks of an agent, and the factory is what you put around it.
How do you tell whether you are running a software factory?
Five questions, answered from files and logs, not from memory:
- Can a new engineer, or a different agent, take a task from yesterday and continue it without asking the previous author?
- Does every task state what it may and may not touch, and is that checked on the diff?
- Is the verification run by the pipeline, with the result stored next to the change?
- Is there a named person's signature before release, and can you show it months later?
- Does a second project follow the same steps without being rebuilt?
If the answer to most of these is no, you have a team that uses AI, which is fine, and not a factory. The distinction matters when a client, an auditor or a regulator asks how a change reached production.
This is the category Detent (detent-ai.com), the end-to-end delivery line from request to production, is built around, and the criteria above are what Detent Bench measures agents against. Note that "DoD software factory" is a separate, US defense usage of the term and is not what this article covers.
