Welcome.
Codex is OpenAI's coding agent. The Mac app is its most polished surface — a desktop application built for working on real codebases, in parallel, with full guardrails. This guide takes you from never having heard of it to operating it fluently.
You may already know GPT-5 from ChatGPT. Codex is what happens when OpenAI takes that model and gives it real hands — file system access, a terminal, a browser, a Git repo, a sandbox. It writes code. It edits files. It runs commands. It commits changes. It tells you what it did, lets you review, and waits for your approval where it matters.
The guide is written for someone who has used ChatGPT or Cursor but never installed a real agent on their own machine. Every term that might be new is explained on first use. Skip ahead any time using the section headers.
How this guide is structured
Part 1 — Foundations. What Codex is, the four surfaces, the vocabulary.
Part 2 — Install & sign in. Mac app download, auth, first launch.
Part 3 — First project. Opening a folder, the interface tour.
Part 4 — Daily use. Threads, slash commands, approvals, settings.
Part 5 — Power features. Worktrees, Computer Use, browser, MCP, automations.
Part 6 — Reference & mastery. AGENTS.md deep dive, memories, troubleshooting, cheat sheet.
Finish this guide and you will know how to install Codex on a fresh Mac, configure it for your workflow, write a great AGENTS.md, use worktrees to run tasks in parallel, and debug whatever goes wrong. No magic. Just the actual mechanics.