ToolNavs Find Useful AI Tools
Submit Sign in

AGENTS.md

Explains the AGENTS.md convention that gives coding agents a project brief: which directory it belongs in, how the nearest file wins, and why tools such as Codex and Cursor follow it.

AGENTS.md is an open, plain-Markdown format that tells AI coding agents how a project works. A file at the repository root, or one beside each package, records build and test commands, code style, key paths and things the agent must not touch, so a tool learns your codebase instead of guessing. Rules resolve by proximity: the nearest file wins, and nested files load as the agent reaches those directories. Codex, Cursor, Amp and Roo Code read it.