What is AGENTS.md?
AGENTS.md is an open, plain markdown file format placed in a repository to give coding agents project context such as build steps, test commands and conventions.
Also written: AGENTS.md file
Explained
AGENTS.md works like a README written for agents instead of human contributors. It sits in a repository and collects the information an agent needs to work there: how to set up and build the project, how to run tests, code style rules, and pull request or commit expectations. The project's site describes the format as having no required fields, so teams write whatever sections fit their codebase and treat the file as living documentation.
In a large monorepo each subproject can have its own AGENTS.md. Agents use whichever AGENTS.md is closest to the file being edited, and an instruction typed directly into the chat takes priority over every file. If the file lists test commands, an agent is expected to try running them and fix failures before finishing.
The site lists a long set of supporting tools, including OpenAI Codex, Google Jules, Cursor, GitHub Copilot's coding agent, Gemini CLI and VS Code. The site says stewardship of the format sits with the Agentic AI Foundation, which is part of the Linux Foundation. Teams that already use another instruction file name can rename the file and keep a symlink from the old name.
Primary source
AGENTS.md (agents.md), read Oct 26, 2026
This entry paraphrases the page above. Sources change; check it for the current wording.
Listings that use this
The 5 top-ranked listings tagged for AGENTS.md. Rank weighs adoption, freshness, documentation and publisher identity; how we rank and grade. Money never changes the order.
- 0.878score
agents-generator
OJPalenzuela
Generate project-specific AGENTS.md and companion rules by analyzing a codebase.
SkillAFreshness: A★ 48.4KClaude Code - 0.848score
pm
Q00
Use when the user wants product requirements rather than code: 'write a PRD', 'product requirements', 'spec this feature for the team', 'ooo pm'.
SkillAFreshness: A★ 6.3KClaude Code +9 - 0.845score
prd-to-plan
webiny
Turn a PRD into a multi-phase implementation plan using tracer-bullet vertical slices, saved as a local Markdown file in ./plans/.
SkillAFreshness: A★ 8KClaude Code +9 - 0.845score
write-a-prd
webiny
Create a PRD through user interview, codebase exploration, and module design, then submit as a GitHub issue.
SkillAFreshness: A★ 8KClaude Code +9 - 0.844score
bmad-project-context
bmad-code-org
Set up, adopt, refresh, or audit a repository's agent instructions (the AGENTS.md block) so AI agents work well in that repo.
SkillAFreshness: A★ 54.5KClaude Code +9
Related
Cite this page
What is AGENTS.md?. Agent Mart. https://agentmart.dev/glossary/agents-md (last updated 2026-10-26)
Written Oct 26, 2026, updated Oct 26, 2026. All glossary terms