Views my own, not my employer's. No confidential information.
Four agent designs · one billing task · 3,200 seeded episodes each
100%
every design, with no faults injected. The eval can't tell them apart.
10%
of invoices double-charged by a plain retry agent, once realistic faults are on.
18%
of runs where that agent reported success and the real state was wrong.
Scripted policies in an open harness, labelled as such. The harness is how you measure your own agent.
Why this is a chaos engineering problem now
Agents don't just answer anymore. They act.
charge a cardwrite a recordopen a ticketrun a deploysend an email
The gap
Their evals run against tools that always answer cleanly. Production tools time out, lag, and half-succeed. That's the happy path problem chaos engineering was invented for.
The one fault to remember
The lost response
The question
The agent sees a timeout. Did the charge happen? It can't know. If it retries, it may charge twice.
The method we already have
Chaos engineering, pointed at an agent
Principles of chaos
1. Hypothesize a steady state 2. Vary real-world events 3. Run where it's realistic 4. Automate it, run it continuously 5. Minimize the blast radius
For an agent
1. Steady state = the backend's real state 2. Tool-call faults at measured rates 3. Proxy or harness, not just unit mocks 4. A gate in CI, seeded 5. Sandboxed state, containers for third-party tools
The rest of this talk is four parts: steady state, faults, metrics, game day.
Part 1 · steady state
Score two things separately: what landed, and what the agent said.
real state right
real state wrong
agent says success
correctone charge, fulfilled
silent failurethe one that hurts
agent says failure
false alarma human double-checks
honest failuresomeone retries safely
agent says unconfirmed
unconfirmed"I can't confirm it." A sanctioned third answer, instead of a confident guess.
Part 1 · steady state
Write the hypothesis against the ledger, never against the transcript
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")
assertcount == 1 and fulfilled# scored separately
report in ("success", "failure", "unconfirmed")
Rule
Ground truth comes from reading the backend. Nothing in the verdict reads the tool's response or the agent's summary.
Part 2 · a fault taxonomy for tool calls
Four faults, three intensities
fault
what the agent sees
low
medium
high
timeout after commit
a timeout; the write landed
5%
20%
35%
delayed visibility
a read-back that misses it
5%
15%
25%
partial success
"ok", with half the work done
3%
10%
15%
stale conflict
a write based on old data
not modelled here
Rates from Mansoor, Phadke, Rana (2026), arXiv:2608.02645, Table 1. Medium is the default experiment.
Part 2 · where to inject
Three places to break it on purpose
agent
proxy
at the transportlost response, duplicate delivery, silent OK. Works with any client.
tool / MCP server
in the toola simulated ledger. Fastest loop, no keys.
backend
in the backendlag, partial writes. Closest to real.
# put a fault under a real client, leave the client alone
agent-fault-lab proxy --fault F1:write_file@1 --trace trace.jsonl \
-- npx -y @modelcontextprotocol/server-filesystem /tmp/sandbox
Part 2 · keep the blast radius small
Chaos on an agent should never touch a real card
seededthe same faults every run, so a change is a real change
sandboxed statea fresh backend per trial, read by an observer
containedthird-party tools in a container: no host home, no network
scopedone tool, one fault, one intensity at a time
Why containers
A tool server is third-party code that runs with your permissions. Treat starting it as part of the experiment, not as setup.
Part 3 · metrics a clean run hides
Four numbers instead of one
duplicate-action rate
two or more charges for one invoice, with a confidence interval
silent-failure rate
the agent said success; the real state is wrong
unconfirmed rate
how often it said "I can't confirm" instead of guessing
pass^k
the chance a task succeeds k times in a row (tau-bench)
Part 3 · pass^k over pass@1
One clean run proves almost nothing
99% per run
92%
95% per run
66%
90% per run
43%
pass^8: the chance all eight runs succeed, if runs are independent. An agent you run thousands of times lives here.
Part 3 · medium faults · 3,200 episodes per row · seed 0
Same task, four designs
policy
task success
duplicate charges
silent failures
pass^8
naive retry
80.6%
10.2%
18.3%
18.8%
verify before retry
88.2%
1.8%
11.7%
36.9%
idempotency key
89.3%
0.0%
9.9%
38.9%
key + verify
99.8%
0.0%
0.0%
98.5%
With no faults, all four rows read 100%. Scripted policies; across seeds 1 to 3, cells move by about 2 points.
Part 3 · what the table says
Each fix alone leaves a residue
An idempotency key alone
Stops duplicates. But partial success still says "ok": 9.9% silent failures.
One read-back alone
Catches most duplicates, but delayed visibility fools it: 1.8% still double-charged.
Only the combination holds
Key, then a polled postcondition check, then repair, then report. 0.0% silent failures, 98.5% pass^8.
Part 3 · the unconfirmed outcome
Give the agent a sanctioned way to say "I can't confirm it"
for _ in range(3):
try: ledger.charge(inv, amt, idempotency_key=key)
except ToolTimeout: pass
state = poll(ledger, inv) # read back, up to 3 timesif state.count >= 1:
if not state.fulfilled: ledger.complete_fulfillment(inv)
return"success"if exactly_one_fulfilled(ledger, inv) else"unconfirmed"return"unconfirmed"# never a confident guess
At medium faults it says "unconfirmed" on 0.2% of runs. That's the price of never lying, and it's cheap.
Part 4 · recorded demo · one lost response, scripted so every run is the same
Run 1: a plain retry agent
$ python lost_response.py naive -> charge(INV-7, $100) server: charge written ... response lost <- TIMEOUT -> charge(INV-7, $100) server: charge written <- okagent says : successledger says: 2 charge(s), $200 takenverdict : SILENT FAILURE (said success, state is wrong)