Skip to content

Evaluating AGENTS.md: Are Repository-Level Context Files Helpful for Coding Agents?

Feb 2026 · arXiv.org · Vol abs/2602.11988 · 28 citations · ⚡ 1 influential · 37 references
Computer Science

TL;DR

This work evaluates coding agents' completion performance in two complementary settings: established SWE-bench tasks from popular repositories, with LLM-generated context files, and a novel collection of issues from repositories containing developer-committed context files.

Abstract

A widespread practice in software development is to tailor coding agents to repositories using context files, such as AGENTS.md. Although this practice is strongly encouraged by agent developers, there is currently no rigorous investigation into whether such context files are actually effective for real-world tasks. In this work, we study this question and evaluate coding agents'task completion performance in two complementary settings: established SWE-bench tasks from popular repositories, with LLM-generated context files, and a novel collection of issues from repositories containing developer-committed context files. Surprisingly, we find that providing context files does not generally improve task success rates, while increasing inference cost by over 20% on average. This observation holds across different LLMs, coding agents, and for both LLM-generated and developer-committed context files. Specifically, we find that while instructions in the context files are well followed by coding agents, repository overviews, although popular and recommended by model providers, are not helpful. We conclude that while context files are useful for specifying non-standard coding practices, any attempts to improve performance should be rigorously evaluated before deployment.

View source

Similar papers

Preprint Oct 2026

Testing with Coding Agents: A Large-Scale Comparison of Agent-Supported and Human-Authored Pull Requests

Context. Coding agents increasingly contribute tests through pull requests that developers then maintain, so how testing work is divided affects long-term maintainability. Objective. We compare pull requests in which developers and coding agents collaborate (agent-supported) with pull requests without detectable agent...

Roberto Milanese, F. Salzano, Hovhannes Muradyan et al. · 0 citations
Preprint Oct 2026

Rivet: Utility-Preserving Context Control for Repository-Level Coding Agents

Rivet is proposed, a context control framework that preserves repository evidence for coding agents under a fixed context budget that achieves the highest Pass@1 in all 16 settings and improves over the strongest baseline by 3.15 percentage points on average.

Ru-Wei Pan, Lin-Hao Wu, Ya-Kun Zhang et al. · 0 citations
#artificial intelligence Review Oct 2026

What Open-Source Projects Tell Their Coding Agents: A Census of AGENTS.md and CLAUDE.md

Coding agents can be guided with instruction files in a repository. We examine this emerging practice through a census of 22,854 popular, active GitHub repositories in thirteen languages, treating each repository's root'AGENTS$.$md'and'CLAUDE$.$md'as one instruction set. Agent instructions appear in 26.3% of repositori...

Pawel Zarzycki · 1 citation

LoLBench: Evaluating Coding Agents with Long-Horizon Proposals on Large Software Systems

LoLBench is a multilingual benchmark of 100 tasks across 29 software systems in five domains that shows that both perception and implementation remain central challenges for coding agents in practical modular development on large software systems.

Yun Peng, Zi-Han Wu, Ze-Yang Zhuang et al. · 1 citation
Book Open access Oct 2026

Context Inheritance: A Git-Native Architecture and Pre-registered Study of Repository Context for AI Coding Agents

AI coding agents repeatedly rediscover project constraints, because repositories version code but not operating knowledge: the decisions taken, the alternatives rejected, the constraints found during execution. We introduce the Repository Context Layer (RCL) — the repository carries its own agent-facing context, versio...

Pavel Kerbel, Milana Kerbel, V. Abramov et al. · 0 citations
#artificial intelligence Preprint Oct 2026

AgentSWE: Can Coding Agents Build the Agent You Actually Want?

AgentSWE is introduced, a benchmark for agent software engineering spanning three stages of the agent development lifecycle: Creation of a complete agent from a natural-language requirement, Editing of production agent codebases, and Optimization toward a measurable target.

Jia-Hao Wang, Hong-Jin Qian, Yuyang Hu et al. · 0 citations

Related blog posts

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.