Conf42  ·  Chaos Engineering 2026
Steady state Faults Metrics Game day
01 / 20
Conf42 Chaos Engineering 2026

Your AI agent passed every eval. What happens when a tool call times out?

Moeez Khan  ·  moeezkhan.com  ·  github.com/MuhammadMoeezKhan/agent-fault-lab
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

AGENT TOOL LEDGER charge(INV-7, $100) write $100 committed × response lost TIMEOUT
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")
assert count == 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

faultwhat the agent seeslowmediumhigh
timeout after commita timeout; the write landed5%20%35%
delayed visibilitya read-back that misses it5%15%25%
partial success"ok", with half the work done3%10%15%
stale conflicta write based on old datanot 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

policytask successduplicate chargessilent failurespass^8
naive retry80.6%10.2%18.3%18.8%
verify before retry88.2%1.8%11.7%36.9%
idempotency key89.3%0.0%9.9%38.9%
key + verify99.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 times
    if 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 <- ok agent says : successledger says: 2 charge(s), $200 takenverdict : SILENT FAILURE (said success, state is wrong)
Part 4  ·  recorded demo  ·  the same fault

Run 2: key + verify

$ python lost_response.py verified -> charge(INV-7, $100, key=charge:INV-7) server: charge written ... response lost <- TIMEOUT -> get_charge(INV-7) <- count=1, fulfilled=True agent says : successledger says: 1 charge(s), $100 takenverdict : correct (said success, exactly one charge)
And the full grid, 51,200 episodes across four profiles: under a second, standard library, no API key.
Part 4  ·  a one-page game day for an agent team

Run this next sprint

01Pick one tool that changes state. Charges, writes, deploys.
02Write the steady state against the backend.
03Pick one fault and start at low intensity.
04Seed it, sandbox it, contain third-party tools.
05Score two numbers: what landed, what it said. Plus pass^k.
06Fix the smallest thing, rerun the same seed.
07Raise the intensity, add the next fault.
08Make it a CI gate, so it stays fixed.
What these numbers are, and aren't

Read the table as a method, not a leaderboard

What it is

Scripted policies that behave the way agents do around a tool call. They show how a metric moves as faults go in.

What it isn't

A measurement of any particular LLM. To get that, wrap your agent's tool loop, or put the proxy under your client.

A follow-up that runs this method against real MCP servers is coming in January.
Take it with you
01Steady state against real state. Score what landed and what it said, separately.
02The fault taxonomy. Timeout after commit, delayed visibility, partial success, at three intensities.
03pass^k over pass@1. One clean run proves almost nothing.
04The unconfirmed outcome. A sanctioned "I can't confirm it" beats a confident guess.
05A harness to run today. Standard library, no API keys.

Thank you.

scan for the repo
A green eval tells you the agent works when nothing fails. The real world is where things fail.
← → / space  ·  F full-screen