First page of the paper

Preprint, Zenodo · November 2026

Chaos Monkey for Coding Agents: Measuring How Coding-Agent Harnesses Recover When Their Tools Fail

Daniel Ávila Arias · Independent Researcher

Abstract

Coding agents run inside harnesses that execute their tool calls, and those tools fail: commands error, reads return nothing or stale data, and calls that succeeded report failure. We present Chaos Monkey for Coding Agents (CMCA), an open benchmark that applies one seeded fault model at two layers: an MCP proxy in front of mock services, and injectors loaded through each harness's own hooks that fault its built-in read, edit, search and shell tools, restricted to fault types a conformance suite shows each harness delivers. Every configuration uses the same main model, so rows compare harness configurations; the native-track fx row is fxh, a fork that adds tool hooks. Besides success under faults, CMCA reports whether agents state their outcome honestly, whether stale data reaches their output, and what recovery costs. On 37 service and 36 native tasks (3,011 trial runs), fx leads the service track (83 of 111 faulted trials) and fxh the native track (95 of 108), but no pairwise difference survives Holm correction. Among failed trials that received a fault, agents still reported success in 60% to 94% of cases. Code, tasks, trajectories and analysis are public.

Cite

@misc{avila_arias_cmca_paper_2026,
  author    = {\'{A}vila Arias, Daniel},
  title     = {Chaos Monkey for Coding Agents: Measuring How Coding-Agent Harnesses Recover When Their Tools Fail},
  year      = {2026},
  publisher = {Zenodo},
  note      = {Preprint},
  doi       = {10.5281/zenodo.24403111},
  url       = {https://doi.org/10.5281/zenodo.24403111}
}

Paper license CC BY 4.0. Code Apache-2.0, data CC BY 4.0.