Evaluating AGENTS.md: Are Repository-Level Context Files Helpful for Coding Agents?
Evaluating AGENTS.md: Are Repository-Level Context Files Helpful for Coding Agents?\n\n
Paper: 2602.11988\n
Authors: Thibaud Gloaguen, Niels Mündler, Mark Müller, Veselin Raychev, Martin Vechev\nVechev
Published: February 2026\n\n##2026
Summary
This paper evaluates whether repository-level context files (like AGENTS.md)) actually help coding agents perform better on real-world software engineering tasks.\n\n##
Key Findings\n\n###Findings
Performance Impact\n-Impact
Cost Impact\n-Impact
Behavioral Changes\n-Changes
AGENTBENCH
AGENTBENCH complements SWE-BENCH LITE (which uses popular repositories without context files).\n\n##
Experimental Setup\n\n###Setup
Coding Agents Evaluated\n-Evaluated
Datasets
Settings Evaluated\n1.Evaluated
Key Insights\n\n###Insights
1. Context Files Make Tasks Harder\nInstructionsHarder
Instructions in context files increase reasoning tokens by 14-22%, suggesting tasks become more complex.\n\n###
2. Context Files Are Redundant\nWhenRedundant
When documentation files are removed from repositories, LLM-generated context files actually improve performance by 2.7% on average.\n\n###
3. Stronger Models Don't Generate Better Context Files\nUsingFiles
Using GPT-5.2 to generate context files improves SWE-BENCH LITE performance by 2% but degrades AGENTBENCH performance by 3%.\n\n###
4. Context Files Encourage Exploration\nAgentsExploration
Agents use more repository-specific tools (e.g., uv,, repo_tool)) and run more tests when context files are present.\n\n##
Recommendations
Limitations
Related Work\n\n-Work
Conclusion
Context files have only a marginal effect on coding agent behavior. While they encourage broader exploration and instruction following, they don't provide effective repository overviews and often make tasks harder. The authors recommend omitting LLM-generated context files and including only minimal requirements in human-written ones.\n\n---\n