A support agent made reliable, and measured independently

The AI agent said it succeeded 98% of the time. It really succeeded 69%. Measured independently, its real success rose to 98% and losses fell to $0.

Tolok Labs · · 2 min read Simulated data

69% → 98%real task success, measured independently

A 90-second walkthrough video is coming. Book a call and we'll walk you through it live.

In short: a customer support agent reported success on about 98% of its tasks. Checked against the real outcome of each task, it succeeded on 69%, and wrong refunds cost $43,365 per 3,000 tasks. Over five versions, measured independently each time, real success rose to 98% and losses fell to $0. The agent’s own report barely moved throughout.

The situation

An online store (fictional) uses an AI agent for customer support: refunds, address changes, order questions and policy answers. The agent works through tools connected to the store’s systems, so its mistakes cost real money.

The question

Is the agent good enough to trust with customers and money?

Asking the agent doesn’t answer that. An AI agent’s report of what it did is a claim, not a measurement.

What we checked

For every task, we compared the agent’s claim with what actually happened in the store’s systems: whether the refund was right, whether the address really changed, whether the policy answer was true.

We also tested the usual ways teams measure agents: test sets built from demos, test sets the agent had never seen, and AI judges from the same and from different model families.

What we found

Version Agent says it succeeded Really succeeded Money lost (per 3,000 tasks)
1 97.7% 69.1% $43,365
2 99.4% 78.2% $32,375
3 98.6% 86.6% $0
4 99.6% 92.6% $0
5 99.7% 97.6% $0
  • The agent’s report barely moved while its real success rose 29 points. Only an independent check could see the difference.
  • Test sets built from demos, and judges from the same model family, overstated quality. Test sets the agent had never seen landed close to the truth.
  • Losses stopped when the rules moved into code. Asking the agent to follow a refund rule wasn’t enough; enforcing the rule outside the agent was.
  • One version that scored better on quality was still held back, because it broke the cost limit agreed before release.

What it means for your agent

  • Measure outcomes, not claims. Decide what a real success is for each task, and check it in your own systems.
  • Rules that must always hold belong in code. A prompt is a request. A guardrail in code is a guarantee.
  • Decide the release rule before you see the results, including cost.

Conditions

Simulated store and simulated agent (a model of agent behaviour, not a real language model), 3,000 tasks per version. Real models fail in messier ways; the measurement problems shown here (claims, biased judges, overfitted test sets) behave the same way with real agents.

Questions

Why can't you trust an AI agent's own report of success?

Because what the agent says it did is a claim, not an outcome. In this case the agent reported 98–100% success in every version, while its real success ranged from 69% to 98%.

What does measuring an agent independently mean?

Checking the real outcome of each task, such as whether the refund was right, instead of the agent's own report, and using test cases and judges that are separate from the agent.

Is this a real client?

No. It is a simulated online store with a simulated agent. Simulation is the only setting where the true outcome of every task is known, so every measurement can be scored against it.

Bring the decision you're unsure about.

Book a 20-minute call