TL;DR
|
A software factory is a way of producing software through standardized, repeatable workflows, where every step has a defined owner, the right people approve what matters, and everything is recorded. In the age of AI agents, it means a governed system in which agents do much of the work and humans stay in control of what ships.
The term is getting a lot of attention, because AI agents can now write code, review pull requests, and fix bugs. This guide explains where the idea comes from, what it means today, and what a good software factory needs.
Key takeaway: "software factory" has always meant applying repeatable processes to software. AI agents give it a new meaning.
| Era | What "software factory" meant |
|---|---|
| 1970s and 1980s | Japanese companies such as Hitachi and Toshiba organized software development around standard methods, reusable components, and quality control, and called them software factories |
| 2010s | The US Department of Defense used the term for in-house teams delivering software continuously, such as the Air Force's Kessel Run |
| 2020s | With AI agents, the term describes systems where agents do software work inside governed, repeatable workflows |
The thread running through all three is the same: make software production consistent, measurable, and controlled, rather than dependent on individual heroics.
Key takeaway: an AI software factory runs agents inside defined workflows, with humans approving key steps.
AI agents can now take an issue, write the code, and open a pull request, or review someone else's changes. Used ad hoc, through individual chat sessions and scripts, that creates new problems: nobody knows what the agents did, what it cost, or who approved it.
A software factory brings structure to that work:
| Without a software factory | With a software factory |
|---|---|
| Agents run from individual laptops and personal accounts | Agents run in shared, defined workflows |
| Each run works differently | The same workflow runs the same way every time |
| Agents can reach whatever the user can | Access is set per team and workflow |
| Changes appear with little record of how | Every prompt, change, and approval is recorded |
| Costs are scattered and hard to see | Costs are visible per run and workflow |
| Review is informal or skipped | People approve the steps that matter |
Here's one issue going through a factory. A support ticket reports that customers can't download their invoices, and a developer hands it to the factory. That starts the issue-to-code workflow, the same one the team uses for every bug of this kind.
An agent picks it up in an isolated workspace that can reach the billing code and nothing else. It finds the cause and writes a plan, and the run pauses until a developer on the billing team approves it. Then the agent writes the fix and the tests, and opens a pull request. The team reviews and merges it, and the usual pipeline deploys it.
Afterward, the team can open the run and see what started it, the plan, who approved it and when, and what it cost.
Key takeaway: six capabilities separate a governed software factory from a collection of AI scripts.
| Capability | What it means | Why it matters |
|---|---|---|
| Repeatable workflows | Defined steps, such as reviewing a pull request or turning an issue into code | Results are consistent and improvable |
| Isolated workspaces | Each agent run works in its own temporary environment | One run can't interfere with another, or with production |
| Human approval gates | People approve the work before it continues | Humans stay accountable for what ships |
| Access controls | Rules for who and what can reach each repository and workflow | Agents only touch what they should |
| Audit trail | A record of prompts, changes, and approvals | You can see what happened and why |
| Cost visibility | What each run and workflow costs | AI spend stays predictable |
Key takeaway: CI/CD automates building, testing, and deploying code. A software factory also governs how the code gets written and reviewed.
| CI/CD | Software factory | |
|---|---|---|
| Covers | Building, testing, and deploying code after it's written | The work that produces the code, including AI agents and human approvals |
| Main actors | Automated pipelines | Agents and people, working through workflows |
| Starts with | A commit or pull request | An issue, a request, or a pull request to review |
| Relationship | Usually part of the factory's final steps | Feeds its output into CI/CD |
Key takeaway: Upsun Dispatch is a software factory where teams and AI agents ship together, with human approval built in.
Upsun Dispatch™ is Upsun's governed software factory for AI and human workflows. It connects to your repositories and runs AI agents through defined workflows, with people approving the steps that matter.
| Capability | In Upsun Dispatch |
|---|---|
| Workflows | Defined workflows that run the same way every time, such as Code Review and Issue to Code. The workflows page has the full list |
| Isolated workspaces | Each step runs in its own isolated sandbox |
| Human gates | In Issue to Code, nothing is coded until someone approves the agent's plan |
| Access management | Control who and what can reach each repository and workflow |
| Audit trail | Every run's record captures what started it, the context the agent saw, its reasoning, and every plan decision with who made it and when |
| Cost transparency | Each run shows what it cost |
| Where it connects | Code and issue tools such as GitHub and Jira. The workflows page has the full list |
Read the Upsun Dispatch announcement, or see how Upsun Dispatch workflows run. Our guide What is human-in-the-loop in AI software development? explains why human approval is central to a software factory.
You can try Upsun Dispatch with free AI usage (20 agent-minutes a day, no API key or card needed).
A system for producing software through repeatable workflows, with clear ownership, approvals, and a record of every step. Today it often means AI agents doing work inside those workflows, with people in control.
No. CI/CD automates building, testing, and deploying code. A software factory also covers how the code is written and reviewed, including work done by AI agents.
It dates back to Japanese software companies in the 1970s and 1980s, and was later used by the US Department of Defense for modern delivery teams.
Without one, agents run in scattered, inconsistent ways, with little record of what they did, what it cost, or who approved it.
No. Developers define the workflows, review and approve key steps, and handle the work agents can't. The factory changes how work is organized, not who's accountable.
A governed software factory where teams and AI agents ship together, with workflows, isolated sandboxes, human approval gates, an audit trail, and cost transparency.