Papers › ReAct: Synergizing Reasoning and Acting in Language Models

ReAct: Synergizing Reasoning and Acting in Language Models

6 Oct 2022arXiv:2210.03629archive 2025-07-28

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

While large language models (LLMs) have demonstrated impressive capabilities across tasks in language understanding and interactive decision making, their abilities for reasoning (e.g. chain-of-thought prompting) and acting (e.g. action plan generation) have primarily been studied as separate topics. In this paper, 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: reasoning traces help the model induce, track, and update action plans as well as handle exceptions, while actions allow it to interface with external sources, such as knowledge bases or environments, to gather additional information. We apply our approach, named ReAct, to a diverse set of language and decision making tasks and demonstrate its effectiveness over state-of-the-art baselines, as well as improved human interpretability and trustworthiness over methods without reasoning or acting components. Concretely, on question answering (HotpotQA) and fact verification (Fever), ReAct overcomes issues of hallucination and error propagation prevalent in chain-of-thought reasoning by interacting with a simple Wikipedia API, and generates human-like task-solving trajectories that are more interpretable than baselines without reasoning traces. On two interactive decision making benchmarks (ALFWorld and WebShop), ReAct outperforms imitation and reinforcement learning methods by an absolute success rate of 34% and 10% respectively, while being prompted with only one or two in-context examples. Project site with code: https://react-lm.github.io

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2210.03629")

Code

Syntology Ran 15 of 34 code samples harvested from 3 repositories linked to this paper; 19 have no recorded run. Of those that ran: 1 ran · honoured contract; 5 ran · our draft was wrong; 9 ran with no contract checked.

By repository: official repository: 3 samples from 1 repository, 3 ran; community (archive-listed): 31 samples from 2 repositories, 12 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

ysymyth/ReAct officialmentioned on GitHubMIT report
billxbf/rewoo mentioned on GitHubMIT report
hkust-nlp/agentboard mentioned on GitHub report
infiagent/infiagent mentioned on GitHub report
liyuan24/nanodeepresearch mentioned on GitHub report
sierra-research/tau-bench mentioned on GitHub report
thudm/agenttuning mentioned on GitHub report
vortezwohl/Autono mentioned on GitHubGPL-3.0 report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

34 samples harvested; 15 ran; 1 honoured the contract we drafted; 19 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

1ran · honoured contract
5ran · our draft was wrong
9ran
19unverified

Licence: 5 of the 34 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from 3 repositories linked to this paper, official or community; each sample names its own and says which. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

clean_str ysymyth/ReAct/wikienv.py official repository ran · our draft was wrong fingerprinted MIT (permissive) · 961911bec23c09ff · report
f1_score ysymyth/ReAct/wrappers.py official repository ran · honoured contract MIT (permissive) · 32a5f1733d9a8971 · report
normalize_answer ysymyth/ReAct/wrappers.py official repository ran · our draft was wrong fingerprinted MIT (permissive) · dae7ab386661a4f4 · report
Action sierra-research/tau-bench/tau_bench/agents/chat_react_agent.py community (archive-listed) ran · metamorphic tier: deterministic MIT (permissive) · 69febc56d55428d1 · report
AgentState liyuan24/nanodeepresearch/agent/react_agent.py community (archive-listed) ran no licence file found · pointer only · 67368f282ad305f4 · report
HumanUserSimulationEnv sierra-research/tau-bench/tau_bench/agents/chat_react_agent.py community (archive-listed) ran MIT (permissive) · c06bc83fe26205ee · report
RewardActionInfo sierra-research/tau-bench/tau_bench/agents/chat_react_agent.py community (archive-listed) ran · metamorphic tier: deterministic MIT (permissive) · 57d96bea80ca4d0f · report
RewardOutputInfo sierra-research/tau-bench/tau_bench/agents/chat_react_agent.py community (archive-listed) ran · metamorphic tier: deterministic MIT (permissive) · 3cbe32095b32f8a4 · report
SolveResult sierra-research/tau-bench/tau_bench/agents/chat_react_agent.py community (archive-listed) ran · metamorphic tier: deterministic MIT (permissive) · 585b61f32e449f1f · report
State liyuan24/nanodeepresearch/agent/react_agent.py community (archive-listed) ran no licence file found · pointer only · b31daddc6c61beaf · report
Tool sierra-research/tau-bench/tau_bench/agents/chat_react_agent.py community (archive-listed) ran MIT (permissive) · ea6a9a1ba41d476e · report
Tool liyuan24/nanodeepresearch/agent/react_agent.py community (archive-listed) ran no licence file found · pointer only · c1d21e714eedd29c · report
consistent_hash sierra-research/tau-bench/tau_bench/agents/chat_react_agent.py community (archive-listed) ran · our draft was wrong fingerprinted MIT (permissive) · 525653e8db7bd970 · report
map_role_label sierra-research/tau-bench/tau_bench/agents/chat_react_agent.py community (archive-listed) ran · our draft was wrong fingerprinted MIT (permissive) · 6a6bfc18b5ee6f7d · report
to_hashable sierra-research/tau-bench/tau_bench/agents/chat_react_agent.py community (archive-listed) ran · our draft was wrong MIT (permissive) · 290b5b60a6956be6 · report
Agent sierra-research/tau-bench/tau_bench/agents/chat_react_agent.py community (archive-listed) unverified MIT (permissive) · bdaf067f70d6cb83 · report
BaseUserSimulationEnv sierra-research/tau-bench/tau_bench/agents/chat_react_agent.py community (archive-listed) unverified MIT (permissive) · e1bd2b500ed5d45e · report
ChatReActAgent sierra-research/tau-bench/tau_bench/agents/chat_react_agent.py community (archive-listed) unverified MIT (permissive) · e480e41efb54cc05 · report
Env sierra-research/tau-bench/tau_bench/agents/chat_react_agent.py community (archive-listed) unverified MIT (permissive) · 970c4a357bfe3ed9 · report
EnvInfo sierra-research/tau-bench/tau_bench/agents/chat_react_agent.py community (archive-listed) unverified MIT (permissive) · 747fe2940f9b3de2 · report
EnvResetResponse sierra-research/tau-bench/tau_bench/agents/chat_react_agent.py community (archive-listed) unverified MIT (permissive) · fdcd7a0695b2e849 · report
EnvResponse sierra-research/tau-bench/tau_bench/agents/chat_react_agent.py community (archive-listed) unverified MIT (permissive) · a73129421afbde3a · report
LLMUserSimulationEnv sierra-research/tau-bench/tau_bench/agents/chat_react_agent.py community (archive-listed) unverified MIT (permissive) · 95c8661758537c4a · report
ReactAgent liyuan24/nanodeepresearch/agent/react_agent.py community (archive-listed) unverified no licence file found · pointer only · 3b3b1888dc5abd89 · report
ReactUserSimulationEnv sierra-research/tau-bench/tau_bench/agents/chat_react_agent.py community (archive-listed) unverified MIT (permissive) · 82d74b8e85fde515 · report
ReflectionUserSimulationEnv sierra-research/tau-bench/tau_bench/agents/chat_react_agent.py community (archive-listed) unverified MIT (permissive) · 00d88099b2fae6a1 · report
RewardResult sierra-research/tau-bench/tau_bench/agents/chat_react_agent.py community (archive-listed) unverified MIT (permissive) · 8452d36949e4cc0d · report
Task sierra-research/tau-bench/tau_bench/agents/chat_react_agent.py community (archive-listed) unverified MIT (permissive) · c6504ae4ebf5bcab · report
UserStrategy sierra-research/tau-bench/tau_bench/agents/chat_react_agent.py community (archive-listed) unverified MIT (permissive) · 32835ca402509b76 · report
VerifyUserSimulationEnv sierra-research/tau-bench/tau_bench/agents/chat_react_agent.py community (archive-listed) unverified MIT (permissive) · 4c54d2533220cb6d · report
load_prompt liyuan24/nanodeepresearch/agent/react_agent.py community (archive-listed) unverified no licence file found · pointer only · cb56e34b15e5e739 · report
load_user sierra-research/tau-bench/tau_bench/agents/chat_react_agent.py community (archive-listed) unverified MIT (permissive) · 6ec1d4d5147ad9d7 · report
reflect sierra-research/tau-bench/tau_bench/agents/chat_react_agent.py community (archive-listed) unverified MIT (permissive) · b0d8172e1c1ba444 · report
verify sierra-research/tau-bench/tau_bench/agents/chat_react_agent.py community (archive-listed) unverified MIT (permissive) · e0ead272d4fc4589 · report

Tasks

Decision MakingFact VerificationHallucinationQuestion Answering

Results from the paper archive 2025-07-28

TaskDatasetModelMetricValueRank at snapshotLeaderboardReport
Question Answering WebQuestions React EM 38.3 #20 of 37 Archive leaderboard report

Ranks are positions in the archive's leaderboards as they stood at the 2025-07-28 snapshot. Results published since then are not among these rows, so a rank here is not a current standing.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections