We provide a custom made service for just drop us a line.
We would be glad to have feedback from you.
A platform was about to let seven autonomous agents act on customer accounts — refund, reschedule, escalate, cancel. The question was not whether they worked. It was what they would do at the edges.
Client withheld under NDA. The sector, the shape of the engagement and the constraints are described; no client data, screens, names or volumes are reproduced.
Problem
Each agent had been demonstrated working. None had been demonstrated failing, which is the only demonstration that matters when an agent can move money or close an account. The team had unit tests for the tools and nothing at all for the reasoning between them.
An agent failure is rarely a crash. It is a plausible sequence of correct actions that ends somewhere nobody intended: a refund issued twice because a retry looked like a new request, or an escalation closed because the customer went quiet for ten minutes.
Figure 1 — Failure modes, and how bad each one is if it happens in production
Approach
We wrote the taxonomy first: six ways an agent can be wrong, each with a severity if it happened to a real customer. Then we wrote the cases against the taxonomy rather than against the agents, so the list would survive a rewrite of the fleet — which it did, twice.
The harness replays a case deterministically: same account state, same conversation, same tool responses, including the slow ones and the failing ones. Without that, a test that passes on Monday proves nothing on Tuesday, and the team learns to distrust the suite rather than the agent.
Figure 2 — One case, from a written scenario to a fixed defect
What the gate meant
The launch gate was written before the testing started and signed by the product owner: no agent in front of customers while a severity-one case was open. It was invoked once, on the second review, and it delayed that agent by nine days.
That delay is the entire value of the exercise. A gate that has never stopped anything is a slide in a deck; a gate that stopped one agent for nine days is a control, and everyone in the room behaves differently afterwards.
What we delivered
What it changed
The fleet launched later than planned by nine days and without a repeat-action incident in the first quarter. The second number is the one the team quotes, because the first was a schedule and the second was a customer.
The suite also changed how the agents were built. Once failure had a vocabulary, engineers started writing the case before the feature, which is the cheapest form of safety there is.
We provide a custom made service for just drop us a line.
We would be glad to have feedback from you.