A comprehensive visual and textual documentation of 21 essential agentic design patterns for building intelligent AI systems.
This repository contains three main types of documentation for each pattern:
Visual flowcharts in plain English showing how each pattern works, designed to be easily understood without technical jargon.
Detailed explanations covering:
- When to use each pattern
- Where it fits in your architecture
- Pros and cons
- Implementation considerations
Text-based diagrams perfect for copying into Miro boards, documentation, or anywhere that doesn't support rich graphics.
- Prompt Chaining - Breaking complex tasks into sequential steps
- Routing - Directing requests to the right handler
- Parallelization - Running multiple tasks simultaneously
- Reflection - Self-evaluation and improvement
- Tool Use - Integrating external capabilities
- Planning - Strategic task decomposition
- Multi-Agent Collaboration - Coordinating multiple agents
- Memory Management - Storing and retrieving context
- Learning and Adaptation - Improving over time
- Model Context Protocol - Standardized agent communication
- Goal Setting and Monitoring - Tracking objectives
- Exception Handling and Recovery - Graceful error management
- Human-in-the-Loop - Incorporating human feedback
- Knowledge Retrieval (RAG) - Accessing external knowledge
- Inter-Agent Communication - Agent-to-agent messaging
- Resource-Aware Optimization - Efficient resource usage
- Reasoning Techniques - Structured thinking approaches
- Guardrails/Safety Patterns - Ensuring safe operations
- Evaluation and Monitoring - Performance tracking
- Prioritization - Managing task importance
- Exploration and Discovery - Finding new solutions
Each pattern includes:
- A visual diagram showing the flow
- Plain English explanations
- Real-world use cases
- Implementation tips
Navigate to any folder to explore the patterns in your preferred format.
These patterns are distilled from extensive research on agentic AI systems, made accessible through simple visual representations and clear explanations.
Feel free to suggest improvements or additional patterns through issues or pull requests.
MIT License - Use these patterns freely in your projects!