Skip to main content

How do you roll out an AI agent in stages?

Move an agent from release approval to full use through shadow runs, supervised actions, limited autonomy and widening cohorts, with an exit condition and a rollback path at every stage.

A white humanoid robot types on a laptop at an office desk while a man in a suit stands beside it checking a tablet.

Roll out an AI agent in stages by widening what it may do and who it serves only as evidence builds. Start in shadow mode, where it works alongside people without acting. Move to supervised actions, then limited autonomy for reversible steps, and expand by cohort. Give every stage clear exit conditions and a tested way back.

Why a single launch date is the wrong model

A release approval says the agent is fit for a defined use. It does not say how that use should begin. Treating go-live as one switch, where every user and every action type moves to the agent on the same morning, means the first real test of its behaviour is also its widest exposure.

Production inputs differ from test inputs in ways nobody fully predicts. Documents arrive in unfamiliar formats, customers phrase requests in new ways, and integrations return errors that never appeared in staging. A staged rollout lets those surprises appear while the agent's reach is still small and its actions are still reviewed.

Staging also gives the business time to adjust. Reviewers learn what good agent output looks like, support teams learn how escalations arrive, and owners learn which signals matter. The guide to knowing an agent is safe for production covers the release decision itself; this guide covers what happens after it.

Stage one: shadow mode

In shadow mode the agent receives real work but takes no action. It reads the same request a person handles, produces the output it would have produced, and records it. The person completes the task as usual, and the two results are compared afterwards.

This is the most informative stage for the least risk. You learn how the agent performs on the real distribution of work, including the awkward cases, without any customer or system being affected. Comparison should be structured: did the agent reach the same outcome, would its action have been accepted, and where it differed, who was right?

Shadow mode needs care in two places. The agent must be unable to act, which means its write permissions are genuinely absent rather than ignored by convention. And the comparison needs reviewer time, so plan for it rather than hoping it happens between other tasks.

Stage two: supervised actions

Once shadow results are consistently acceptable, let the agent propose actions that a person approves before they take effect. The agent now drafts the refund, prepares the ticket update or assembles the order change, and a reviewer confirms, edits or rejects it.

This stage tests something shadow mode cannot: whether the approval step works in practice. Reviewers need enough context to decide quickly, and rejection needs to feed back into improvement. The guide to keeping a human in the loop without friction describes how to design that review so it does not become a bottleneck or a rubber stamp.

Track acceptance and edit rates by action type rather than overall. An agent may be reliable at updating addresses and weak at interpreting contract terms, and the rollout should reflect that difference.

Stage three: limited autonomy for reversible steps

Autonomy should arrive one action type at a time, starting with steps that are low impact and easy to undo. Tagging a ticket, drafting an internal note or requesting a missing document are good early candidates. Issuing payments, deleting records or sending external commitments are not.

For each action type, decide in advance what evidence moves it from supervised to autonomous, and enforce the decision in the runtime rather than in the prompt. The permission to act without approval should be a configuration that can be granted and withdrawn per action, per workflow and per cohort. The guide to stopping an agent taking an action it should not explains why that boundary belongs outside the model.

Autonomy does not remove review entirely. Sample autonomous actions for after-the-fact checks, so a slow change in quality is noticed before it becomes a pattern.

Widen the audience in cohorts

Alongside what the agent may do, control who it serves. Start with a cohort that is easy to support: an internal team, a single region, one product line or one transaction type. Expand only when the current cohort's results hold steady, and expand along one dimension at a time so a change in results can be traced to its cause.

Consider a hypothetical insurer rolling out a claims assistant. It might begin with simple home claims in one region, supervised by an experienced team, before adding motor claims or other regions. Each expansion brings new document types and new edge cases, and each deserves its own period of observation.

Route cohorts with a feature flag or routing rule that the operating team controls, not a code release. That keeps expansion and contraction fast and reviewable.

Define exit conditions and a way back

Every stage needs written criteria for moving forward and for moving back. Forward criteria might cover acceptance rate, escalation rate, reviewer confidence and the absence of certain failure types. Backward triggers might include a serious incorrect action, a rise in complaints, an integration change or a model update.

Rollback has to be rehearsed, not assumed. Test that you can move a cohort back to supervised mode, or remove the agent from a workflow entirely, and that work in progress is handed to people cleanly when you do. The guide to monitoring an agent in production covers the signals that should prompt that decision.

Model changes restart part of the journey. When the underlying model is updated, run the new version in shadow against the current one before it takes over, as described in the guide to handling a model change or deprecation.

Assign ownership of each stage

A staged rollout is a series of decisions, and each needs an owner. Someone has to review shadow comparisons, someone has to approve the move to autonomy for each action type, and someone has to be able to pull the agent back without waiting for a meeting. Record each decision and the evidence behind it, so the rollout itself is auditable.

The team that will operate the agent should run the rollout, not only the team that built it. The guide to who operates an agent after launch covers how that responsibility is set up.

Plan the rollout as part of the build

The stages described here need engineering support: permissions that can be granted per action, routing that can be changed per cohort, comparison tooling for shadow runs and a rehearsed rollback. Building those in from the start is far easier than adding them once the agent is live.

CodeDTX's AI agent development work includes designing the rollout alongside the agent, and our AI agent maintenance and support work covers operating it through each stage. If you have an agent approved for release and want to plan how it reaches full use safely, talk to CodeDTX.

Frequently asked questions

What is shadow mode for an AI agent?

Shadow mode means the agent processes real requests but cannot act on them. It produces the output it would have produced, and a person handles the task as normal. The two results are compared afterwards. This shows how the agent performs on real work, including unusual cases, without affecting customers or systems, and it gives reviewers evidence for deciding when the agent is ready to propose actions.

How do you decide when an agent can act without approval?

Decide per action type, using evidence gathered while the agent's proposals were supervised. Look at acceptance and edit rates, the kinds of errors reviewers corrected, and how easily the action can be reversed. Agree the criteria before the stage begins, grant autonomy in the runtime configuration rather than the prompt, and keep sampling autonomous actions afterwards so any decline in quality is noticed early.

Should every agent go through every stage?

Not necessarily, but most should start in shadow mode. An agent that only drafts internal notes may move quickly to autonomy, while one that changes financial records may stay supervised indefinitely for some actions. The stages are a way of matching exposure to evidence. How far and how fast an agent moves through them depends on the impact of its actions and how easily they can be undone.

What should trigger rolling an agent back?

Agree the triggers before each stage starts. Common ones include a serious incorrect action, rising escalations or complaints, a sharp change in reviewer edit rates, an integration change and an update to the underlying model. Rollback should move the affected cohort or action type back to supervised mode or remove the agent from the workflow, with work in progress handed to people cleanly.

Contact us to build the right product

Talk to our engineers about your application, the systems it connects to, and what you want to build next.

Get in touch
Two people discussing work with a laptop