# Coding agents mostly read instruction files, not docs sites

> An observational study of 557 agentic coding sessions (preprint) found that instruction files and working notes made up 60.5% of agents' documentation...

Section: Evidence record · Preprint  
Canonical: https://agentexperience.tech/evidence/ev-0011/

An observational study of 557 agentic coding sessions (preprint) found that instruction files and working notes made up 60.5% of agents' documentation interactions, against 10.6% for classical technical documentation and 1.3% for API references.

- **Evidence type**: [Preprint](https://agentexperience.tech/evidence/#class-preprint): posted publicly, not yet peer reviewedevidence class
- **Kind of finding**: Observationfinding type
- **Checked against**: The abstract, 8 Oct 2026 verification
- **Topics**: [docs-for-agents](https://agentexperience.tech/evidence/#pattern-docs-for-agents), [agents-md](https://agentexperience.tech/evidence/#pattern-agents-md) pattern tags
- **Source**: [From Agent Behaviour to Agent-Friendly Documentation](https://arxiv.org/abs/2608.20195), arXiv:2608.20195Gao and Chen · 20 Aug 2026
- **Authors' stake**: None declared in the abstract.conflicts of interest

[Read the source](https://arxiv.org/abs/2608.20195) [Cite this record](https://agentexperience.tech/evidence/ev-0011/#cite)

## What the source measured

- **What was measuredmetric**: Share of documentation interactions by document type
- **Which way it moveddirection**: Not applicable
- **How bigsize**: Instruction files and working notes 60.5%; classical technical documentation 10.6%; API references 1.3%
- **How many casessample**: 557 sessions; 94,813 development events; 3,033 documentation interactions

- **What was measuredmetric**: What prompts a documentation consultation
- **Which way it moveddirection**: Not applicable
- **How bigsize**: Self-initiated 70.2%; failure-driven 7.5%
- **How many casessample**: As above

- **What was measuredmetric**: Behavioural support for "actionable" and "verifiable" documentation
- **With the changetreatment**: Both properties lack consistent behavioural support
- **Which way it moveddirection**: Not applicable
- **How bigsize**: No consistent support
- **How many casessample**: As above, plus 33,097 agentic pull requests

## Who and what was tested

- **Note on models:** Sessions from the public SWE-chat dataset and pull requests from AIDev; agents and models vary and are not named in the abstract.

## Does anyone have a stake?

None declared in the abstract. The full text was not checked for a competing-interest statement.

## Source

[From Agent Behaviour to Agent-Friendly Documentation: An Empirical Study of How Coding Agents Discover, Read, and Write Technical Documentation](https://arxiv.org/abs/2608.20195). Zhijun Gao, Jing Chen. arXiv, 20 August 2026, arXiv:2608.20195.

Every number in this record was checked against the live arXiv abstract page on 2026-10-08. The full text was not re-checked.

## Limits of this finding

- Preprint, not peer reviewed.
- Observational: it shows what agents read, not what helps them.

## What this means if you build tools

For coding agents, the document most likely to be read is the repository instruction file, such as AGENTS.md, not your docs site. Do not assume that making docs "actionable" or "verifiable" changes what agents do; this study found no consistent support for either.

## Related checks

- [Repository instructions give commands and limits](https://agentexperience.tech/insights/agent-readiness-rubric/#read-10): Repository instructions give the commands to build and test, and the things not to do, rather than a tour. Rubric check · supporting

## Cite this record

Cite the original source for any number, and keep the evidence type and the models tested next to the figure. To point at this record, cite it as: AX evidence register, “Coding agents mostly read instruction files, not docs sites”, `https://agentexperience.tech/evidence/ev-0011/`. The record is also in [/evidence.json](https://agentexperience.tech/evidence.json).

## Go here next

- [Example does not match the schema](https://agentexperience.tech/checks/axc-d019/): A published example call fails the schema it illustrates, so an agent copying it gets an error. Rule
- [Write agent-readable documentation](https://agentexperience.tech/insights/make-documentation-legible/): What AI agents read, how to shape a page around a single decision, and how to keep the text true as the product moves. Guide
- [Compact documentation did not help when the source was present](https://agentexperience.tech/evidence/ev-0012/): Across two model families and ten repositories, with a positive control, a preprint found that neither compact natural-language documentation nor retrieved context helped coding agents resolve issues better than the issue alone when the source code was present. Evidence

[Agent scaffolding, not MCP versus CLI, drove cost](https://agentexperience.tech/evidence/ev-0010/)

[Compact documentation did not help when the source was present](https://agentexperience.tech/evidence/ev-0012/)

[All records](https://agentexperience.tech/evidence/)
