Skip to content

Codex Agentic Patterns

Welcome to the documentation site for Codex Agentic Patterns!

This site contains the complete learning materials for building production-ready AI agents through real-world patterns extracted from OpenAI's Codex CLI.

🚀 Quick Navigation

📖 About This Resource

Codex Agentic Patterns teaches you to build intelligent AI agents by studying real production code from OpenAI's Codex CLI, rather than toy examples.

🎯 What You'll Learn

  • 21 Agentic Design Patterns with complete coverage
  • 8 Fully Implemented Patterns with runnable Python code
  • Production-Grade Examples with proper error handling
  • Multi-Turn Conversations and complex agent workflows
  • Tool Integration with external systems
  • Human-in-the-Loop approval and oversight patterns

📚 Attribution

This work builds upon:

🚀 Get Started

Ready to learn? Head to the learning materials to begin your journey!