Research briefing · Verified 2026-07-02

Dark Factories: Agentic Software Factories

What the term means, who is building them, what they cost, and what an enterprise should know before adopting one. Every claim below survived a 3-vote adversarial verification pass; refuted claims are flagged.

Executive summary

A "dark factory" in software borrows the manufacturing term "lights-out factory" — a plant that runs with no humans on-site — and applies it to systems where fleets of AI coding agents write, test, and ship software autonomously, without humans watching each step. The term's most visible champion is Steve Yegge, whose open-source orchestrator Gas Town (launched Jan 1, 2026) and its SDK successor Gas City (v1.0, April 2026) run tens to hundreds of concurrent coding agents; consultancies like BCG Platinion have picked up the framing as the "Agentic Software Factory."

The state of the art is real but early and expensive: Yegge himself calls Gas Town "a cash guzzler," and Microsoft Research finds agentic coding consumes roughly 1000x the tokens of code chat, with wildly variable and unpredictable costs. Headline productivity claims (BCG's "3–5x") are self-reported and unaudited, and the most dramatic case study circulating (Spotify's allegedly all-AI codebase) failed fact-checking outright. For enterprises, the emerging playbook is graduated human oversight — routing agent work into human-in-the-loop, human-over-the-loop, or automated-with-monitoring tiers based on risk — plus hard attention to token economics and observability.

1. What "dark factory" means and where it came from

In manufacturing, "lights-out" — also called a "dark factory" or "automatic factory" — means fully automating production so that no human labour presence is required on-site (Wikipedia: Lights out (manufacturing)). The lights can literally stay off because nobody is in the building. FANUC's robot plants, which can run unsupervised for weeks, are the canonical example.

The software industry borrowed the term for AI coding at scale. Steve Yegge gives the most-cited definition:

"A dark factory is any system in which coding agents are set up to work autonomously without humans watching." — Steve Yegge, "Welcome to Gas City" (April 2026)

Yegge hedges that "there aren't any reliable definitions yet," and he deliberately positions his own Gas City as a "Light Factory" — "or at least, a very well-lit dark one" — because all agent workers remain visible and addressable. The dark/light distinction he draws is about observability: the rooms where agents work "are allowed to have windows."

Consulting firms have adopted a parallel vocabulary. BCG Platinion published a piece under the URL slug "the-dark-software-factory" defining an "Agentic Software Factory": "Autonomous AI agents build, test, and ship software solutions around the clock, while humans define business intent and review outcomes" (BCG Platinion, March 2026). The lights-out analogy is explicit — the article opens: "Software Engineering Has Changed. They Turned the Lights Off."

2. Steve Yegge: Gas Town, Beads, and Gas City

Yegge is the central builder-evangelist in this space. Over roughly the year preceding February 2026 he built two open-source tools as explicit experiments in multi-agent coordination, shared memory, and AI-driven workflows: Beads (a git-backed agent memory / issue-tracking system) and Gas Town (Software Engineering Daily).

Gas Town

Gas City

Gas City is "Gas Town rewritten as an SDK": the stack decomposed into composable, declarative building blocks called "packs" (TOML) for assembling arbitrary agent topologies. v1.0.0 shipped the week of the April 24, 2026 announcement essay. Yegge calls it "an SDK for building your own dark factories" and reports that Julian Knutsen — a Gas City co-creator, so this is a team anecdote, not an independent benchmark — "has had hundreds of concurrent workers in a city" ("Welcome to Gas City").

The adoption ladder

In a Pragmatic Engineer interview (Feb 2026), Yegge describes an 8-level ladder of AI coding adoption culminating in fleet operation: Level 6 — several agents; Level 7 — 10+ agents managed by hand; Level 8 — you build your own orchestrator to coordinate more agents. This ladder is a useful shared vocabulary when talking with peers about where an org sits.

3. Who else is building or discussing this

Note: the verified corpus for this report skews toward Yegge's ecosystem, which dominates the public conversation. Other orchestration frameworks exist but did not produce claims that survived verification for this report.

4. State of the art, economics, and skepticism

What it costs

The clearest verified signal is that autonomous coding fleets are expensive and hard to budget:

A Microsoft Research / Stanford / MIT study of 8 frontier models on SWE-bench Verified ("How Do AI Agents Spend Your Money?", April 2026, preprint) quantifies the problem:

Claimed results — and why to discount them

ClaimSourceStatus
3–5x average productivity gains for full agentic factories vs. up to 30% for copilotsBCG PlatinionVerified as attributed; unsourced within the article, self-reported, no methodology
3–5 engineers running Gas City packs can replace seven-figure SaaS bills; non-technical staff rebuilt a $30k/yr SaaS tool on Gas TownYeggeVerified as attributed; self-reported, anonymous customer, no token costs or throughput metrics given
Spotify merges 650 AI-generated PRs/month; engineers haven't written code since Dec 2025circulated via BCG pieceREFUTED (0–3 in verification)

Additional skeptical context surfaced during verification: METR's randomized controlled trial found experienced developers were slower with AI tools (initially −19%; revised Feb 2026 to roughly −4%, CI −15% to +9%) — that measured copilot-style use rather than agent factories, so it qualifies rather than contradicts the factory claims, but it should temper enthusiasm about self-reported multipliers. Critics such as Steve Klabnik and pivot-to-ai.com dispute Gas Town's economics while not disputing what Yegge said. Notably, no independently audited case study of factory-scale results — with throughput, defect rates, and token costs — survived verification for this report.

5. What an enterprise should know

Graduated human oversight (the emerging governance pattern)

The GAIE framework ("Governed AI-Assisted Engineering," arXiv 2606.22484, June 2026 — a single-author preprint, not yet peer-reviewed) proposes a three-tier oversight model for agentic code generation in regulated domains:

  1. Human-in-the-loop — strategic functions; a human approves before action.
  2. Human-over-the-loop — customer-impacting work; humans supervise and can intervene.
  3. Automated-with-monitoring — internal tasks; agents run autonomously under telemetry.

Its Oversight Classification Model (OCM) is a deterministic decision function routing each task to a tier based on four factors: regulatory impact, customer proximity, reversibility, and data sensitivity — with each tier defining required evidence artifacts for compliance auditability. Even if you never adopt GAIE itself, those four routing factors and the evidence-artifact requirement are a sound checklist for any agent-fleet rollout.

Architecture and operating lessons from the verified record

Caveats

Self-reported figures dominate. Nearly all scale and economics numbers (20–30 agents, hundreds of workers, SaaS-replacement claims, BCG's 3–5x) come from the builders or their promoters, without independent audit. The "hundreds of concurrent workers" figure comes from a Gas City co-creator, not an independent user.

Preprints, not peer review. Both academic anchors (Microsoft Research token study; GAIE) are recent preprints. The token findings are benchmark-relative (SWE-bench Verified), and prompt-caching discounts soften the dollar impact of input-token dominance.

Fast-moving topic. Sources span January–June 2026; capabilities, pricing, and tooling are changing monthly. The lights-out manufacturing analogy is also partly interpretive — Yegge's essay implies rather than explicitly names the manufacturing origin.

One refuted claim: the Spotify "650 AI PRs/month, no human code since Dec 2025" story failed verification 0–3 and should not be repeated.

Open questions

Key sources

Further reading

Also consulted during research. These informed the picture but their specific claims were not put through the adversarial verification pass — read them as perspectives, not verified fact.