Artificially generatedAGENTS.md: the file the agent reads before the code
The README stays for humans. Since August 2025 a second file has been lying next to it, and since 9 December 2025 it belongs to the Agentic AI Foundation.
AGENTS.md is an ordinary Markdown file in the root of a repository. It says how this project is built, tested and handled. OpenAI published it with Codex in August 2025. On 9 December 2025, according to OpenAI and the Linux Foundation, it was in more than 60,000 open source projects, and OpenAI gave it to the Agentic AI Foundation .
No required fields. The next agent reads the text you put there.
A README explains to humans how to start, what the project is for, how to contribute. AGENTS.md is the complement for the case where the next contributor is not a human: build, tests, conventions that would clutter a README. The site agents.md says the name and format were chosen deliberately so that any tool can pick them up. There are no required fields. Headings are free. The agent parses the text.
What teams put in, the site repeats as the usual list: overview, build and tests, style, security, plus commit rules, pitfalls, large data, deploy. Everything you would tell a new colleague on her first day. If you list test commands, the agent tries to run them and fix failures before it considers the task done. Changing the file later is expected. Living documentation, not a contract with a version number.
Codex needed a fixed place. The other tools had the same hole.
On 9 December 2025 OpenAI describes the beginning as a practical hole in Codex. The agent needed a predictable place for project specifics: conventions, build, tests, so it could work in an unfamiliar codebase without guessing anew every time. The file was meant to sit next to README.md. What began as an internal fix, OpenAI says, stuck in the ecosystem.
The site agents.md names the group the format came from: OpenAI Codex, Amp, Jules from Google, Cursor and Factory. The Linux Foundation dates the release to August 2025 and lists Amp, Codex, Cursor, Devin, Factory, Gemini CLI, GitHub Copilot, Jules and VS Code as adopters. OpenAI has the same list, with the figure: more than 60,000 open source projects from the release until 9 December 2025.
Nick Cooper hands over a file, not a protocol.
Nick Cooper, Member of the Technical Staff at OpenAI, stands for the handover in the Linux Foundation's press release. His sentence: shared, community driven protocols are needed for a healthy agent ecosystem, which is why OpenAI opened up Codex CLI, the Agents SDK and now AGENTS.md. The file is the third founding contribution to the Agentic AI Foundation, next to MCP from Anthropic and goose from Block. It is not a protocol. MCP is a wire to tools. A2A is a wire between agents. AGENTS.md is a reading rule for a repository.
The fund holds it so that no single company keeps the direction while adoption grows. The site agents.md says the same in the present tense: the steward is the Agentic AI Foundation under the Linux Foundation. Maintenance and further development are promised as an open format, regardless of which coding agent you use.
The nearer file beats the one further up. Your sentence in the chat beats both.
In a large repo there is not one file but one per package. The agent reads the nearest AGENTS.md on the way from the file it touches to the root. The nearer one wins. An explicit sentence from you in the chat wins against both. As an example the site names OpenAI's main repository at the time: 88 such files, at the time of the text. An old AGENT.md is carried along by renaming and a symlink, so that existing tools do not run into nothing.
Fig. 01 · Three levels, one rule. Yellow is the file that counts for a change in src. A sentence in the chat stands above it and is not drawn here.
At McGrinsey a file like this sits in the root of the project folder. The same kind of text: what the next agent needs to know before it starts. The difference from the foundation is not one of form. The difference is who holds the direction when thousands of repos use the same convention. That is what the fund is for, not for the content of your file.
File, date, figure.
| Claim | Basket | Source |
|---|---|---|
| AGENTS.md is Markdown without required fields. The README stays for humans. The nearer file wins, the chat wins against the file. | Fact | agents.md, FAQ and explanation. |
| Came out of Codex, Amp, Jules, Cursor and Factory. Released in August 2025. | Fact | agents.md (the group). Linux Foundation and OpenAI (the month). |
| More than 60,000 open source projects by 9 December 2025. Tools: Amp, Codex, Cursor, Devin, Factory, Gemini CLI, GitHub Copilot, Jules, VS Code. | Fact, as of the handover | OpenAI and Linux Foundation, 9 December 2025. |
| OpenAI hands the file to the AAIF. Nick Cooper signs the quote. | Fact | Linux Foundation press release, 9 December 2025. |
| 88 AGENTS.md files in OpenAI's main repository. | Fact, at the time of the page | agents.md, at the time of its text. |
| The steward is the Agentic AI Foundation under the Linux Foundation. | Fact | agents.md, About section. |
- OpenAI, the co-founding9 December 2025. Codex as the trigger, August 2025, 60,000 projects.https://openai.com/index/agentic-ai-foundation/
- Linux Foundation9 December 2025. Nick Cooper, the same figure, the same list of tools.https://www.linuxfoundation.org/press/linux-foundation-announces-the-formation-of-the-agentic-ai-foundation
- The neighboring piecesA2A as the language between agents. MCP and the roof of the foundation.https://mcgrinsey.com/magazin/a2a-protocol-en/
Cut-off: 30 September 2026.


