Source version rust-v0.144.6
Codex Source Code Guide: Inside a Production Coding Agent
A source-based guide to the open-source openai/codex repository. Follow a request through the model loop, tool execution, approval and sandbox boundaries, conversation persistence, and recovery. The chapters explain why these mechanisms exist and what breaks when their assumptions do not hold.
Chapters written in Chinese