AGENTS.md
A Markdown file at the root of a project that tells coding agents how to work in it: the commands, the conventions and what not to touch.
Updated November 23, 2026
AGENTS.md is a plain-Markdown convention, read by many agents including Codex and OpenCode. It holds what a new teammate would need: how to install, test and run the project, the style rules, and the traps.
Claude Code reads CLAUDE.md first and falls back to AGENTS.md only when there is no CLAUDE.md; a CLAUDE.md containing the single line @AGENTS.md imports it, so one file serves both. The AGENTS.md tool shows which file each of the 17 agents reads.
An EnvHaven workspace writes its own AGENTS.md, with a CLAUDE.md pointing to it, so the agents that read either file know how the machine works: its ports, the preview URL and what persists.