Deep-Dives / Architectures & Patterns
Architectures & Patterns
Reusable agent architectures — ReAct, plan-and-execute, supervisor-worker, router, reflection — and when each fits.
- The Agent Design-Pattern LandscapeWhy architecture is a reliability lever, and the five axes that compare every pattern.
- ReAct — Interleaving Reasoning and ActingThe workhorse tool loop: control flow, why interleaving wins, and the failure modes at scale.
- Plan-and-Execute — Decompose, Then RunPlanner/executor split, replanning strategies, and when the up-front plan becomes a liability.
- Reflection — Verify, Critique, ReviseSelf-refine vs Reflexion, why the external signal is everything, and when self-critique hurts.
- Search Strategies — Branching Over TrajectoriesBest-of-N, self-consistency, tree/graph-of-thought: the cost regime and the scorer dependency.
- Routing & Dispatch — Selection, Fan-out, ParallelismClassifier vs tool-call routing, parallel fan-out, and the failure modes of the routing layer.
- Tool-Use Loops & Error RecoveryThe failure taxonomy, layered recovery, error-messages-as-prompts, and side-effect durability.
- Single-Agent vs. Multi-Agent OrchestrationReal reasons to split, supervisor/worker vs hand-off, the coordination tax, and a decision framework.