Back to all posts
AI Operations7 min read·October 25, 2026

How Do You Run an AI Workflow in Shadow Mode?

TB
ThynkBlox AI Team
AI Engineering

Run an AI workflow in shadow mode by giving it the inputs available to the live process, recording what it proposes, and blocking every route that could change live records or send messages. Keep the existing process responsible for actual outcomes. Compare both paths against agreed criteria before deciding whether to allow a limited live trial.

An AI workflow shadow mode deployment should answer a bounded question: does this proposed workflow make acceptable decisions on representative inputs? It cannot establish how real users will respond to actions they have never received.

What should run alongside the live process?

Choose a defined slice of work, such as classifying incoming requests and proposing their next step. Give each eligible case to the existing process and the shadow workflow independently.

The live process continues normally. The shadow workflow produces a recommendation, proposed changes, draft messages and an exception decision. Those outputs become comparison records, without entering the live work queue.

Write down the boundary before starting:

  • Which cases enter the comparison?
  • What information may the workflow read?
  • Which decisions should it propose?
  • When should it ask for a person?
  • Who reviews disagreements and decides the next step?

Keep the scope narrow enough that someone can judge the result. If the process itself is unsettled, first use which process to automate first with AI to choose a clearer starting point.

How do you prevent external writes and messages?

Treat “do not act” as an enforced boundary. A written instruction to the workflow is not enough for this test design.

Give it read-only access where possible. Replace action capabilities with recording substitutes: a proposed record update becomes a stored proposal; a proposed email becomes a saved draft in the evaluation record. Neither should reach a live destination.

Proposed actionShadow-mode handlingEvidence to retain
Update a customer recordRecord the proposed change without applying itRecord reference, fields and proposed values
Send an email or messageSave the draft without invoking deliveryIntended recipient, body and reason
Create a taskRecord the proposed task outside live queuesOwner, priority and supporting evidence
Submit an approval requestRecord that approval would be requiredReason and intended reviewer role
Call another workflowSubstitute a recorded responseRequested action and assumed result

Check indirect effects too. Include attachments, scheduled jobs, retries and connected workflows in the boundary. Inspect any operation labelled as a read for effects such as acknowledging an item or marking it processed.

Before admitting live inputs, deliberately attempt prohibited actions and verify that they are denied. Check the destination records and message activity as well as the shadow logs. Provide a way to stop the shadow run without interrupting the live process.

What does input parity mean?

Input parity means comparing decisions made from equivalent information available at the same point in the process.

For each case, preserve the incoming content, relevant attachments and the permitted reference data as they stood when the decision was due. Record missing information explicitly. Do not quietly give the shadow workflow a completed record containing answers added later.

Check these sources of mismatch:

  • Timing: Did either path see a later customer reply?
  • Reference data: Did both use the same applicable rules and record versions?
  • Attachments: Did the shadow path receive every relevant page?
  • Context: Did a person use information unavailable to the workflow?
  • Selection: Were difficult or failed cases excluded from the sample?

Where equivalent inputs are unavailable, flag the comparison as limited. A different answer may reflect different information rather than different judgement.

Keep access within the intended operating scope. Shadow evaluation is not a reason to expose every record. What data should an AI agent be able to see? helps define that boundary.

What should a comparison record contain?

Create a matched record for every eligible case, including cases where the shadow workflow fails or produces no answer.

At minimum, capture:

  • A case reference and the input snapshot used.
  • The workflow version and evaluation rules.
  • The live decision and eventual outcome, when available.
  • The shadow recommendation, supporting evidence and proposed actions.
  • Whether the workflow requested human review.
  • Completion time, resource use and any errors.
  • The reviewer’s judgement and reason.

Keep live decisions separate from reviewer judgements. Treat a disagreement as something to investigate, rather than automatically counting the existing answer as correct.

Use agreed categories such as acceptable alternative, missing context, incorrect decision, missed escalation and incomplete run. Compare meaning and consequences; two differently worded drafts may propose the same action.

Store enough evidence to review the decision while limiting unnecessary copies of sensitive material. Agree who can inspect comparison records and when they should be removed.

What does a worked comparison look like?

Consider an illustrative workflow that recommends how to handle an order-change request. The live team continues handling every request.

CaseLive handlingShadow proposalReview finding
Request arrives before dispatchAsk for a missing delivery detailApprove the change immediatelyProposal lacks required information
Request arrives after dispatchRefer to the operations ownerRefer to the operations ownerDecision agrees; check supporting evidence
Request includes an unclear attachmentAsk the customer to clarifyRequest human reviewAcceptable escalation; review draft separately

For each row, inspect the exact inputs and proposed consequences. The first row should count against readiness even if the draft sounds polished.

Also examine the workflow’s next proposed step. If it assumes that an update succeeded, supply a clearly recorded simulated response. Do not present later recommendations as evidence that the live update or its consequences were tested.

What exit criteria should you agree before starting?

Set exit criteria before examining results. Define acceptable error levels, required case coverage and stop conditions for the chosen process.

Use a checklist such as:

  • Representative routine cases and known exceptions have been reviewed.
  • Input mismatches have been resolved or excluded with reasons.
  • Unacceptable decisions stay within the agreed limits for each risk category.
  • Required approval and escalation cases are recognised.
  • Failed runs and missing outputs are included in the assessment.
  • Completion time and operating cost fit the proposed use.
  • Prohibited writes and deliveries remain blocked.
  • Every material unresolved issue has an owner and a disposition.

Assess consequential mistakes separately from minor wording differences. An overall agreement score should not conceal an unacceptable action on a sensitive case.

Choose an explicit outcome: stop, revise and repeat, or proceed to a limited live trial. How to run an AI pilot that ends in a decision explains how to make that decision concrete.

What are the common mistakes?

Letting drafts reach real recipients. Keep previews and evaluation outputs away from delivery paths.

Testing only completed cases. Include timeouts, missing data, unreadable attachments and cases that require escalation.

Changing the workflow without separating results. Identify each version so earlier evidence is not attributed to a later design.

Counting agreement as correctness. Review the evidence and consequences behind both decisions.

Treating simulated actions as tested integrations. A recorded update proposal does not verify that a real update will succeed.

Claiming user acceptance. Shadow mode provides no direct evidence of customer reactions, staff reliance or behaviour after receiving a message.

What should happen after shadow mode?

If the exit criteria are met, consider a restricted live trial with a defined scope, approval rules and a stop procedure. Keep consequential actions subject to the agreed review boundary; human approval steps for AI agents covers where that review belongs.

Use the trial to examine what shadow mode left unanswered: actual delivery, live system behaviour, user responses and recovery from mistakes. Carry those unknowns into the trial plan explicitly.

What are the frequently asked questions?

Is shadow mode the same as a dry run?

Define the terms in your plan. Here, shadow mode means running beside the live process on matched inputs. A dry run may instead use a prepared set of historical cases.

Can shadow mode use live data?

Yes, within the agreed access and handling rules. Reading live data does not require permission to change it. Preserve the information needed for a fair comparison without widening access unnecessarily.

How long should the shadow run last?

Base the decision on case coverage and exit criteria. A quiet period containing only straightforward cases is insufficient evidence for exceptions that have not appeared.

Does passing shadow mode justify full automation?

No. It supports the next bounded deployment decision. Real actions, integration effects and user responses still need evaluation under controlled live conditions.

Ready when you are

Want to talk this through for your business?

Send us the process you are thinking about. You will hear back from an engineer, not a sales team.