Section 1: How a Coding Agent Differs from Code Completion
- Code completion fills in code piece by piece, while an agent reads the whole repository, runs commands and edits many files
- The agent loop: read context, plan, act, run tests and report back
- An overview of where Codex runs: CLI, IDE extension, the ChatGPT app, Codex cloud and GitHub
- Tasks worth delegating to an agent, tasks the team should keep, and limits to be aware of
Section 2: Lab: Installing and Configuring Codex on a Real Repository
- ChatGPT plans that include Codex compared with using an API key, and what each one covers
- Install the Codex CLI and IDE extension and sign in with a ChatGPT account
- Ask Codex to explain the project structure, how to build it and how to run the tests
- Lab: have Codex fix one small bug, then read the diff before accepting the change
Section 3: config.toml, Models and Sessions
- The layout of ~/.codex/config.toml, project-level settings and choosing a model
- Common slash commands, and connecting external tools through MCP
- Pick up earlier work with codex resume, and start a new session when the context grows too long
- Lab: set up separate profiles for editing code and for read-only code exploration
Section 4: AGENTS.md: Standards the Agent Reads Every Time
- How Codex combines AGENTS.md from the user level, the repository root and subfolders in a monorepo
- What to write: build and test commands, code style, folder layout and things that must not be done
- Keep rules short, clear and checkable, and never put secrets in the file
- Lab: write AGENTS.md for the repository and test that Codex actually follows it
Section 5: Skills for the Team's Repeated Work
- A skill is a folder with a SKILL.md file plus scripts and reference material
- Repository and user-level skills, sharing them through Git, and invoking them by name or letting Codex choose
- Deciding what belongs in AGENTS.md and what should be a skill
- Lab: build a skill for routine work, such as adding an API endpoint the team's way
Section 6: Lab: Delegating, Monitoring and Steering Tasks
- Write a task brief: goal, scope, relevant files and a definition of done
- Have Codex plan before acting, and review the plan before allowing code changes
- Monitor the work, step in when it drifts, and split large work into checkable pieces
- Lab: delegate a medium-sized feature and steer it at least once along the way