Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
Open format for giving coding agents project instructions
AGENTS.md is a simple, open format for guiding coding agents. Think of it as a README for agents: a dedicated, predictable place to provide context and instructions to help AI coding agents work on your project. It is used by over 60k open-source projects.
pnpm install, pnpm dev, pnpm test so agents can set up and verify the project.Are there required fields? No. AGENTS.md is just standard Markdown. Use any headings you like; the agent simply parses the text you provide.
What if instructions conflict? The closest AGENTS.md to the edited file wins; explicit user chat prompts override everything.
Will the agent run testing commands found in AGENTS.md automatically? Yes—if you list them. The agent will attempt to execute relevant programmatic checks and fix failures before finishing the task.
Can I update it later? Absolutely. Treat AGENTS.md as living documentation.
How do I migrate existing docs to AGENTS.md?
Rename existing files to AGENTS.md and create symbolic links for backward compatibility: mv AGENT.md AGENTS.md && ln -s AGENTS.md AGENT.md.