[Disclaimer: The opinions, insights, and perspectives shared here are solely my own and do not reflect those of my current or past employers, nor do they convey any confidential information by any means.]
This is the write-up for my Conf42 Chaos Engineering 2026 talk, “Your AI Agent Passed Every Eval. What Happens When a Tool Call Times Out?” If you followed the link on the closing slide, this is the method, the full table, and every source.
The idea in four lines
- Agents act now. They charge cards, write records, open tickets, run deploys and send emails. Each of those is a tool call: the agent asking a real system to change something.
- Most evals test against tools that always answer cleanly. With no faults, all four agent designs below score 100%. The eval can’t tell them apart.
- Real tools time out, lag, and half-finish. Turn on faults at published rates and a plain retry agent double-charges 10.2% of invoices.
- So point chaos engineering at the agent. Define the steady state from the backend, inject realistic tool-call faults, and score what landed separately from what the agent said.
The fault to remember: the lost response
The agent asks a billing tool to charge invoice 7, $100. The tool writes the charge to the ledger. The reply is lost on the way back, and all the agent sees is a timeout.
It can’t know whether the charge happened. A retry is correct for a call that failed before it did anything, and wrong for one that succeeded but lost its reply. A clean eval never shows the agent the second case, so it never learns the difference.
Three faults, three intensities
These are three of the four non-atomic faults in Mansoor, Phadke and Rana (2026), with their low, medium and high probabilities from Table 1 of the paper:
| fault | what happens | low | medium | high |
|---|---|---|---|---|
| timeout after commit | the response is lost, the write may have happened | 5% | 20% | 35% |
| delayed visibility | a committed write is missed by the next 2 read-backs | 5% | 15% | 25% |
| partial success | the charge is recorded, fulfillment is not, the call still says ok | 3% | 10% | 15% |
The fourth, stale conflict (a write based on data that changed underneath it), isn’t modelled in the harness yet.
Medium is a stress setting taken from published measurements, not a claim about your system. Start at low in your own game day. The ordering of the designs is the same there: at low, the plain retry agent double-charges 3.2% and fails silently on 6.1%, while the key plus verify design scores 0.0% on both.
You can inject in three places: in the tool (a simulated ledger, the fastest loop and the one every number here uses), at the transport (a proxy between any client and an MCP server), or in the real backend (closest to production, slowest). Whichever you pick, keep the blast radius small: seed the faults so a changed number means a changed agent, give every trial a fresh sandboxed backend, run third-party tool servers in a container, and change one tool, one fault, one intensity at a time.
Score two numbers, not one
The agent’s report and the real state can disagree, and only scoring them separately shows where:
| real state right | real state wrong | |
|---|---|---|
| agent says success | correct: one charge, fulfilled | silent failure |
| agent says failure | false alarm: a human double-checks | honest failure: someone retries safely |
The silent failure is the cell that hurts. Nobody checks, because the agent said it was fine. And there’s a third answer most agents don’t have: unconfirmed, “I can’t confirm it,” a sanctioned way out instead of a confident guess. More on that below.
Most evals check the transcript. The steady state reads the ledger:
# what most evals check: did the agent say it worked?
assert "charged" in reply
# the steady state: what actually landed
count, fulfilled = ledger.final_state("INV-7")
assert count == 1 and fulfilled
# scored separately
report in ("success", "failure", "unconfirmed")
Ground truth comes from reading the backend. Nothing in the verdict reads the tool’s response or the agent’s summary, because the tool’s response is exactly the thing that got lost.
The results
One task: charge an invoice exactly once and apply its fulfillment. Four scripted designs, 200 invoices x 16 trials = 3,200 episodes per row, seed 0. “Silent failures” are episodes where the agent reported success while the real state was wrong.
| faults | policy | task success | duplicate charges | silent failures | pass^8 |
|---|---|---|---|---|---|
| medium | naive-retry | 80.6% | 10.2% | 18.3% | 18.8% |
| medium | verify-before-retry | 88.2% | 1.8% | 11.7% | 36.9% |
| medium | idempotency-key | 89.3% | 0.0% | 9.9% | 38.9% |
| medium | idempotency-key+verify | 99.8% | 0.0% | 0.0% | 98.5% |
| high | naive-retry | 66.2% | 19.8% | 29.1% | 3.8% |
| high | idempotency-key+verify | 99.2% | 0.0% | 0.0% | 94.1% |
With no faults, every row reads 100.0%, 0.0%, 0.0%, 100.0%.
How much to trust it: the naive retry’s 10.2% duplicate rate has a Wilson 95% interval of 9.2% to 11.3%. Across seeds 1 to 3, the largest difference from seed 0 in any cell is 1.7 points for task success, 2.2 for duplicate charges and 1.9 for silent failures. pass^8 is noisier at 200 tasks, up to 8.9 points, so read it to the nearest ten. In the worst case, where every lost response had already committed, naive retry double-charges 19.5% of tasks at medium and 35.4% at high.
Why each fix alone leaves a residue
- An idempotency key alone stops duplicates, because the server recognizes the retry. But a partial success still answers ok, so the agent reports success with the fulfillment missing: 9.9% silent failures at medium.
- One read-back alone catches most duplicates. But delayed visibility fools it: the read misses a committed charge, the agent concludes nothing happened, and retries. 1.8% still get charged twice.
Idempotency isn’t new. What the table shows is that for an agent, the key is necessary and not sufficient.
The combination, and a third answer
Only the combination holds: send a key, keep reading the ledger until the result shows up, finish anything half-done, and only then report. When it still can’t confirm exactly one fulfilled charge, it says so.
for _ in range(3):
try: ledger.charge(inv, amt, idempotency_key=key)
except ToolTimeout: pass
# read back, up to 3 times
state = poll(ledger, inv)
if state.count >= 1:
if not state.fulfilled: ledger.complete_fulfillment(inv)
if exactly_one_fulfilled(ledger, inv):
return "success"
return "unconfirmed"
# never a confident guess
return "unconfirmed"
At medium faults this design reports unconfirmed on 0.2% of runs, and on 0.8% at high. That’s the price of never guessing, and it’s cheap. Most agents don’t have that third answer at all, so they guess.
pass^k, not pass@1
One clean run proves almost nothing. pass@1, the number most dashboards show, asks whether one try succeeds. pass^k, from tau-bench, asks whether k tries in a row all succeed. If runs are independent:
- 99% per run gives about 92% for eight in a row.
- 95% per run gives about 66%.
- 90% per run gives about 43%, less than a coin flip for an agent most dashboards would call 90% good.
Real trials correlate, so measure it directly from repeated trials: tau-bench’s estimator is C(c,k)/C(n,k) per task, where c of n trials succeeded, averaged over tasks. An agent you run thousands of times a day lives on this number, not on pass@1.
Five things to take with you
- Check the real state. Score what landed and what the agent said, separately.
- Use the fault list. Timeout after commit, delayed visibility, partial success, at three intensities.
- Measure pass^k, not just one try. One clean run proves almost nothing.
- Give your agent a way to say “I can’t confirm it.” It beats a confident guess.
- Run the harness today. Standard library Python, no API keys.
Try it on your own agent
agent-fault-lab is MIT licensed and has no dependencies beyond the standard library (pytest for the tests). The full grid, 51,200 episodes, runs in under a second.
python -m venv .venv && source .venv/bin/activate
pip install -e ".[dev]"
agent-fault-lab simulate # writes results/results.md and results.csv
To measure your own agent, wrap its tool-calling loop so its calls go through the ledger. A policy is any object with a name and a run(ledger, invoice, amount) method that returns "success", "failure" or "unconfirmed":
from agentfaultlab import MEDIUM, run_experiment, summarize
episodes = run_experiment(MyAgent(), MEDIUM, tasks=200, trials=16)
print(summarize(episodes, k=8))
Or leave the agent alone and put the proxy in front of its real MCP server. This loses the reply to the first write_file call and records every message to a trace:
agent-fault-lab proxy --fault F1:write_file@1 --trace trace.jsonl \
-- npx -y @modelcontextprotocol/server-filesystem /tmp/sandbox
A one-page game day for next sprint: pick one tool that changes state; write the steady state against the backend; pick one fault and start at low; seed it, sandbox it, and contain third-party tools; score what landed and what the agent said, plus pass^k; fix the smallest thing and rerun the same seed; raise the intensity and add the next fault; then make it a CI gate so it stays fixed.
What these numbers are, and aren’t. They come from scripted policies that behave the way agents do around a tool call, and they show how each metric moves as faults go in. They are not a measurement of any particular LLM. To get that, run your own agent inside the harness, or put the proxy under its client.
Sources
- Mansoor, Phadke, Rana, “Verified Tool Calls Improve LLM Agent Reliability Under Non-Atomic Failures,” arXiv 2608.02645 (2026). Fault types and the low, medium and high probabilities (Table 1).
- Yao, Shinn, Razavi, Narasimhan, “tau-bench,” arXiv 2406.12045 (2024). The pass^k metric and its estimator.
- agent-fault-lab, the harness behind every number here. The full grid, with confidence intervals and the unconfirmed column, is in results/results.md.
