Topic 1 of 5 · 3 min read
Staged rollouts for AI features
Goal: Write a staged rollout plan with cohorts, a kill switch and the criteria to move from one stage to the next.
Release an AI feature to a few people first, and move to the next group only when written criteria say the last group went well. An AI feature fails in ways a demo never shows, so the first real users should be the ones who can tell you cheaply.
Check yourself · 1 of 3
A team will release an AI drafting tool in three steps: staff, then 30 customers, then everyone. What should decide when each step is allowed?
Why it matters
A normal feature either works or throws an error. An AI feature can look fine and still be wrong one answer in twenty. You only learn that rate from real inputs, and real inputs are messier than your test set. A staged rollout limits how many people see a bad answer while you learn.
How to do it
- Internal stage. Your own team uses the feature for real work for a week or two. Ask them to report bad outputs in one shared place.
- Beta cohort. Invite a small group of friendly customers or staff from another department. Tell them it is a beta and that you will read their feedback.
- Percentage rollout. Put the feature behind a feature flag, a setting that turns it on for some users without a new release. Raise it in steps, for example 5%, 25%, then everyone.
- Kill switch. One setting, owned by a named person, that turns the AI feature off and falls back to the old workflow. Test it before launch. A switch nobody has tried is a hope.
- Exit criteria. Write down, per stage, what must be true before you move on. Use the quality bar you set earlier: the pass rate on your eval set, the share of sampled outputs a reviewer accepts, the cost per task, and the number of serious incidents (zero is a fair target for the first stages).
Before and after
Before: "We will launch the summariser next Tuesday to all customers and watch the feedback."
Nothing limits the damage, nobody can turn it off, and "watch the feedback" is not a decision rule.
After: "Week 1: internal team. Week 2: 20 beta customers. Weeks 3-4: 5%, then 25% behind the flag
ai_summary. Move up only if reviewers accept at least the agreed share of 50 sampled summaries per stage, cost per summary stays under budget, and there are no privacy incidents. Dana owns the kill switch and tested it on day one."
What goes wrong
- The percentage rises on a calendar date, not on evidence, so a known problem ships on schedule.
- The beta cohort is only enthusiasts, who forgive errors that ordinary users will not.
- The kill switch removes the feature but leaves users with no old workflow to fall back on.
A feature flag is a small piece of code. If you build it, the shape is simple.
if (flags.isOn("ai_summary", user.id)) {
return await summarise(doc);
}
return legacySummary(doc);
Examples
A rollout plan with gates
| Stage | Who | Move on when |
|---|---|---|
| Internal | Support team, 12 people, 2 weeks | Reviewers accept the agreed share of sampled drafts and no wrong refund promises appear |
| Beta | 30 opted-in customers | Complaint rate is no higher than for human-written replies, cost per reply within budget |
| 5% then 25% | Random users behind the flag | Same checks on a fresh sample at each step, zero privacy incidents |
| 100% | Everyone | Kill switch tested again, weekly review running |
Each row says who sees the feature and what evidence ends the stage.
Kill switch that was never tested
A team added a flag to turn off an AI reply drafter. When a bad prompt change shipped, they flipped it and the whole support inbox went blank, because the old template path had been deleted. The fix is to test the off state in staging before launch, and to keep the old workflow alive until the AI feature has been stable for a full release cycle.
Key points
- Move through stages (internal, beta, percentage) so that a bad output reaches few people first.
- Every stage has written exit criteria based on your quality bar, not a calendar date.
- A feature flag lets you raise or lower exposure without shipping new code.
- A kill switch needs a named owner, a tested fallback to the old workflow and a rehearsal before launch.
- Beta users should include people who are not fans of the feature, or you will hear only the forgiving feedback.
Common mistakes
- Launching to everyone on the announced date even though the stage criteria were not met.
- Having no way to turn the feature off without a new deployment.
- Choosing beta users who are all internal fans, so the cohort never meets a hard case.
- Writing criteria such as "feedback looks good" that nobody can check.
Check yourself · 2 of 3
What is a kill switch for an AI feature?
Check yourself · 3 of 3
You raised a feature from 5% to 25% of users and complaints doubled the same day. What is the sensible move?
Practice items, not counted towards your mastery.
Start here
- Feature Toggles (martinfowler.com) (opens in a new tab)ArticleFree
Explains feature flags and kill switches, the tools behind staged rollouts.
- A Field Guide to Rapidly Improving AI Products (Hamel Husain) (opens in a new tab)ArticleFree
Error analysis and eval habits for improving an AI product after launch.
- Expanding on what we missed with sycophancy (OpenAI) (opens in a new tab)ArticleFree
A candid post-launch account of a rollout that went wrong and what changed.
More for this topic
- Canarying releases (Google SRE Workbook) (opens in a new tab)BookFree
How to expose a change to a small share of traffic and judge it before widening.