Overview
These patterns are battle-tested approaches for common agent scenarios. Use them as starting points and adapt to your specific needs.Pattern 1: The Specialist
Create a focused agent with deep expertise in one domain.Pattern 2: The Orchestrator
Manage multi-step workflows that require several tools in sequence.Pattern 3: The Gatekeeper
An agent that validates and routes requests appropriately.Pattern 4: The Researcher
Gather information from multiple sources and synthesize results.Pattern 5: The Teacher
Explain concepts and guide learning with step-by-step assistance.Pattern 6: The Validator
Check data, configurations, or inputs for correctness.Pattern 7: The Conversationalist
Maintain natural dialogue while accomplishing tasks.Combining Patterns
Real-world agents often combine multiple patterns:Quick Pattern Selection Guide
| Use Case | Pattern | Key Characteristics |
|---|---|---|
| Deep expertise in one area | Specialist | Focused, detailed, authoritative |
| Multi-step workflows | Orchestrator | Sequential, checkpoint-driven |
| Routing and triage | Gatekeeper | Classification, verification |
| Information gathering | Researcher | Multi-source, synthesis |
| Education and guidance | Teacher | Step-by-step, encouraging |
| Data and config checking | Validator | Thorough, actionable feedback |
| Natural conversation | Conversationalist | Friendly, context-aware |
Back to: Prompt Engineering Overview →
