Skip to content
Software Factory

Agentic Software Factory, Explained

An agentic software factory lets AI agents, not assistants, do the work from ticket to pull request. Agentic says who works, not who approves.

Seif Sgayer, founder. Published 2 October 2026, updated 5 November 2026. 6 min read.

An agentic software factory is a delivery loop where AI coding agents, not assistants, do the work between a ticket and a pull request. The word agentic says who does the work. It does not say who approves it.

An agent takes a task, plans, edits the codebase, runs the tests, reads the failures, tries again and reports back, inside a harness your team controls. This is for engineering leads who are shown products with these words on them.

Agents versus assistants

The difference is who holds the loop. With an assistant, a developer holds it: ask, read, apply, run the tests, ask again. With an agent, the software holds it. Given a goal and tools, it decides the next step, takes it, observes the result, and continues until the goal is met or a limit is hit. The same model can be either. The harness around it makes the difference.

AssistantAgent
Who holds the loopThe developerThe software, within limits
Starts fromA prompt typed by a personA ticket, a label or a schedule
Runs whereThe developer's editor or terminalAn isolated runner or container
Can run the testsIf the developer doesYes, as part of the loop
OutputSuggested codeA branch and a pull request
Repeatable across the teamDepends on the personYes, the harness is shared

A factory is how you get your best assistant user's results from the whole team, without that developer standing in the middle.

Orchestration: what starts the work and what finishes it

Orchestration is the unglamorous part most pitches skip. Something must notice a ticket is ready, start a run with the right context, wait, handle failure, open the pull request and tell the ticket what happened. In a well-built factory that is a small amount of workflow: a GitHub Actions job triggered by a label, a webhook from Jira or ClickUp, a scheduled run for maintenance work.

It also enforces order: one run per ticket, no two agents editing the same files, retries capped, a queue when twenty tickets arrive on a Friday. None of this is clever. All of it separates a factory from a demo.

A test for any product: ask what happens when the agent fails halfway. A stack trace in a log nobody watches means the orchestration is unfinished. A comment on the ticket saying what went wrong and what the agent recommends means it is done.

Isolation: where the agent runs

An agent with tools can run shell commands, install packages, read files and make network calls. That is the point of it, and it is why it must never run on a developer's laptop with their credentials. Every run happens in a fresh environment: a CI runner, a container or a sandboxed virtual machine, with a clean checkout and nothing else.

  • Fresh per run. Created for the task, destroyed afterwards, so one run cannot contaminate the next.
  • Minimum credentials. A token scoped to push a branch and open a pull request on one repository, plus the model provider key. No deploy key, no production database password, no personal token.
  • Secrets out of the prompt. They live in the secret store and are injected into the environment, never into task text, the rules file or logs.
  • Inspectable. The run log and diff stay with the pull request.

Guardrails: the limits the harness enforces

Guardrails are rules the agent cannot talk its way around, because they are enforced outside the model. A good factory has four layers.

  1. Repository rules. A file states conventions, the test command, forbidden paths and the definition of done. This is guidance, and the model can still get it wrong.
  2. Run limits. A timeout and a cap on tool calls or turns. A confused agent stops at a known bound.
  3. Permission boundaries. The token cannot merge, cannot deploy and cannot touch other repositories. Code ownership rules route sensitive paths to named reviewers.
  4. Branch protection. Main requires passing checks and an approving review. Whatever the agent produces is a proposal until a person, or a policy you chose deliberately, accepts it.

Only the first layer depends on the model's behaviour. The others hold even if the agent were adversarial. That is the standard: the factory is safe to run because of what the agent cannot do, not what it was asked not to do.

Where agentic stops and autonomous starts

Agentic describes how the work is done: an agent holds the loop from ticket to pull request. Autonomous describes who decides it ships: nobody. An autonomous factory merges and deploys without a human decision. That is the dark factory in light and dark software factories.

Every factory worth the name is agentic. Very few should be autonomous, and none for a whole codebase at once. Approve every change at first, lighten review for routine changes once the suite has earned it, and allow auto-merge only for narrow, named, low-risk classes.

Write down, per path or per label, who or what approves a merge. If the answer for any path is "the checks", that path is autonomous and should have earned it. Everything else is agentic and reviewed. A vendor who presents autonomy as the default is describing a demo.

What to ask a vendor

These questions separate useful orchestration from a chat window with the word agent on it.

  • Where does the agent run, and with which credentials? You want a fresh, isolated environment and a token scoped to one repository. A developer machine or a broad organisation token is not a factory.
  • What starts a run? An event in a tool you already use: a label, a column move, a webhook. If a person types into the product to begin, it is an assistant.
  • Can it merge? The right answer is no, not without your branch protection saying so. Ask to see what happens when a required review is missing.
  • What happens when a run fails? Look for a report on the ticket and a clean stop, not a silent retry loop or a half-finished branch.
  • Where do our rules live? In your repository, in a file you can edit, version and review. Rules held only in the vendor's product leave with the vendor.
  • What do we own at the end? Workflow files, a rules file and documentation in your repositories are yours. A subscription is theirs.
  • Which of our tools does it connect to today? Ask for tested versus on request, named tool by tool. Roadmap slides are not connectors.

Common questions

Is an agentic software factory the same as an autonomous one?

No. Agentic means an agent holds the loop from ticket to pull request. Autonomous means the output ships without a human decision. Autonomy is a per-path setting earned by a trustworthy test suite, not a default.

Which AI agent should a software factory use?

One your team can run in an isolated environment with scoped credentials and a readable log, whose provider's data terms you have read. Claude Code is live in the Software Factory method. Codex full delivery is still being verified, and Cursor has not been run live. The harness matters more than the model.

Where you need checks and people

The questions above all end in the same place: a check that is not the agent's own opinion, and a person who reviews. The Software Factory method puts that into ten visible steps with fresh-agent review. See how it works, or build the plain version yourself with Claude Code and GitHub Actions.

Next on the reading path

Software Factory vs DevOps: What Changes

A software factory does not replace DevOps. It sits on top of it and changes who writes the first draft and where work starts.