Free toolGenerate .mcp.json configs for Claude Code, Cursor & Codex →

Based on official framework docs, checked

AGENTS.md templates for popular frameworks

AGENTS.md is a plain Markdown file at the root of your repository that tells coding agents how to build, test and style your project. These templates start from what each framework officially provides for agents, then add the sections agents.md recommends: project overview, build and test commands, code style, testing and security. Copy one, fill in the comments, and commit it.

Where agents look for rules

Most agents read AGENTS.md; some also have their own file. See each agent’s rules page for the exact file names and precedence.

Frequently asked questions

A starting AGENTS.md file for a framework: the build, test and style commands agents need, plus sections you fill in for your project. AGENTS.md is read by Codex, Cursor, GitHub Copilot, Antigravity and others at the start of a session.