Introduction to OpenAI Codex
Learn to drive OpenAI's coding agent: real tasks, safe sandboxing, and terminal-to-cloud workflows that ship.
About
OpenAI Codex turns a frontier model into a hands-on coding agent that reads your repo, edits files, and runs your tests. This free course takes you from installation to real engineering workflows: bug fixes, multi-file refactors, verification loops, and automated code review. No prior experience with AI coding agents required.
You will learn to
- ✓ Explain what an agentic coding tool actually does and how Codex differs from autocomplete assistants
- ✓ Install, authenticate, and configure the Codex CLI, then complete your first real task with it
- ✓ Steer Codex with AGENTS.md files, focused context, and precise four-part task prompts
- ✓ Run safe multi-file refactors backed by testing and verification loops
- ✓ Control the blast radius with sandboxing, approval modes, and git-based recovery
- ✓ Pick the right surface (CLI, IDE extension, or cloud) for bugfixes, features, and code review
How you'll learn
Read at your pace: diagrams, copy-paste prompts, worked steps.
Ready for the full build?
This course is free. When you want the production-grade version, start here.
BootcampA 30-day guided bootcamp: build, harden and ship a production autonomous agent from scratch.
AI CodingShip full-stack AI apps at conversation speed — specs, agents, deploys, all from the terminal.
Curriculum
01Chapters12 lessons
- ¶1. From Autocomplete to Agents: What Codex Is▶ Free preview11 min read
- ¶2. Installing Codex and Signing In9 min read
- ¶3. Your First Task: A Guided Walkthrough10 min read
- ¶4. How Codex Reads Your Codebase: Context and AGENTS.md10 min read
- ¶5. Prompting Codex Effectively9 min read
- ¶6. Multi-File Changes and Refactors10 min read
- ¶7. Testing and Verification Loops9 min read
- ¶8. Sandboxing, Approvals, and Staying Safe11 min read
- ¶9. One Agent, Three Surfaces: CLI, IDE, and Cloud9 min read
- ¶10. Real Workflows: Bugfix, Feature, and Code Review10 min read
- ¶11. Wrap-Up: Habits, Pitfalls, and Where to Go Next9 min read
- ¶12. Knowledge Check5 min