Module 22
Design Patterns
Reusable AI system patterns — and the anti-patterns that sink projects.
- lessons
- 2
- steps
- 20
- time
- 30 min
01intermediate·15 min·10 steps
AI Design Patterns
A catalog of reusable patterns for RAG, agents, optimization, reliability and cost: what each looks like, and when it earns its complexity.
- Pick a RAG pattern: naive, advanced, parent-child or corrective
- Pick an agent pattern: ReAct, plan-and-execute, critic or hierarchical
- Cut cost with cascades and layered caches
- Survive provider failures with fallbacks, breakers and bulkheads
Start →
02beginner·15 min·10 steps
AI Anti-Patterns
The common ways AI systems go wrong, from god prompts and single-provider bets to runaway agents and vibes-based evals, and the fix for each.
- Replace a god prompt with routed, focused handlers
- Try prompting, examples and RAG before fine-tuning
- Put hard limits and a sandbox around agents
- Evaluate systematically on held-out data, not vibes or leaderboards
Start →
Read deeper
Guide chapters · AI Design Patterns
Next module · 23
Tool Use & Computer Agents