ReAct
ReAct is a way for an agent to work in which the model alternates reasoning and acting: it decides what to do, calls a tool, reads the result and reasons again. Reasoning alone, the model makes the answer up; acting alone, it wanders without a plan; alternating, it gets to the right answer. Described in a 2022 paper; the agent loop of today’s coding agents rests on it.
Frequently asked questions
What is ReAct?
An agent pattern where the model takes turns reasoning and acting: it decides what to do, calls a tool, reads the result and reasons again.How is ReAct different from React?
ReAct is an AI agent pattern, React is a JavaScript library for web pages. Only the spelling is similar.Source: Yao et al., “ReAct” (arXiv, 2022)
Where it appears · 2
- AI agent = LLM + harness · Harness
- MCP for an AI agent · Harness