PofoliaShared via Pofolia

ACM Transactions on Software Engineering and Methodology· 2026Q1

Agent READMEs: An Empirical Study of Context Files for Agentic Coding

Worawalan Chatlatanagulchai, Hao Li, Yutaro Kashiwa, Brittany Reid et al.

Short summary

Agent context files (e.g., AGENTS.md) are complex, evolving artifacts, not static docs, with developers prioritizing functional context (e.g., test procedures 75.9%) over non-functional requirements like security (14.8%).

AI-generated from the title and abstract; the full text is not read.

Key points

  • Agent context files are actively maintained, evolving artifacts, not static documentation.
  • Developers frequently make small additions to these files, similar to code configuration.
  • Functional context, including test procedures (75.9%), implementation details (70.8%), and architecture (68.1%), is prioritized.
  • Non-functional requirements like security (14.8%) and performance (14.5%) are significantly underrepresented.

AI-generated from the title and abstract; the full text is not read.

Abstract

Agentic coding tools receive goals written in natural language, break them down into specific tasks, and write or execute code with minimal human intervention. Central to this process are agent context files (e.g., AGENTS.md and CLAUDE.md) that provide persistent, project-level instructions. In this paper, we conduct the first large-scale empirical study of 2,303 agent context files from 1,925 repositories to characterize their structure, maintenance, and content. We find that these files are not static documentation but complex, difficult-to-read artifacts that evolve like configuration code through frequent, small additions. Our content analysis of 16 instruction types shows that developers prioritize functional context, such as test procedures (75.9%), implementation details (70.8%), and architecture (68.1%). We also identify a significant gap: non-functional requirements such as security (14.8%) and performance (14.5%) are rarely specified. These findings indicate that while developers use context files to make agents functional, they provide few guardrails to ensure that agent-written code is secure or performant, highlighting the need for improved tools and practices.

The authors' abstract, as published at the source. ACM Transactions on Software Engineering and Methodology, 2026 · DOI ↗

TakeawaysPremium
Ask the paperFree account

Continue with a free account

Ask the paper: 3 free questions a day about this paper; save it, get its citation, new summaries every day for your field. Takeaways are Premium.

Continue free on the web

Sign in with Google or Apple; no card needed. You come back to this paper.

On your phone:

Field: Artificial Intelligence

Artificial IntelligenceComputer Science