Skip to main content
Scaling & Development8 min read

What Is a Dark Factory in Software?

V

Vinci Rufus

Published

Updated

Short answer

A dark factory in software is a software factory run lights-out for the routine steps. Agents draft, test, and queue changes without a person typing each one. The name comes from manufacturing, where machines run with the lights off because nobody is on the floor for that shift. A person still reviews merges and owns what ships.

Last updated: September 22, 2026.

Key takeaways

QuestionAnswer
What is a dark factory in software?A delivery line where agents do the routine steps and people are not at the keyboard for each one.
Where does the name come from?Lights-out manufacturing: production without staff on the floor for that run.
What stays human?The job, the merge, and anything you cannot undo.
How is it different from a software factory?A dark factory is the lights-out way of running one. A software factory can still be mostly people.
Is it the same as agentic AI?No. Agentic AI is the behavior. A dark factory is a production stance.

What is a dark factory?

In manufacturing, a lights-out or "dark" factory is a plant that can run a shift without people on the floor. The lights-out manufacturing page is the industrial source of the metaphor. Software borrowed the phrase for a delivery line whose routine stations run the same way: the change moves without someone typing it.

The honest software version has two halves.

  • Agents take bounded jobs, produce diffs, and run the checks you already trust.
  • A person sets the job, reads the diff when it matters, and is the name on the merge.

A page that says the agents handle the entire lifecycle with nobody accountable is using the metaphor as a slogan. Unattended steps are not the same thing as an unattended company.

The shared dictionary, including code factory, is what is a software factory. The line itself, station by station, is what a code factory is.

What can run with the lights off, and what cannot?

StepLights-out if the job is boundedStays with a person
Draft a fix from a clear reportYesIf the report is actually a product decision
Run the tests you already haveYesIf there are no tests, the check is fake
Open a change for reviewYesThe merge itself
Explain a tradeoff in the designRarelyThe decision
Deploy or deleteNoAlways, unless you have a separate break-glass rule

"Dark" describes who is at the keyboard for the routine pass. It does not describe a quality level. A bad test suite makes a dark factory a faster way to ship the wrong change.

How is a dark factory different from agentic AI and from cloud agents?

Agentic AI is a behavior; the split from the production system is on what a software factory is. A dark factory is a choice to let a system like that, or a simpler script, run routine delivery steps. You can be agentic in a single chat window and still not have a factory. Cloud agents are about where the runtime lives. A dark factory often uses them, because a laptop that sleeps is not a night shift. The cloud does not make the factory dark. The unattended station does. Agent swarms are one staffing pattern for those stations: several roles, one review gate. xSquad's software-delivery offer, on xsquads.ai, is that pattern with a person on the gate. This page does not attach a speed or a headcount claim to it.

How do you try a dark factory without pretending the floor is empty?

Choose a repeated, checkable job

A failing test with a clear expected result is a better first job than a vague feature. The full job spec is on the dark factory coding page.

Run the routine pass with the lights on first

Watch which steps a person actually had to touch. That observation, not a slogan, is what tells you which steps in the table above can go unattended.

Leave the merge with a person

The agent queues the change. Acceptance stays with a named person. The production bar behind that is on what production means for dark factory software.

Read the first failures

The interesting output of a dark run is the change you send back. That is how the job gets tighter.

Stop if you cannot define done

Lights-out on an undefined job is just unattended guessing.

Frequently asked questions

What is a dark factory in software?

A dark factory in software is a delivery line where agents run routine steps, such as drafting and testing a bounded change, without a person typing each step. People still review and own the merge.

Why is it called dark?

The name comes from lights-out manufacturing, where a line runs without staff on the floor. In software it means the routine pass does not need someone at the keyboard. It does not mean the company has no engineers.

Is a dark factory the same as a software factory?

A dark factory is a software factory operated with unattended routine steps. A software factory can also be a staffed line. The definition page compares software factory, code factory, and dark factory.

Does a dark factory remove code review?

No. The unattended part is the draft and the mechanical check. Review of what lands on a protected branch stays with a person.

How is this different from agentic AI?

Agentic AI is a behavior, not a production stance; the factory terms are separated on what a software factory is. A dark factory is a production choice about which delivery steps run without a typist. One can exist without the other.

Do dark factories require cloud agents?

They fit well together, because a hosted runtime can keep going when laptops are closed. They are still different ideas. Cloud is where the process runs. Dark is whether a person is in the routine pass.

What work should not be lights-out?

Anything you cannot write a check for. The production bar for what must stay with a person is on what production means for dark factory software.

Is a dark factory safe?

It is as safe as the check and the gate. A strong test and a human merge are the controls. The metaphor is not a control.

When is the idea premature?

When you have no repeated job, no tests, and no one who will read diffs. Automating that state just hides the queue.

Where should I start if I only wanted the definition?

Read the software-factory page first if you are sorting the vocabulary. Stay here if you are deciding which steps can run without a person at the keyboard.

Sources

No throughput, headcount, or savings figures are claimed here.

If you want that line with a person on review, start at xsquads.ai.

running a shopify store? → /shopify

Last updated: September 22, 2026. First published: April 28, 2026.

Ready to Scale Your Development Team?

Try a squad on your repo. You review every PR.