Pillar 03
AI Factory
An agentic software factory is the operating layer that turns approved specs into shipped changes using many agents. A director cuts the spec into work orders, workers build each one in an isolated workspace, a ladder of verification gates decides what merges, and shared memory and an audit trail carry what was learned into the next run.
Decisions this pillar covers
| Decision | Question | Produces |
|---|---|---|
| Who directs and who builds | Which role plans, routes, and merges, which roles build, and where does a person sign? | An operating model one-pager |
| How work is handed off | What must a task say so a worker with no context can finish it and a director can check it? | A work-order template |
| How workers are kept apart | What can each worker read, write, reach, and spend, and how is each limit enforced? | An isolation checklist |
| What must pass before work merges | Which checks run, in what order, by whom, and what does a failure send back? | A gate ladder |
| What the line remembers and spends | What do agents carry between tasks, which model gets which task, and at what cap? | A memory map and a routing and budget policy |
| How the line is governed and measured | Which actions need consent, what record is kept, and which numbers show the line is healthy? | A governance checklist and a factory scorecard |
Topics
- FA-01 Set up director and workers — Operating model one-pager
- FA-02 Write work orders agents can execute — Work-order template
- FA-03 Isolate agent work — Isolation checklist
- FA-04 Build the verification ladder — Gate ladder
- FA-05 Give agents shared memory — Memory map (in-progress)
- FA-06 Route models and cap budgets — Routing and budget policy (in-progress)
- FA-07 Govern consent and audit — Governance checklist (planned)
- FA-08 Measure factory throughput — Factory scorecard (planned)
Stages
| Topic | Entry | Exit |
|---|---|---|
| FA-01 Set up director and workers | Recurring work that splits into bounded tasks, and a person who will own what merges. | A one-page operating model that the owner has signed and that one real task has been run against. |
| FA-02 Write work orders agents can execute | An approved spec or plan, and a task small enough for one worker to finish in one run. | A work order that a fresh agent has executed without a clarifying question and that passed its own checks. |
| FA-03 Isolate agent work | Two or more agents working at once, or one agent with access to anything you cannot easily undo. | A checklist with every line answered for each lane, and one test showing a forbidden action is blocked. |
| FA-04 Build the verification ladder | Work orders with acceptance checks, and at least one automatic check that already runs. | A gate ladder with an owner and retained evidence for every rung, exercised on one real change. |
Automate
- Cutting an approved spec into work orders and dispatching them
- Creating an isolated workspace for every task and cleaning it up afterwards
- Running deterministic gates and independent review on every change
- Recording who did what, under which budget, with what evidence
Keep human
- Approving the spec and the split between director and workers
- Deciding which lanes may reach secrets, production, or customers
- Approving merges, deploys, spend, and other actions that cannot be undone
- Ruling on disputes and deciding when the line has earned more autonomy
FAQ
When does a team need a factory and not a single agent?
When review has become the bottleneck, or when tasks need different tools, models, or permissions. One agent with one reviewer is the right setup for a long time. The factory earns its overhead when several tasks can run at once and each can be checked without a person reading every line.
Do we have to remove people from code review to run this way?
No. Some teams, such as StrongDM's, run with no human-written or human-reviewed code. The topics here assume a named person still approves merges and anything irreversible. The ladder exists so that person reads small changes with evidence attached instead of large changes with a summary.
Where should we start?
Start with the operating model one-pager, then write one work order and run it in an isolated workspace through a four-rung ladder. Use a low-risk task. Fix whatever was unclear on the page before adding a second worker.