• Docs
  • Talk to an expert
Blog
Blog
BlogProductCase studiesNewsInsights
Blog

What is an AI software factory? How agents run the development lifecycle

AI AgentsAgentic SDLCUpsun Dispatchpreview environmentsplatform engineering
03 December 2026
Anita Okem-Achu
Anita Okem-Achu
Technical Writer
Share
This post is also available in German and in French.

TL;DR

  • An AI software factory is a repeatable system for turning ideas into shipped software, in which AI agents do much of the hands-on work, and people decide what ships.
  • Work moves through five stages: work comes in, agents work in isolation, checks run automatically, people approve, and changes ship with a record.
  • A coding assistant helps one developer. A software factory is a shared system that the whole team runs work through.
  • Review load, cost, isolation, production-like testing, and accountability to decide whether the factory saves time, so sort them out before you add more agents.

What an AI software factory is

Most teams already use AI to write code. The problem is that the rest of the lifecycle has not changed to match. Planning, review, testing, and approval still run at human speed, and each developer runs agents differently on their own machine. An AI software factory solves this by treating the whole lifecycle as one system.

A software factory is a repeatable system for turning ideas into shipped software. Work comes in, moves through defined steps, and comes out as tested, reviewed code. Our guide to what a software factory is covers the wider idea.

An AI software factory, also called an agentic software factory, is the same system with AI agents doing much of the hands-on work. Agents pick up tickets, write code, run tests, and open pull requests. People set the rules, approve changes at key points, and stay accountable for what ships.

How it differs from coding assistants and coding agents

 AI coding assistantAI coding agentAI software factory
Unit of workA suggestion or a block of codeA task, such as one issueA workflow that runs the same way every time
Who starts itA developer, in an editorA developer, by assigning a taskAn event, such as a new issue or pull request
Where it runsThe developer's machineThe developer's machine or the tool vendor's cloudShared, isolated environments
Who checks the resultThe same developerThe developer who assigned itDefined checks and human approvals at each stage
What is recordedLittle or nothing centrallyDepends on the tool and setupEvery run, change, approval, and cost

How agents run each stage of the lifecycle

Key takeaway: Agents can take on work at every stage of the lifecycle, but every stage ends at a check that decides whether the work moves on or goes back.

The stages in an AI software factory are the ones your team already knows. What changes is who does the work inside each stage and how the handoffs happen. The table shows the typical division of work. Your factory may automate fewer stages, and most teams start with one or two.

StageWhat agents doThe check before work moves on
PlanRead the issue, gather context from the codebase, and propose an implementation planA person confirms the plan matches the intended scope
CodeWrite the change on a branch, inside an isolated environmentAutomated tests and linting pass
TestRun the test suite, add tests for the change, and test against an environment that matches productionTests pass against production-like services and data
ReviewReview the diff and post comments on risks, style, and missed requirementsA human reviewer approves the change
DeployHand off to the team's existing deployment pipeline after mergeThe pipeline's own checks, with a tested way to roll back
OperateInvestigate failures and open issues with context for the next runA person decides what gets fixed and when

Two patterns hold across all stages: 

First, a failed check sends work back to the agent with the reason, rather than forward to the next stage. 

Second, the factory produces a record at every handoff: what the agent was asked to do, what it changed, who approved it, and what the run cost. That record is what lets a team trust the line enough to automate more of it.

Diagram of an AI software factory: a new issue goes to an agent that plans, writes code, and runs tests, with failed tests sent back to the agent. After review, a person approves the merge, the pipeline deploys, and the team operates the change.

 

What people still own

Key takeaway: Agents move work along the line, but people own the decisions: what to build, what counts as done, and what reaches production.

An AI software factory changes where engineers spend their time. They spend less of it typing code and more of it designing the line and judging its output. People keep four responsibilities:

  • Defining the work. Agents need a clear issue, acceptance criteria, and access to the right context. A vague issue produces a vague change, faster.
  • Approving changes. A human approval at the right stage is a real gate, not a notification. The person who approves a merge is accountable for it.
  • Designing the workflow. Someone decides which stages run automatically, where the approvals sit, and which checks a change must pass.
  • Improving the line. After each run, the team adjusts prompts, adds context, and turns repeated steps into scripts that run the same way every time.

Autonomy should be earned, not granted on day one. A practical approach is to start with an approval at every step and remove gates only when the team is confident in the output. 

Trust in AI output is still limited. In the 2025 DORA report, 30% of respondents reported little to no trust in code generated by AI (DORA 2025). Approvals give that trust a way to grow through a track record instead of assumption.

What to watch for

Key takeaway: A software factory makes agent work faster and more repeatable, but speed does not automatically turn into better delivery. Each risk below has a matching control in the factory.

  • More output can mean more instability. The 2025 DORA report, based on a survey of nearly 5,000 technology professionals, found that AI adoption now improves software delivery throughput but still increases delivery instability. This is why every stage ends at a check, and a failed check sends work back to the agent instead of forward.
  • Review becomes the bottleneck. Agents can produce large changes quickly, and large changes are hard to review and test. In a factory, keep each agent task small enough for one reviewer to approve with confidence, and put the human gate where review matters most. DORA lists working in small batches as one of seven capabilities that help AI improve performance rather than instability.
  • Productivity gains can be hard to measure. In a randomized controlled trial in early 2025, 16 experienced open-source developers took 19% longer to complete tasks with AI tools, while expecting to be 24% faster. METR's follow-up study in 2026 did not produce a reliable estimate because many developers chose not to take part, or not to submit tasks, if they had to work without AI. A factory's run record gives you your own data instead: what each run changed, what it cost, and how often reviewers sent work back.
  • Setting up the line takes work. Someone has to define the workflows, write clear issues, decide where approvals sit, and keep test data safe. The factory pays off once that work is reused across many runs, which is why it makes sense to start with one workflow and expand.

What a software factory needs from its infrastructure

Key takeaway: A software factory needs three things from its infrastructure: isolated places for agents to work, production-like environments to test in, and a record of every run.

  • Isolation. An agent with access to your systems can change them. When an agent runs on a developer's laptop, there is no central log of what it read, which tools it called, or what it changed. Agents need disposable environments that are separated from live systems, so nothing reaches production until someone approves it.
  • Production-like testing. A change that passes against mock data can still fail in production. Agents need to test against the same services, versions, and data shape that production runs.
  • A record of every run. To trust the line, a team needs to see what each agent was asked to do, what it changed, who approved it, and what it cost. Without that record, every failure becomes an investigation.

How Upsun provides a ready-to-run software factory

Upsun offers two products that each cover part of this. They work on their own and together. Upsun Dispatch™ runs the workflow layer, where agents and people work on the same change:

  • Workflows are defined once and shared across the team, so each run follows the same path.
  • Each run happens in an isolated, disposable sandbox, so nothing reaches your systems until someone approves it.
  • The workflow that turns issues into pull requests has an optional plan approval gate: no code is written until a person approves the agent's plan.
  • The audit trail records prompts, diffs, and approvals as they happen.
  • Each run shows what it costs
  • It connects to GitHub, GitLab, Jira, and Linear. AI usage is billed through Upsun at the processing level you choose for each workflow, so you don't need your own model provider key.
  • Deployment stays in your existing pipeline. When a change is merged, that pipeline runs as it did before.


Upsun Dispatch launched in September 2026 with two workflows: Automated Code Review and Issue-to-Code.

Upsun Cloud is the application platform that builds, tests, and runs the software:

  • Every Git branch can get its own preview environment, a clone of its parent environment with the same services and a copy of its data.
  • Each preview environment is isolated, so changes in one branch cannot affect production or other branches.
  • Sensitive data can be sanitized before reviewers see it. Your team writes a deploy hook that sanitizes data in non-production environments, and it runs automatically on each deployment.
  • Applications deploy to AWS, Google Cloud, Azure, or OVHcloud.


Used together, Upsun Dispatch governs the agent work from issue to merge, and Upsun Cloud gives each change a production-like environment to prove itself in before and after merge.


Frequently asked questions

What is an AI software factory?
An AI software factory is a software development lifecycle in which AI agents do defined work at each stage, such as planning, coding, testing, and review. Each stage ends with a check, and people approve the changes that matter before they reach production.

Is an AI software factory the same as an AI coding assistant?
No. A coding assistant helps one developer write code in an editor. A software factory runs agent work through shared, repeatable workflows, with checks, approvals, and a record of every run.

Does an AI software factory replace developers?
No. Developers define the work, design the workflows, review and approve changes, and stay accountable for what ships. The work shifts from writing every line toward directing and checking agent output.

Do agents deploy to production in a software factory?
It depends on how the team designs the line. With Upsun Dispatch, agents work in isolated sandboxes, a person approves the merge, and deployment runs through the team's existing pipeline.

Where should a team start?
Start with one bounded workflow, such as automated code review or turning a well-defined issue into a pull request. Keep a human approval on every step at first, measure the results, and expand once the output is consistently good.

Stay updated

Subscribe to our monthly newsletter for the latest updates and news.

Deploy possibility.
Try Upsun for free.

Build with DispatchDeploy on Cloud