ReAct: interleaved reasoning
ThoughtAction / Observationerror
- Act-only and ReAct emit the same first Action.
- Both receive a schema error as the Observation.
- Act-only: blind retries without error attribution.
- ReAct: a Thought diagnoses the error and re-plans the Action.
Notes & references
Use when
Multi-step tool use where observations change the plan.
Avoid
Large thinking budgets on trivial, deterministic lookups.
Action: query(charges)
Observation: error: "currency" is required
Thought: I am missing a field. Check the schema first.
Action: describe(charges)
Observation: { amount: int, currency: "usd" }
Thought: Now I know the missing field.
Action: query(charges, currency="usd") # works
- ReAct: Synergizing Reasoning and ActingYao et al.
- The "think" toolAnthropic
- Extended thinkingAnthropic
- ReflexionShinn et al.