AGENTS.md
The file with the project’s rules, which Codex reads at the start of every conversation. Like an instruction sheet taped to the door.
How it appears in the course
AGENTS.md is a text file with the project rules. Codex reads it before doing any work.
Introduction · Module 07, AGENTS.md: the project rules
Now let me show you the file that solves the problem: AGENTS.md.
What is AGENTS.md? · Module 07, AGENTS.md: the project rules
You have the draft. Now see what a good AGENTS.md looks like.
What goes in AGENTS.md? · Module 07, AGENTS.md: the project rules
Where you learn it
In module 07 · AGENTS.md: the project rules, in the Codex for Beginners course.
Related terms
Learn Codex from zero, in plain English
14 modules with 1–2 minute lessons, which you can also do on your phone. The first two modules are free.