Welcome to Build Agent
Learn AI Agent engineering by comparing two production codebases: Claude Code (TypeScript) and Codex (Rust).
🎯 What You'll Learn
By analyzing 500K+ lines of production code from Anthropic and OpenAI, you'll master:
- 15 reusable design patterns for building AI agents
- Architecture trade-offs between different approaches
- Production-grade practices from real-world projects
🚀 Quick Start
1. Understand Why
Why compare two projects? - Learn the value of comparative learning
2. See the Big Picture
Architecture Overview (coming soon) - Compare the complete architectures
3. Run Code
Check out our examples - Start with the minimal agent
📚 Learning Paths
Fast Track (2 hours)
- Introduction articles
- Core agent loop
- Run examples
Deep Dive (10 hours)
- All core practices
- Multiple examples
- One case study
Production Ready (20+ hours)
- Technical deep dives
- Complete agent build
- Optimization techniques
🤝 Contributing
Found an issue? Have a suggestion? Open an issue or contribute!
Ready to start? → Why Compare Two Projects?