What is shadow mode for AI agents, and how do you run it?
How shadow mode works, in plain terms
In shadow mode the agent receives a copy of each incoming case, such as a form, a message or a support ticket, and produces the output it would produce if it were live. The output goes to a log, not to the people or systems the business relies on. The staff member handling the case works exactly as before.
The point is to measure the agent on real work without any risk to customers. A demo shows that the agent can handle a good example. Shadow mode shows how it handles the messy, ordinary cases that arrive every day.
How to set it up
Set up the copy of each case as a simple feed, not a change to the team’s process. Give the agent read-only access to the systems it needs, and write its outputs to a log table or a shared sheet. Staff keep their usual tools, so the test does not add new work to the desk.
Keep the agent’s permissions narrow during this phase. It should be unable to send messages, change records or approve anything. If it cannot do those things, a bug in shadow mode cannot cause harm.
What to compare, case by case
For each case, set the agent’s output beside the result the team produced and record the same fields. This turns a vague feeling that the agent is good into a count of what it gets right and wrong.
- Whether the agent reached the same decision as the person, such as the same category or the same next step.
- Whether any facts in the draft were wrong, such as a price, a date or a policy detail.
- How much a reviewer would need to change before the output could be used.
- Whether the agent missed a step that the team always takes, such as checking the account status first.
- Whether the agent would have taken an action that needed approval, and whether it stopped to ask.
How long to run it and which cases to include
Run shadow mode until the cases include the ordinary ones and the difficult ones that appear less often, and until the pattern of errors has stopped changing for several weeks. Write the finish rule down before you start, so the test does not end the moment the results look good.
Include the cases that staff find annoying or unclear. Those are the ones where the agent is most likely to fail, and they are where its weaknesses will show.
Moving from shadow mode to approval mode
When the error pattern is acceptable, move to approval mode. The agent drafts the output, and a named person reviews, edits and sends it. Keep the approval step outside the agent, so the agent cannot approve its own work. Route anything about money, legal wording or complaints straight to a person, whatever the agent says.
Keep logging after the switch and keep comparing for a period. Behaviour can drift when inputs change, and the first weeks of live use are when a new problem is most likely to appear.
Mistakes that spoil a shadow test
Most failed shadow tests fail for the same few reasons. Check for these before you read any result.
- Comparing the agent with an ideal that nobody follows, instead of with what staff actually did.
- Letting staff copy the agent’s output, which contaminates the result and hides the real error rate.
- Testing only easy cases, so the agent looks better than it will in live use.
- Keeping no log of the inputs, which makes it impossible to see why an error happened.
- Changing the instructions in the middle of the test without restarting the count.
How Hundred Seas helps
Hundred Seas is a product studio in Taipei that builds AI agents and AI CRM systems on Claude and on OpenAI models. We choose the model for each task on cost, speed, quality and where the client’s data has to stay. An agent can be designed to run in shadow mode first, so your team can compare its work before it is trusted with live tasks.
We begin with a scope step of about one week at a fixed price, ending in a written plan, a clickable prototype and a firm quote. The build follows in two to four weeks of weekly releases, and a monthly run plan keeps the agent working and up to date once it is in use.
Questions
- Is shadow mode the same as a test environment?
- No. A test environment checks that the software runs. Shadow mode checks whether the agent’s output matches good work on real cases from your own business. It runs on live inputs, but its outputs stay in a log and are never sent or saved to the systems your customers use.
- Do staff have to do double work during shadow mode?
- Yes, for a while. They keep doing the task as usual and also review the agent’s output for comparison. That extra effort is the price of finding errors without risk. Keep the comparison quick by using a fixed checklist, and reduce the effort once the error pattern is clear.
- How do I know when shadow mode is finished?
- When the cases you have seen include both the ordinary and the difficult ones, and the error pattern has stopped changing over several weeks. Write this rule down before you start. Then decide whether to move to approval mode, redesign the agent or stop the pilot, and record the reason.
- Can shadow mode run on customer data?
- It can, but check the rules that apply to that data first. Limit what the agent reads to the fields the task needs, keep the log somewhere your company controls, and confirm with the model provider how it handles the data it receives. The provider’s current data terms and your own privacy notice are the right sources.
- What should a shadow log record?
- For each case, record the input, the agent’s output, the human result, the differences between them and the time each took. Keep the agent’s steps and tool calls too, so you can trace how it reached its answer. A log without the inputs cannot show why an error happened.