05 From prototype to productLesson 3 of 411 minIntermediateHelps to have seen:Success metricPrompt in production
Launch and operate
- + real customers
The diagram shows: Customers (in the store chat), Splitter (picks who goes where), Agent (the version going live) and Dashboard (plan and numbers).
Highlighted: Splitter.
Customers sends to Splitter carrying "all customers".
Splitter sends to Agent carrying "100%" (faulty data).
Added: real customers.
Step 1 of 9: It passed the test. Go live for everyone?
- Why not turn it on for everyone at once
- Canary: a small slice, compared with the control
- Autonomy by request type
- When and how to roll back
- The routine of operating after launch
Agent against support reps in the same week: resolved and counterweights (sample store)
Coming soon: I will measure this on the example agent and publish the number with the report.
The whole lesson as textEvery step, to read at once, search or print.
It passed the test. Go live for everyone?
The store’s agent passed the set of 50 conversations. The temptation is to turn it on Monday for every customer.
But 50 conversations are not the world. If something goes wrong, every customer sees the error at the same time, and you find out from the volume of complaints.
Passing the test is not the same as ready for everyone.
A small slice first
A puts the change live for only part of the traffic, for a while, and evaluates it before growing. Google’s SRE book uses 5% in its example.
At the store: the splitter sends 5% of conversations to the agent and the rest to the support reps. If it goes wrong, the damage stays within the 5%.
Launching little by little limits the size of the error.
Compare with whoever handles chats today
The 95% handled by people are the control group: in practice, an A/B test. In the same week, with the same kinds of request, you can see whether the agent improves or worsens each number. A small slice needs enough conversations before you trust the difference.
A few numbers, chosen beforehand: the outcome and the counterweights from the metrics lesson. The SRE book suggests no more than a dozen, so the signal does not get lost in the noise.
Without a control, you cannot know whether it improved.
Autonomy by request type
The slice does not have to be only customers. It can also be request types: first what only looks things up, like tracking; then exchanges; refunds last.
Our reading: each type gets autonomy when that type’s dashboard looks good. Refunds, even with the limit in code, come last. It is the same risk yardstick as the human in the loop lesson.
Start with what only reads.
The good number that hid the problem
You saw in the prompt in production lesson the GPT-4o that tried too hard to please. The detail that matters here: the A/B suggested the few users who tested it liked it, and the number did not show the behavior.
OpenAI committed to blocking launches over behavior problems even with a good A/B, and to giving more weight to reading samples. At the store: someone reads conversations every week before growing the slice.
A good number does not replace reading conversations.
Rolling back in minutes
Before turning it on, agree on two things: which number triggers the rollback, and how to roll back. At the store, rolling back is setting the splitter to 0% or switching to the previous prompt and model version, saved with a version number.
In the case of the sycophantic GPT-4o, the rollback started a few days after launch and took about 24 hours. The simpler the rollback, the smaller the damage.
Agree on the alarm and the rollback before turning it on.
When the decline comes from outside
Between August and September 2025, three infrastructure bugs intermittently degraded Claude’s responses. One of them started at 0.8% of Sonnet 4 requests and reached 16% at the worst hour.
Anthropic wrote that the evals it was running did not capture the degradation users were reporting, and said it would run quality evaluations continuously on the production system. The lesson for the store: the agent can get worse without you changing anything.
Run the eval in production, not only before launch.
The routine after launch
Once the agent is live, the work becomes routine. Every week: the dashboard with the outcome and the counterweights, a sample of conversations read and the week’s incidents.
And one rule: every change goes through the test set before going in. A new model, a new prompt, a new policy. Each one goes in through the splitter, in a small slice and one at a time, like the first launch.
Every change is a small launch.
Little by little, with a yardstick and a rollback ready
Launching well is limiting the damage: a small slice, compared with whoever handles chats today, starting with what only reads. With the alarm and the rollback agreed before turning it on.
How to check your own case: before turning it on, write on one page the slice, the control, the numbers, the limit that triggers the rollback and who presses the button.
Launch small, compare, and know how to roll back.
Questions in this lesson
- What is the control group for in the launch?
- To know whether the agent improves or worsens each number. Without comparing with whoever handles chats today, in the same week, you cannot separate the agent’s effect from everything else.
- Which request type gets autonomy first?
- Tracking, which only looks things up. Start with what only reads: a mistake costs one reply, not money.
- Nobody changed the prompt or the model. Can the agent get worse?
- Yes, that is why the eval runs in production. Anthropic saw responses get worse because of infrastructure bugs. A continuous eval finds this before customers do.