ReAct, short for Reasoning and Acting, is a prompting pattern from a 2022 paper by Yao et al. It makes one model interleave short reasoning steps with tool actions in a single trace.
Thought: I need Acme's current CEO.
Action: search("Acme CEO")
Observation: Jane Doe, since 2024.
Thought: That answers it.
Answer: Jane Doe.
It was influential because it joined two things that were separate. Chain-of-thought, where the model writes its reasoning out loud, could plan but not check facts. Tool-using systems could act but not plan. ReAct grounds each reasoning step in a real observation, so wrong turns get caught mid-task.
Today most agents run this shape through native tool-calling APIs instead of parsing Thought: and Action: text.
This answer doesn't lend itself to a diagram - it reads best . No credits were charged.
Why there's no diagram: “”
The interactive diagram is below the answer - jump to diagram ↓ · Below it, the related concept . Jump to it ↓
The diagram below the answer is the concept . Jump to it ↓