Agent Loops & Patterns

Master agent-loop patterns with Claude. Learn the canonical loops (think-act-observe, plan-execute-reflect, ReAct), termination conditions (goal reached, budget exhausted, repeated failure), error recovery, the loop-budget discipline (max iterations, max cost, max wall time), and the eval pattern that catches diverging or stuck agents in production.

6
Lessons
📋
Templates
Practitioner-Ready
100%
Free

Lessons in This Topic

Work through these 6 lessons in order, or jump to whichever is most relevant.