Master AI Agent Development from Zero to Production
A structured, hands-on curriculum for building real-world AI agents
Get Started โข Curriculum โข Status Board โข Resources
The Problem: AI agent tutorials are scattered, outdated, or too theoretical. Most developers struggle to go from "hello world" to production-ready agents.
The Solution: A complete, structured learning path that takes you from basic chatbots to sophisticated multi-agent systems โ with real-world projects, not toy examples.
| Traditional Tutorials | This Curriculum |
|---|---|
| โ Copy-paste code without understanding | โ Build intuition through progression |
| โ Outdated API patterns | โ Latest LangChain/LangGraph (2024+) |
| โ Toy examples ("count to 10") | โ Real problems (support bots, research assistants) |
| โ Skip error handling | โ Production-ready patterns |
| โ No clear path | โ 33 structured tasks, 6 levels |
Level 1: Foundation Agents
โโโ CLI Chatbot
โโโ Unit Converter with Tools
โโโ Task Manager (stateful)
โโโ Persistent Notes (SQLite memory)
โโโ Code Reviewer (structured output)
โโโ Standup Bot (multi-turn)
Level 2: Reasoning Patterns
โโโ Math Solver (Chain-of-Thought)
โโโ Essay Improver (Self-Reflection)
โโโ Trip Planner (Plan-and-Execute)
โโโ Debate Simulator (Self-Consistency)
โโโ Bug Hunter (ReAct)
โโโ Recipe Adapter (Few-Shot)
Level 3: RAG & Knowledge
โโโ Docs Q&A Bot (Basic RAG)
โโโ Research Assistant (Agentic RAG)
โโโ Multi-Source Analyst
โโโ Self-Correcting Q&A (Self-RAG)
โโโ Fallback Search (Corrective RAG)
Level 4: Multi-Agent Systems
โโโ Blog Pipeline (Sequential)
โโโ Support Router (Conditional)
โโโ Fact Checker (Parallel)
โโโ Project Manager (Supervisor)
โโโ Devil's Advocate (Adversarial)
โโโ Startup Team (Role-based)
Level 5: Production Ready
โโโ Approval Workflow (HITL)
โโโ Resilient Agent (Error Handling)
โโโ Streaming Chat
โโโ Budget-Aware Agent
โโโ Persistent Workflows
โโโ Observable Agent (Monitoring)
Level 6: Mastery Capstones
โโโ Full-Stack Agent System
โโโ Pattern Decision Guide
โโโ Teach It Back
โโโ Novel Pattern Innovation
- Python 3.12+
- OpenAI API key (or compatible LLM)
- Basic Python knowledge
# Clone the repository
git clone https://github.com/yourusername/ai-agent-mastery.git
cd ai-agent-mastery
# Create virtual environment
python -m venv .venv
source .venv/bin/activate # On Windows: .venv\Scripts\activate
# Install dependencies
pip install -r requirements.txt
# Set up environment variables
cp .env.example .env
# Edit .env and add your OPENAI_API_KEYOption 1: CLI Tracker (Recommended)
python tracker.py # Show dashboard
python tracker.py complete 1 # Mark issue #001 as done
python tracker.py next # Show next task details
python tracker.py reset # Reset all progressOption 2: Web Dashboard (Gradio)
python dashboard.py # Opens http://localhost:7860- Run
python tracker.pyto see your first task - Open
AGENT_MASTERY_CHECKLIST.mdfor the ISSUE-001 spec - Create
agents/level_1/01_hello_agent.py - Run
python tracker.py complete 1when done!
Learn the core building blocks
- Agent invocation patterns
- Creating and using tools (
@tooldecorator) - Memory and state management
- Structured output with Pydantic
- Multi-turn conversations
Master prompt engineering strategies
- Chain-of-Thought (step-by-step reasoning)
- Self-Reflection (critique and improve)
- Plan-and-Execute (user approval workflows)
- ReAct (Thought โ Action โ Observation)
- Few-Shot learning (example-based)
Build knowledge-augmented agents
- Vector stores and embeddings
- Chunking strategies
- Retrieval patterns (similarity, hybrid, MMR)
- Reranking for precision
- Self-RAG and Corrective RAG
Coordinate multiple agents
- Sequential pipelines
- Conditional routing
- Parallel execution
- Supervisor patterns
- Adversarial collaboration
Ship agents to production
- Human-in-the-loop approval
- Error handling and resilience
- Streaming responses
- Cost management
- Observability and monitoring
Prove your expertise
- Combine 5+ patterns
- Create decision guides
- Teach others
- Innovate new patterns
ai-agent-mastery/
โ
โโโ ๐ฎ tracker.py # CLI progress tracker (run this!)
โโโ ๐ dashboard.py # Web dashboard (Gradio)
โโโ ๐ progress.json # Your progress data (auto-managed)
โ
โโโ ๐ STATUS.md # Manual progress view (optional)
โโโ ๐ AGENT_MASTERY_CHECKLIST.md # Full curriculum + reference guides
โ
โโโ ๐ tasks/ # Detailed task specifications
โ โโโ level_1/ # Each task = one file with full spec
โ โโโ level_2/
โ โโโ level_3/
โ โโโ level_4/
โ โโโ level_5/
โ โโโ level_6/
โ
โโโ ๐ agents/ # Your implementations go here
โ โโโ level_1/
โ โโโ level_2/
โ โโโ ...
โ
โโโ ๐ .github/ # โ ๏ธ IMPORTANT: Coding rules & instructions
โ โโโ instructions/
โ โ โโโ python.instructions.md
โ โ โโโ tests.instructions.md
โ โโโ coding-rules-compact.md
โ
โโโ ๐ tests/ # Test your implementations
โโโ ๐ utils/ # Shared utilities
These files define coding standards for AI-assisted development
When using AI coding assistants (GitHub Copilot, Claude, Cursor), instruction files ensure:
- Consistent Code Style - All code follows the same patterns
- Best Practices - Type hints, docstrings, error handling
- Project-Specific Rules - LangChain patterns, testing standards
- Quality Gates - AI won't generate subpar code
| File | Purpose |
|---|---|
.github/instructions/python.instructions.md |
Python coding standards, type hints, docstrings |
.github/instructions/tests.instructions.md |
Testing patterns, pytest conventions |
.github/coding-rules-compact.md |
Quick reference for all coding rules |
You write: "Create a tool that converts temperatures"
Without instructions:
def convert(t):
return t * 9/5 + 32 # No types, no docs, no error handling
With instructions:
@tool
def convert_temperature(
value: float,
from_unit: Literal["celsius", "fahrenheit"],
to_unit: Literal["celsius", "fahrenheit"]
) -> str:
"""
Convert temperature between Celsius and Fahrenheit.
Args:
value: The temperature value to convert
from_unit: Source unit ('celsius' or 'fahrenheit')
to_unit: Target unit ('celsius' or 'fahrenheit')
Returns:
Formatted string with conversion result
Raises:
ValueError: If units are invalid or the same
"""
...
| Rank | XP Required | Level |
|---|---|---|
| ๐ฅ Bronze | 0 - 2,000 | 1-2 |
| ๐ฅ Silver | 2,000 - 5,000 | 2-3 |
| ๐ฅ Gold | 5,000 - 8,000 | 3-4 |
| ๐ Diamond | 8,000 - 12,000 | 4-5 |
| ๐ Master | 12,000+ | 6 |
CLI (Beautiful terminal UI):
python tracker.pyโญโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฎ
โ ๐ค AI AGENT MASTERY โ
โ 0 / 13,950 XP โข ๐ฅ Bronze โ
โฐโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏ
โญโโโโโโโโโโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฌโโโโโโโโฌโโโโโฎ
โ Level โ Progress โ Tasks โ XP โ
โโโโโโโโโโโโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโผโโโโโโโโผโโโโโค
โ L1 Foundations โ โโโโโโโโโโโโโโโโโโโโ โ 0/6 โ 0 โ
โ L2 Advanced Reasoning โ โโโโโโโโโโโโโโโโโโโโ โ 0/6 โ 0 โ
...
โฐโโโโโโโโโโโโโโโโโโโโโโโโโดโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโดโโโโโโโโดโโโโโฏ
Web Dashboard (Gradio):
python dashboard.py # Opens http://localhost:7860python tracker.py # Show dashboard
python tracker.py complete 1 # Mark #001 complete โ +100 XP
python tracker.py complete 2 # Mark #002 complete โ +150 XP
python tracker.py next # Show next task details
python tracker.py reset # Start overThe AGENT_MASTERY_CHECKLIST.md includes comprehensive reference sections:
- When to use Zero-Shot vs Few-Shot
- Chain-of-Thought patterns
- Self-Consistency techniques
- ReAct implementation
- Anti-patterns to avoid
- Chunking strategies (fixed, semantic, parent-child)
- Embedding model comparison
- Vector store selection guide
- Retrieval patterns (similarity, hybrid, MMR)
- Reranking decision matrix
- RAG architecture patterns (Naive, Agentic, Self, Corrective)
| Component | Technology |
|---|---|
| LLM Framework | LangChain 0.2+ |
| Agent Framework | LangGraph |
| Vector Store | Chroma (dev), Pinecone (prod) |
| Embeddings | OpenAI, or open-source alternatives |
| Memory | SQLite (dev), PostgreSQL (prod) |
| Monitoring | LangSmith |
| Testing | pytest |
Contributions welcome! Please:
- Follow the coding standards in
.github/instructions/ - Add tests for new features
- Update documentation
- Submit a PR with clear description
MIT License - feel free to use this curriculum for learning, teaching, or building products.
Ready to become an AI Agent Master?
๐ Check Your Status โ ๐ฏ Start Task 002
Built with โค๏ธ for the AI developer community