Skip to content
Search
AgenticPapers

ReAct: Synergizing Reasoning and Acting in Language Models

Authors: Shunyu Yao, Jeffrey Zhao, Dian Yu, Nan Du, Izhak Shafran, Karthik Narasimhan, Yuan Cao

Published October 6, 2022

Read the paper: arXiv 2210.03629 · PDF

Why it matters

Every LangChain agent, every Claude with tools, every "copilot" loop descends from this pattern. Before ReAct, tool-using models either hallucinated tool outputs or jumped straight to action without planning. ReAct showed that explicit reasoning before each action catches plan errors earlier and produces more reliable behavior.

Modern frameworks hide the Thought/Action/Observation labels behind function-calling APIs, but the underlying shape is unchanged.

How to use it

When designing a tool-using agent: structure the loop as reason → act → observe, at least implicitly. Expose the reasoning trace for debuggability. If you're using a reasoning model, much of this happens internally and you can skip explicit ReAct scaffolding.

Abstract

We explore the use of LLMs to generate both reasoning traces and task-specific actions in an interleaved manner, allowing for greater synergy between the two.