What Is a Software Factory? Code and Dark Factory
xSquad Team
Published
Short answer
A software factory is a production system for shipping software: repeatable steps, shared tools, and a definition of done, instead of each change as a one-off. A code factory is the same idea named from the code. A dark factory, borrowed from lights-out manufacturing, is the version where agents run the routine steps and a person is not at the keyboard for every one. It is not a synonym for agentic AI.
Last updated: September 22, 2026.
Key takeaways
| Question | Answer |
|---|---|
| What is a software factory? | A repeatable system for producing software, with shared tools and a definition of done. |
| What is a code factory? | The same production idea, named from the code rather than the whole delivery system. |
| What is a dark factory in software? | The lights-out version: agents do routine steps, and a person is not typing every change. |
| How is this different from agentic AI? | Agentic AI is a behavior. A factory is the production system that may use that behavior. |
| Does a dark factory mean no people? | No. Review, merges, and irreversible actions still need a person. |
What is a software factory?
Use this as the dictionary line: a software factory is an organized way to produce software, where the path from request to reviewed change is repeatable instead of reinvented for every ticket.
The older industrial sense of a software factory is a shop with standard methods, shared components, and a line that can take more than one change at a time. The current sense adds agents to that line. The agents do not replace the line. They are one station on it.
xSquad uses the factory framing for software delivery: agents do production steps, and a person reviews what ships. That offer is on xsquads.ai. How the agents are arranged is in how we run agent swarms.
How do software factory, code factory, and dark factory differ?
| Term | What people usually mean | What it is not |
|---|---|---|
| Software factory | The whole production system: intake, build, test, review, ship | A single coding assistant |
| Code factory | That system seen from the code: repeatable generation and change | A promise that headcount goes to zero |
| Dark factory (software) | Routine steps run without a person at the keyboard, borrowed from lights-out manufacturing) | A building with no review and no owner |
People search these three phrases for the same family of ideas. This page is the definition. The production-line angle is what a code factory is for delivery. The lights-out angle, and what must stay human, is dark factory software development.
How is a software factory different from agentic AI?
Agentic AI is a behavior: plan, use tools, check the result. The definition is in what is agentic AI. A software factory is a production system. It can use agentic AI, scripts, and people on the same line.
| Agentic AI | Software factory | |
|---|---|---|
| Unit | A goal and a loop | A stream of changes with a definition of done |
| Question it answers | Can the system act? | Can the team produce software the same way twice? |
| Typical pieces | Planner, tools, a check | Intake, build, test, review, ship |
| Failure you notice | A wrong action | A line that only works when one person is online |
A chatbot that writes a function is not a factory. An agent with no review step is not a factory either. The factory is the path the change takes, including the gate.
Where the agents run is a separate choice. Cloud agents are agents whose runtime is hosted, not on one laptop. A factory can use cloud agents. It does not have to.
What does the line actually contain?
| Station | What happens | What "done" looks like |
|---|---|---|
| Intake | A request becomes a bounded job | Someone can tell a pass from a fail |
| Build | Code or config changes | A diff exists |
| Check | Tests, lint, or a review agent | A result you can read |
| Human gate | A person approves merge or release | The change does not ship on a guess |
| Ship | The approved change lands | There is a record of what moved |
Skip a station and you have a demo. Keep all of them and you have a factory, whether the build station is a person, an agent, or both.
How do you tell a factory from a craft shop?
Name the unit of work
A factory takes a kind of change you will see again, such as a bugfix, a small feature, or a test gap.
Check whether the path repeats
If every change invents its own tools and its own review, you still have a craft shop.
Find the definition of done
Write what must be true before merge. If nobody can say it, the line has no end.
See who reviews
Agents can draft and test. A person still owns merge and anything you cannot undo.
Separate the factory from the agent
The agent is a station. The factory is the path. If you only bought a model, you do not have the path yet.
Frequently asked questions
What is a software factory?
A software factory is a production system for shipping software with repeatable steps, shared tools, and a definition of done. Each change follows a path instead of starting from scratch.
What is a code factory?
A code factory is a software factory named from the code: the work of generating and changing software is organized as a line, not as isolated heroics. It is not a claim that hiring stops.
What is a dark factory in software?
A dark factory in software borrows the lights-out idea from manufacturing. Agents run routine production steps without a person typing each one. Review and ownership stay with people.
Is a dark factory the same as a software factory?
A dark factory is one way to run a software factory, with more of the routine work on agents. A software factory can also be staffed mostly by people. The shared idea is the repeatable line.
How is a software factory different from agentic AI?
Agentic AI is the ability to pursue a goal with tools and a check. A software factory is the production system around delivery. You can use agentic AI inside a factory. You can also have a factory with very little AI.
Do software factories replace engineers?
They change which steps an engineer has to do by hand. They do not remove the need for someone who sets the job, reviews the diff, and owns the outcome.
What is the difference between a software factory and a cloud agent?
A cloud agent is an agent that runs on hosted infrastructure. A software factory is the delivery system. Cloud agents can be a station in that system. They are not the system.
Is "dark factory" only a manufacturing term?
The phrase comes from lights-out manufacturing, where machines run without staff on the floor. In software it is a metaphor for unattended routine steps. It is not a claim that the company has no engineers.
When is a software factory the wrong idea?
When the work does not repeat, when you cannot define done, or when every change is irreversible. A script or a single reviewer is enough for a one-off.
Where do agent swarms fit?
An agent swarm is one way to staff the build and check stations: several agents with roles, and a person on the gate. That is a factory shape, not a chatbot with a new name.
Sources
- Lights-out manufacturing) for the industrial metaphor behind "dark factory."
- What is agentic AI? for the behavior this page does not redefine.
- xsquads.ai and how we run agent swarms for the software-factory offer.
This page does not report a benchmark, a customer count, or a savings figure.
If you want the operated line rather than the definition, start at xsquads.ai.
running a shopify store? → /shopify
Last updated: September 22, 2026.
Ready to Scale Your Development Team?
See how xSquad's software factory ships production code with agent swarms and senior human oversight.