Canary Deployment
A release strategy where a new version of an AI agent is deployed to a small percentage of traffic (e.g., 5%) while the existing version handles the rest. If the canary shows degraded performance—higher error rates, lower quality scores, or increased latency—the rollout is halted before it affects all users. Canary deployments are critical for AI agents because prompt changes, model updates, and new tool integrations can cause subtle quality regressions that aren't caught by offline testing alone.
Example
A team updates their support agent's system prompt to be more concise. They canary the change to 5% of traffic and monitor quality scores. The canary shows a 15% increase in escalation rate—the shorter responses are missing important details. They roll back before the change reaches production.
Frequently asked questions
- How do you evaluate a canary for an AI agent?
- Key metrics to compare between canary and control: user satisfaction signals (thumbs up/down, escalation rate), task completion rate, latency, cost per interaction, and guardrail activation rate. For agents where quality is subjective, run LLM-as-judge evaluations on a sample of canary responses and compare against the control baseline.