ModelRefs / ReAct Agent Pattern — AI Glossary
ReAct Agent Pattern — AI Glossary
An agent loop that interleaves chain-of-thought Reasoning with tool Actions (Reason → Act → Observe → repeat). The step count is genuinely unknown ahead of time
Overview
ReAct (Yao et al., 2022) is the foundational pattern behind LangChain agents, AutoGPT, and most production agentic systems. The model writes its reasoning in free text before each tool call, making the decision process inspectable and debuggable.
Reference details
| Topic | agents |
|---|---|
| Last reviewed | 2026-06-24 |
Related terms
Example: What the executor adds around the pattern
The pattern gives you Thought → Action → Observation. An agent adds everything that makes it survive contact with production: a maximum iteration count, a timeout, parsing of malformed actions, a whitelist of callable tools, and a stopping condition. Most ReAct failures in practice are not reasoning failures — they are loops that never terminated.
Commonly confused with
A ReAct agent is the running system; ReAct is the prompting pattern inside it. The distinction matters operationally: you tune the pattern by changing the prompt, and you make the agent safe by changing the loop — iteration caps, tool permissions, timeouts.
When to use it
Reach for it when:
- The step count is genuinely unknown ahead of time
- You have bounded the loop and can afford the worst case
- The tools are read-only, or writes are individually authorised
Reach for something else when:
- You have not set a step budget — an unbounded loop is an unbounded bill
- Tools have side effects and nothing gates them
- A fixed pipeline would do: it is cheaper, faster, and testable
Primary source
Referenced by
This term is used by the following ModelRefs references:
Continue your research
Use these connected ModelRefs sections to compare alternatives, inspect implementation paths, and review the evidence and governance boundaries relevant to ReAct Agent Pattern — AI Glossary.
Frequently asked questions
What is ReAct Agent Pattern?
An agent loop that interleaves chain-of-thought Reasoning with tool Actions (Reason → Act → Observe → repeat).
What concepts are related to ReAct Agent Pattern?
Closely related concepts include agentic loop, tool use, chain of thought.