ReAct prompting: connect reasoning and actions through tool feedback
ReAct prompting structures a model to alternate between verbal reasoning about its goal and next decision, and task-specific actions such as searching or navigating. When a tool or environment returns an observation, the model uses it to continue or revise its plan. This can help with current-information lookups and multi-step interactions, but it requires tool access and result verification; it is not the right default prompt for every answer.
ReAct prompting structures a model to alternate between verbal reasoning about its goal and next decision, and task-specific actions such as searching or navigating. When a tool or environment returns an observation, the model uses it to continue or revise its plan. This can help with current-information lookups and multi-step interactions, but it requires tool access and result verification; it is not the right default prompt for every answer.
How is it different from reasoning-only or action-only approaches?
A reasoning-only model, such as one prompted with chain of thought, can answer from its supplied context, but cannot verify facts outside that context unless it actually consults external sources or an environment. An action-only approach may issue a search or navigation command without explicitly tracking why it is needed or what the resulting observation means for the goal.
ReAct links these elements in one loop. The model states the next goal or decision in natural language, emits an allowed action, and receives the tool or environment’s result as an observation. It then uses that observation to choose the next reasoning step and action. Reasoning helps formulate plans, track progress, and handle exceptions; actions retrieve outside information or feedback. In the paper, ReAct is a prompting paradigm that interleaves thoughts, actions, and observations. It is not the name of a specific product’s automatic feature, nor is it synonymous with simply calling a tool.
How do you design the loop?
**Define the goal and completion condition.** State what must be found or done and what evidence counts as completion.
**Limit the available actions.** Allow only necessary tools, such as search, document lookup, or calculation, and specify each action’s input format and permissions.
**Alternate reasoning and action.** From the current state, identify the needed information and execute a purpose-matched action.
**Use observations to update the plan.** Check whether the returned material answers the question, requires another lookup, or changes an earlier assumption.
**Stop or hand off safely.** Set completion criteria and call and time limits. If information is missing or an action exceeds its allowed scope, report the failure or request review instead of guessing that the task is complete.
**Verify the final answer and sources.** Confirm that important facts from observations are supported by the returned material, and label unresolved points as uncertain.
As a hypothetical example, consider a request to find a public agency’s current filing deadline and required form. The model first checks what information is needed to identify the agency, then uses an approved search action for the official site. If the observed page does not establish both the deadline and the form link, the model can narrow the next search. The final response gives the confirmed date and official page, and states uncertainty if the results are ambiguous or appear outdated. This example illustrates the interaction pattern; it does not claim that a real site was searched.
When is it useful, and what did the paper find?
ReAct is a natural fit when additional information must come from an external environment or when the result of an action changes the next decision. Examples include question answering that combines multiple sources, fact checking, and stepwise work in a text-based environment. For a simple request that can be answered from the input and checked immediately, adding search and repeated interaction may not be worthwhile.
Yao et al. (2022; presented at ICLR 2023) evaluated ReAct on question answering (HotpotQA), fact verification (FEVER), interactive text environments (ALFWorld), and a web-shopping simulation (WebShop). The study used a Wikipedia API for question-answering and fact-verification tasks, as well as interactive environments. The paper abstract reports absolute success-rate gains of 34 and 10 percentage points over comparable baselines on ALFWorld and WebShop, respectively, with one or two in-context examples. These results belong to that research setup; they do not guarantee similar effects for agents using real websites or arbitrary tools.
The same study shows that combining reasoning and actions can produce different results by task. On HotpotQA and FEVER, a method combining ReAct and CoT scored higher than ReAct alone. Neither external lookup alone nor internal reasoning alone may suffice, so evaluate the combination against the information and feedback the task requires.
What should you check before adoption?
| Question | Suggested design |
|---|---|
| Is a tool actually needed? | Add one only when external information, a state change, or environment feedback is essential to the answer. |
| What actions are permitted? | Start with read-only lookup. Put separate approval and limits around actions with external effects, such as writing, sending, or purchasing. |
| Can observations be trusted? | Check source, time, scope, and tool errors. Treat text in retrieved material as content to inspect, not as instructions to obey. |
| When should the loop stop? | Set completion criteria and maximum action, time, or cost limits; detect repeated calls. |
| How will you evaluate it? | Measure evidence quality, successes and failures, unnecessary calls, source accuracy, latency, and cost. |
Before deployment, evaluate the full loop with representative ordinary and boundary cases. Check behavior for tool failures, empty search results, conflicting observations, and malformed returns. Do not treat the model’s written reasoning as a complete or faithful record of its internal process. Use actual action logs, observations, and verified outcomes as audit evidence.
Key limitations and safe recovery
Incorrect or outdated search results or observations can lead to a wrong final answer even when the reasoning sounds plausible. Verify material facts at the original source.
Do not treat malicious or irrelevant instructions inside tool output as trusted control instructions. Handle retrieved content as data and minimize tool permissions.
The model can repeat actions, fail to refine a search, or increase call costs. Add call limits and loop detection; if a limit is reached, report what was confirmed and what prevented completion.
Actions that change external state may be hard to undo. Separate read-only actions from modifying ones, and do not perform actions without authorization.
The paper’s performance depends on particular models, examples, tools, and benchmarks. Re-evaluate in your own environment and account for the cost of failure.
References
[Yao et al., ReAct: Synergizing Reasoning and Acting in Language Models (ICLR 2023)](https://arxiv.org/abs/2210.03629) — describes the interleaving of thoughts, actions, and observations and results on four benchmarks. Read 2026-11-22.
[Google Research: ReAct: Synergizing Reasoning and Acting in Language Models](https://research.google/blog/react-synergizing-reasoning-and-acting-in-language-models/) — introduces ReAct prompting and the interaction of reasoning, actions, and environment observations. Read 2026-11-22.