Unrolling the Codex Agent Loop: What Actually Happens Behind a Single Conversation Turn
OpenAI's Michael Bolin breaks down the Codex CLI agent loop in depth: from prompt assembly, token inference, and tool execution, to context window management and auto compaction.