mlsanityData to 7 Oct 2026

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

arXiv 2602.11988 ↗First posted 12 Feb 2026cs.SE cs.AIcited by 19

On the map: LLM agents and tool use → Software engineering coding agents

Abstract (arXiv)

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.

Key facts. Cited by 19 papers in the map (data through 7 Oct 2026). Placed in Software engineering coding agents, one of 16 directions in LLM agents and tool use. Builds on 22 of its 37 references that are in the map. First posted on arXiv 12 Feb 2026.

Builds on

22 of 37 references.

Closest ancestors · 5

Same direction, newest first

  1. 2025Agent READMEs: An Empirical Study of Context Files for Agentic Coding17 Nov
  2. 2025SWE-rebench: An Automated Pipeline for Task Collection and Decontaminated Evaluation of Software Engineering Agents26 May
  3. 2024OpenHands: An Open Platform for AI Software Developers as Generalist Agents23 Jul
  4. 2024SWT-Bench: Testing and Validating Real-World Bug-Fixes with Code Agents18 Jun
  5. 2024SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineering6 May

Other references · 17

  1. 2025Qwen3 Technical Reportcited by 8,195
  2. 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,767
  3. 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,193
  4. 2025OpenAI GPT-5 System Cardcited by 910
  5. 2025Agentic Context Engineering: Evolving Contexts for Self-Improving Language Modelscited by 349
  6. 2025Dynamic Cheatsheet: Test-Time Learning with Adaptive Memorycited by 146
  7. 2022MultiPL-E: A Scalable and Extensible Approach to Benchmarking Neural Code Generationcited by 132
  8. 2025FEA-Bench: A Benchmark for Evaluating Repository-Level Code Generation for Feature Implementationcited by 57
  9. 2025BaxBench: Can LLMs Generate Correct and Secure Backends?cited by 38
  10. 2025SWE-Perf: Can Language Models Optimize Code Performance on Real-World Repositories?cited by 33
  11. 2023Measuring The Impact Of Programming Language Distributioncited by 32
  12. 2025Automated Benchmark Generation for Repository-Level Coding Taskscited by 27
5 more
  1. 2025EditLens: Quantifying the Extent of AI Editing in Textcited by 26
  2. 2025Context Engineering for AI Agents in Open-Source Softwarecited by 14
  3. 2025SWE-Dev: Evaluating and Training Autonomous Feature-Driven Software Developmentcited by 13
  4. 2024Can Language Models Replace Programmers for Coding? REPOCOD Says 'Not Yet'cited by 7
  5. 2025EvoCurr: Self-evolving Curriculum with Behavior Code Generation for Complex Decision-makingcited by 3

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 19.

19 papers.

Sort:

By area:

  1. 2026From Procedural Skills to Strategy Genes: Towards Experience-Driven Test-Time Evolutioncited by 9
  2. 2026Better Harnesses, Smaller Models: Building 90% Cheaper Agents via Automated Harness Adaptationcited by 7
  3. 2026Do Context Files Help Coding Agents? A Two-Agent Ablation Study on Real Repositoriescited by 4
  4. 2026Agentic Agile-V: From Vibe Coding to Verified Engineering in Software and Hardware Developmentcited by 2
  5. 2026AlphaEval: Evaluating Agents in Productioncited by 1
  6. 2026Engineering Reliable Coding Agents: Evaluating and Operating the System Around the Modelcited by 1
  7. 2026The Working Set of a Coding Agent: Coherence Debt in Repository-Scale Taskscited by 1
  8. 2026Agentic AI-assisted coding offers a unique opportunity to instill epistemic grounding during software developmentcited by 0
  9. 2026A First Look at Coding Agents' Compliance with AI Contribution Rules in Open-Source Communitiescited by 0
  10. 2026Persistent Recursive Worlds Enable Autonomous Software Evolutioncited by 0
  11. 2026From Agent Behaviour to Agent-Friendly Documentation: An Empirical Study of How Coding Agents Discover, Read, and Write Technical Documentationcited by 0
  12. 2026A Phased Workflow for Operating LLM-Based Coding Agentscited by 0
7 more
  1. 2026Test-Driven Approaches to Software Engineering with Large Language Models: A Survey of Phases, Tasks, and Agent Skillscited by 0
  2. 2026Skill Issue: Lessons from Optimizing Repository SKILLs for Coding Agentscited by 0
  3. 2026A Lean and Spec-Driven AI-Assisted Software Development Lifecycle for Applied AI Education: The AI-SDLC Approachcited by 0
  4. 2026Specifying and Maintaining Agentic Workflows: An Empirical Study of GitHub Agentic Workflowscited by 0
  5. 2026After the Fix: Transfer of Corrected Agent Experiencecited by 0
  6. 2026Self-Evolving Coding Rules for AI Coding Agentscited by 0
  7. 2026Curating Always-Loaded Context for LLM Agents: A Capacitated Assortment Model with Censored Feedbackcited by 0

Similar, not cited

Close in wording, no citation either way

  1. 2026Agent Retrieval Bench: Evaluating Repository Context Retrieval for Coding Agents
  2. 2026SWE-Explore: Benchmarking How Coding Agents Explore Repositories
  3. 2026On the Impact of AGENTS.md Files on the Efficiency of AI Coding Agents
  4. 2026ContextBench: A Benchmark for Context Retrieval in Coding Agents
  5. 2025NL2Repo-Bench: Towards Long-Horizon Repository Generation Evaluation of Coding Agents
  6. 2026ReCUBE: Evaluating Repository-Level Context Utilization in Code Generation
  7. 2026An Exploratory Study of Agent Plans for Agentic AI Coding Tools in Open-Source Software
  8. 2026FastContext: Training Efficient Repository Explorer for Coding Agents