AGENTS.md: writing project conventions into a file so Codex starts every session 'with context onboard'
Codex's docs dedicate a section to 'Agent configuration', centered on AGENTS.md, Subagents, Speed, and Rules. AGENTS.md is a project-level instruction file placed in the repo root that the agent reads before touching code — so build commands, test conventions, and naming rules are stably inherited instead of re-explained in every chat.