These tools change fast. This page is a starting map; /help inside the tool is the truth.
The two-minute setup
npm install -g @openai/codex
cd my-project
codex
Sign in with your OpenAI account the first time. Like the others, it needs Node.js — check with node --version.
The dial that matters: approvals
Codex asks how freely it may act — propose every edit and wait for you, edit on its own but ask before running commands, or work end-to-end and show you the result.
Start on the cautious setting and stay there until watching it work bores you. Every approval prompt is a free lesson in what the tool actually does; once they're boring, you've learned it, and then you can speed up.
AGENTS.md — the project's house rules
Put a file called AGENTS.md in the project root and write what you'd tell a new teammate: how to run the tests, the conventions you follow, what's off-limits. Codex reads it every session. Claude Code does the same with `CLAUDE.md`.
Write it as instructions, not prose. "Run `npm test` before declaring a task done." — not "we care a lot about quality here."