Interleave reasoning and tool calls until the goal is reached.
// curated list · updated 2026-11-25
Claude Agent Loops
Every useful Claude agent is built on a handful of loop patterns: how it reasons, when it calls tools, how it checks its own work, when a human steps in. This list names and explains those patterns so you can pick the right one instead of reinventing it. Filter by tag or search below.
Plan the steps first, then execute them in order.
Generate, critique your own answer, revise.
One agent generates, one scores, iterate.
Classify the input, dispatch to the right specialist.
A lead agent delegates to subagents.
Split the work, run it in parallel, merge the results.
Pause for approval at sensitive steps.
Call a tool, observe the result, repeat until done.
Handle failures robustly with retries.
Persist state between turns for continuity.
Validate the output, re-run if invalid.
Nothing matches — try another term or tag.