What does the ReAct method have a language model do?
Interleave reasoning steps with actions, like searching, and use what comes back.
- React to user emotions with emojis
- Alternate reasoning steps with actions ✔
- Write React web app code
Why: ReAct mixes thinking and doing: the model reasons about what it needs, takes an action such as a Wikipedia lookup, reads the result, and reasons again. Fresh evidence cuts down on hallucination.
Huh, didn't know that: On two decision-making benchmarks, ReAct beat earlier methods by 34 and 10 points with only one or two examples.
ReAct is how I cook. Think, taste, add salt, think again, order pizza.
References
Answer: Alternate reasoning steps with actions. ReAct mixes thinking and doing: the model reasons about what it needs, takes an action such as a Wikipedia lookup, reads the result, and reasons again. Fresh evidence cuts down on hallucination.
- Yao et al., ReAct: Synergizing Reasoning and Acting in Language Models (arXiv 2210.03629) arxiv.org/abs/2210.03629
generate both reasoning traces and task-specific actions in an interleaved manner
Checked 2026-10-10.
Think this answer is wrong? Tap "Challenge this answer" on the card in the game and tell us why.
More stuff everyone should know
That's stuff everyone should know.