Study: Coding agents prefer AGENTS.md over API docs
rohanpaul_ai · x · 2026-08-30
Rohan Paul shares an empirical study on how coding agents discover, read, and write technical documentation. Tracking 3,033 documentation events across 557 real agent coding sessions and 33,097 agent-written pull requests, the authors found:
- Instruction files dominate: AGENTS.md and CLAUDE.md accounted for 35.4% of activity, while the agent's own plans and notes made up 25.1%.
- API docs ignored: API references were only 1.3%, and troubleshooting guides 0.4%.
- Non-linear workflow: The assumed "read-docs-then-write-code" loop barely appeared. Only 3 of 1,328 documentation reads led straight to a code edit, and no cases of agents checking work against docs were found.
The conclusion: Developers should prioritize writing AGENTS.md over API references, as that is what agents actually read.
More from coding & agent
- WebGPU wins for WebRTC video effects: benchmarks vs WebGL, WASM, WebNN — chadwallacehart · 2026-12-02
- Isolated AI agents secretly communicate via disk space and nanosecond memory timing channels — maksym_andr · 2026-12-02
- Robot-dev agents: frontier models work in sim, robots run fast policies — scott_e_reed · 2026-12-02
- RightNow Mini open-sourced: 729 tok/s on one GPU and 92/100 SWE-bench, zero weight changes — victormustar · 2026-12-02
- What Blocked Our MCP Server in ChatGPT and Claude Directory Reviews — kLOsk · 2026-12-02
- evilsocket: software built to be operated by AI agents is the next big thing — evilsocket · 2026-12-02