
Core Philosophy
The most successful implementations use simple, composable patterns — not complex frameworks.
Workflow Patterns
- Prompt chaining: Sequential LLM calls for decomposed tasks
- Routing: Classify inputs to specialized downstream tasks
- Parallelization: Multiple LLMs process simultaneously (sectioning or voting)
- Orchestrator-workers: Central LLM dynamically distributes subtasks
- Evaluator-optimizer: One LLM generates, another evaluates, iterating to improve
When to Use Agents
For open-ended problems where steps can't be predicted or hardcoded. Agents use tools, get environment feedback, and loop until completion.
Key Principles
- Simplicity: Start with single LLM + retrieval + examples
- Transparency: Show the agent's planning steps clearly
- Tool design: Invest more time in tool optimization than prompts. Use clear names, descriptions, examples. Design tools to be hard to misuse (poka-yoke).
"Success isn't building the most complex system. It's building the right system for your needs."