ReAct
Reason → act → observe → repeat. The base pattern. An LLM interleaves natural-language reasoning with tool calls; each observation feeds the next reasoning step.
Every major lab has converged on the same handful. Picking the wrong one is the most common reason production agents fail.
Reason → act → observe → repeat. The base pattern. An LLM interleaves natural-language reasoning with tool calls; each observation feeds the next reasoning step.
Draft a plan up front, execute each step, verify the result against the goal. Separates strategy from tactics and gives a natural checkpoint before shipping.
The agent critiques its own output before moving on. A second pass catches obvious mistakes, but self-grading is weaker than an independent check.
Two roles. A generator produces; a separate evaluator scores against fixed criteria and returns specific fixes. Cycle two to four times.
Re-run a step until it succeeds or a limit hits. Cheap and effective against transient failures — network hiccups, rate limits, non-deterministic parses.
Run the same prompt on repeat, a fresh context each pass, letting every iteration nudge the work forward. Crude and surprisingly effective — state lives in the artifacts, not the chat.
A controller dispatches work to specialist workers running in parallel, then merges results. Powerful, expensive, coordination-heavy.
Multiple agents with different priors argue; a judge synthesizes. Reduces confidently-wrong single-agent outputs on high-stakes calls.
Generate several candidates in parallel — different seeds, prompts, or angles — and let a judge pick the winner. Trades tokens for quality when one attempt won't do.
Trip after N consecutive failures. Stop hammering a broken tool or spinning on an unsatisfiable goal. Cool off, then decide to retry.
Hard caps: max iterations, token budget, wallclock, dollar spend. Any breach ends the loop with a partial result rather than a runaway.
Pause and request human sign-off on irreversible or ambiguous steps. The escape hatch that makes autonomy safe to ship.