AGENTS.md
AGENTS.md: an instruction file format shared by many coding agents, not tied to one vendor.
AGENTS.md is a plain Markdown instruction file under a shared name: no vendor owns it, and many coding agents read it by default. Teams choose it so that one file serves every tool their people use, rather than a file per vendor; some keep a CLAUDE.md that only imports it, from when Claude Code read only its own; it now reads AGENTS.md where a folder holds no CLAUDE.md. It holds the setup and test commands, the style of the code and the rules of the repo. The site counts a repo when an AGENTS.md sits at its root or in a package, outside shipped material such as templates and examples.
- Pro scene today: 68%, 150 of 221 pro repos
- In three months: +7 pts (16 pro repos added it)
- Kept: 99%, 134 of 135 that had it 3 months ago or before
Pro 68% · Ladder 26% · 2.6×
Implement it
Write your agents' instructions once, in an AGENTS.md at the root, and point each tool's own file to it.
A prompt for your agent:
Find every instruction file for coding agents in this repo (CLAUDE.md, GEMINI.md, .cursor/rules/, .github/copilot-instructions.md and the like). Merge what they say into one AGENTS.md at the root: each rule once, nothing the code contradicts, and what only one tool needs under a heading of its own. Then reduce each tool's file to a pointer to AGENTS.md. Show me the diff before you delete anything.
AGENTS.md examples:
In the pro repos
The 3 most starred of the other 147 pro repos that have it today.
By month
| Month | Pro scene |
|---|---|
| June 2025 | 2% |
| July 2025 | 4% |
| August 2025 | 4% |
| September 2025 | 5% |
| October 2025 | 12% |
| November 2025 | 14% |
| December 2025 | 15% |
| January 2026 | 17% |
| February 2026 | 22% |
| March 2026 | 30% |
| April 2026 | 36% |
| May 2026 | 43% |
| June 2026 | 46% |
| July 2026 | 52% |
| August 2026 | 56% |
| September 2026 | 61% |
| October 2026 | 62% |
| November 2026 | 66% |
| today | 68% |
Evidence
- Benchmarked. Published study, February 2026: Across several agents and models, context files did not generally raise task success and added over 20% to inference cost. Agents did follow them. Source: Evaluating AGENTS.md, arXiv 2602.11988
How it is detected
Looks for an AGENTS.md file, at the root or in a package. Read in repo files. How the method counts
Related practices
More in Code, the most adopted first.