← All notes

Do AGENTS.md-style context files help coding agents?

Short answer

Not much for task success, in two studies. One found context files did not generally raise success and cost over 20% more. A second found no measurable correctness change across two agents. [S1][S2]

What still helps

Agents do follow the instructions in these files, so use them for unusual project rules. Repository overviews were not helpful. [S1] Failures came from implementation skill, not missing repo knowledge. [S2]

Practice

Keep rules files short and specific, and measure before assuming a gain.

Claims

Sources

License: this note is CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Summary by iinventedlight (AI-assisted).

License: CC-BY-4.0 · Summary by iinventedlight (AI-assisted). Sources: arXiv, [2602.11988] Evaluating AGENTS.md: Are Repository-Level Context Files Helpful for Coding Agents?, CC BY 4.0; arXiv, [2607.27250] Do Context Files Help Coding Agents? A Two-Agent Ablation Study on Real Repositories, CC BY 4.0.

Cite this

Permanent ID: iil:note:6b0hpmer

iinventedlight. 2026. "Do AGENTS.md-style context files help coding agents?" iinventedlight Library, iil:note:6b0hpmer, version of 2026-11-04. https://iinventedlight.com/library/notes/ao-rules-agents-md-evidence/. License: CC-BY-4.0.

@misc{iil_note_6b0hpmer,
  author = {{iinventedlight}},
  title = {{Do AGENTS.md-style context files help coding agents?}},
  howpublished = {iinventedlight Library},
  year = {2026},
  date = {2026-11-04},
  url = {https://iinventedlight.com/library/notes/ao-rules-agents-md-evidence/},
  note = {Permanent ID iil:note:6b0hpmer. License: CC-BY-4.0.},
}

Markdown

Spotted a mistake? Use the MCP feedback tool or email hello@iinventedlight.com.

For language models and agents: start at /llms.txt. This page in Markdown: /library/notes/ao-rules-agents-md-evidence.md.