11 Agent Architectures
How you structure an agent's reasoning is called its architecture — and knowing these patterns is what separates people who dabble with AI from people who ship it. You already met ReAct in Chapter 4. Here are six shapes of thought, and when to reach for each. Click through them.
The gallery
Each pattern trades simplicity, cost, and power differently. Pick one to see its shape and where it shines.
reason + act
ReAct + a dash of Reflection. Simple enough to be reliable, powerful enough to recover from surprises. Reach for Tree of Thoughts or LATS only when a problem genuinely needs deep exploration — they're far more expensive.
Chapter 11 in one breath
ReAct loops. Chain-of-Thought reasons in a line. Plan & Execute commits up front. Tree of Thoughts and LATS explore many paths. Reflection learns from failure. Start simple — ReAct plus Reflection covers most of it — and escalate only when the problem earns it. Next: what happens when one agent isn't enough.
A matching slide deck with speaker notes — press S for notes, F for fullscreen.