A prompt edit is a release. A model swap is a release. A new tool is a release. Ship them like one — with a held-out eval, a written threshold, and a rollback plan.
November 19, 2026 · 6 min read
Software teams learned this lesson decades ago: you do not ship a change because it looks right. You ship it because it passed a test you wrote before you made the change. Agent teams are relearning it the hard way, because an agent change is so easy to make — edit a sentence in a prompt, swap a model, add a tool — that it does not feel like a release at all. It feels like a tweak. And tweaks do not get tested.
But a one-sentence prompt edit can change an agent's behaviour more than a thousand lines of code. A model swap can change its accuracy, its tone, its cost, and its failure modes in one move. Every one of those changes deserves a gate: a defined check, run before the change reaches customers, with a written pass bar and a named person who can say no.
The gate starts with an eval set that the people making the change do not tune against. Real tasks, drawn from real work, with known-good answers — including the awkward cases, the edge cases, and the ones the agent got wrong last month. If the team grades the change on the same examples they used to write it, the test will pass and the lesson will be learned in production instead.
Keep the eval set boring and stable. It is not a benchmark for showing off; it is a tripwire. The same tasks, run the same way, every time, so a change in the score means a change in the agent — not a change in the test. Refresh it on a schedule, from fresh real cases, and retire the tasks that have gone stale. An eval set that never changes is a test the agent has memorised.
A gate without a written threshold is a meeting, not a gate. Before the change is evaluated, write down what passing looks like: task success rate, accuracy against the held-out set, hallucination or fabrication rate, escalation rate, cost per task, and latency. Each one gets a number, and the numbers are set by the risk of the job, not by what the new version happens to score.
A support agent that drafts replies needs a different bar from a billing agent that moves money. The billing agent's fabrication bar should be near zero, and its cost bar can be generous. The drafting agent can trade a little accuracy for speed, as long as a human still reviews the draft. The point is that the trade is decided in advance, in writing, by someone who owns the risk — not discovered afterwards, in an incident review.
Passing the gate earns a canary, not the whole fleet. Ship the change to a small slice of traffic, watch the same metrics you gated on — plus the ones you did not think to gate on, like escalation rate and customer complaints — and compare against the old version running alongside it. A change that passes the eval set and fails the canary has taught you something the eval set could not. That is the canary doing its job.
The canary only works if someone is actually watching it, and if the rollback is ready before the canary starts. A rollback that takes an afternoon is not a rollback plan; it is a hope. The old prompt, the old model, the old tool set — kept ready, tested, and restorable in one step. When the canary turns red, the question should be "who pulls it", not "how do we pull it".
Finally, the gate leaves a paper trail: what changed, why, what the eval said, who approved it, and when it shipped. Six months later, when someone asks why the agent behaves this way, the answer should be a lookup, not a guess. That record is also what makes drift detection possible — without a history of deliberate changes, every change in behaviour looks like drift, and every drift looks like a deliberate change.
None of this slows a team down as much as its absence does. The team without a gate ships faster for a month, and then spends a quarter unpicking a prompt edit nobody can attribute, a model swap nobody approved, and a regression nobody can reproduce. The gate is not bureaucracy. It is the thing that lets a team move fast the second time, because the first time left a record.
← Back to all posts