ReAct (Reasoning + Acting)
The agent alternates between a reasoning step (think about the problem) and an acting step (call a tool), feeding each observation back into the next thought.
- How it loops
- Thought → Action → Observation, repeated. The model writes a short reasoning trace, emits one tool call, reads the result, then reasons again. It is the default shape of most production agents.
- When to use
- The reliable default for tool-using agents on multi-step tasks. Reach for something heavier only when ReAct's greedy, one-step-at-a-time behavior starts thrashing on tasks that need an upfront plan.
- Example
- A data agent asked 'why did signups drop last week?' reasons it needs the numbers, queries the warehouse, observes a dip isolated to mobile, reasons again, checks the release log, and finds a broken signup button shipped Tuesday.