Codex Tutorial

Welcome to the Codex tutorial. Based on OpenAI official docs and the open-source openai/codex project, this guide takes you from first run to team-scale customization.

Table of Contents

Basics

  1. Introduction
  2. Installation
  3. Quick Start

Architecture

  1. Architecture & Runtime

Customization

  1. AGENTS.md
  2. Agent Skills
  3. MCP Integration
  4. Subagents

Security & Ops

  1. Sandbox & Security
  2. Config & CLI Reference

Practice

  1. Practical Examples
  2. Resources

Learning Path

DayGoalChapters
1Run CLI, finish one taskIntro → Install → Quick Start
2–3Understand the agent loopArchitecture → Sandbox
Week 1Team conventions in repoAGENTS.md → Skills → MCP

Prerequisites

  • Terminal and Git basics
  • At least one programming language
  • ChatGPT Plus/Pro or OpenAI API access (recommended)