The ReWOO agent pattern takes a different approach to tool-using agents: plan everything first, then act. Instead of alternating between thinking and acting like ReAct does, ReWOO separates the work into three modules. A Planner writes a complete blueprint of interlinked steps, a Worker executes the steps with tools and collects evidence, and a Solver combines the plan and the evidence into the final answer.
ReWOO stands for Reasoning WithOut Observation, and it was introduced in a 2023 paper by Binfeng Xu and colleagues, “ReWOO: Decoupling Reasoning from Observations for Efficient Augmented Language Models”. The paper’s argument is that interleaving reasoning with observations wastes tokens, because the model is called again after every tool result. By decoupling reasoning from observation, ReWOO makes the reasoning happen once, up front, and the tools run without further reasoning calls.
Key takeaways
- ReWOO separates an agent into three modules: Planner, Worker and Solver.
- The Planner writes the entire plan in one model call, before any tool is used.
- The Worker executes the plan, calling tools and collecting evidence for each step.
- The Solver combines the plan and the evidence into the final answer, with no further tool calls.
- The paper reports five times the token efficiency of ReAct on HotpotQA, with a small accuracy improvement, plus robustness when tools fail.
What the ReWOO Pattern Is
Most tool-using agents work like ReAct: think, act, observe, think again. Each observation triggers another model call, and each model call re-reads the growing history of thoughts, actions and observations. That works, but it is expensive. Every step pays for the full context again, and the model spends tokens reasoning about things it could have decided in advance.
ReWOO breaks that cycle by separating reasoning from observation entirely. The Planner is given the task and produces a comprehensive blueprint: a list of interdependent plans, each with a placeholder for the evidence that step will produce. The placeholders, written as #E1, #E2 and so on, let later steps refer to the results of earlier ones, so the plan reads like a small dataflow program. The Worker then runs the plan, calling the tools named in each step and filling in the evidence. Finally, the Solver receives the plan and the evidence together and writes the answer.
Because the Planner runs once and the Solver runs once, ReWOO uses far fewer model calls than an interleaved approach for a task with several tool calls. The paper describes the count as two model calls plus the tool calls, rather than a model call after every observation. That is the efficiency gain in a sentence: reasoning is decoupled from observation, so the model is not re-invoked to think about every tool result.

The Three Modules in Detail
The Planner is the reasoning engine of the pattern. It breaks a task into a sequence of sub-tasks and writes a blueprint before any tool runs. The blueprint contains consecutive tuples of a plan and an evidence placeholder, so each step names what should be done and where its result will be stored. The Planner relies on what the paper calls foreseeable reasoning: the model can anticipate the steps a task needs without seeing the intermediate results first.
The Worker is the execution engine. It parses the plan, resolves each step’s arguments, calls the designated tools, and accumulates the evidence in a normalised structure. The Worker does not reason about the task; it follows the plan. That separation is what makes tool use predictable and policy-enforceable, because the Worker can only run what the plan authorises. If the plan says to search for two populations and subtract them, the Worker searches twice and runs the calculator, nothing more.
The Solver is the synthesis engine. It reads the plan and the collected evidence, then composes the final answer. The Solver does not call tools directly, which keeps tool effects and decision-making auditable: there are no hidden follow-up calls in the last step. If the evidence is incomplete or contradictory, the Solver works with what it has, which is also the pattern’s main weakness, as discussed below.
A Worked Example
Take the question: how much larger is the population of Japan than that of South Korea? A ReWOO Planner would write a plan such as: step one, search for the population of Japan and store it as evidence one; step two, search for the population of South Korea and store it as evidence two; step three, calculate the difference using evidence one and evidence two, with the second and third steps referring to the first by its placeholder. The Worker then executes the searches and the calculation, and the Solver takes the plan and the three pieces of evidence and writes the final answer.
Notice what did not happen. No model call was made after the first search to decide what to do next, because the plan already said what to do next. The searches ran without further reasoning, and the answer was composed in a single final call. For tasks where the steps are foreseeable, that is a large saving in tokens and in latency.
Why ReWOO Is More Token-Efficient
The token saving comes from two places. First, there are fewer model calls: two instead of one per step. Second, each model call carries less context, because the Planner sees only the task and the Solver sees only the task, the plan and the evidence, rather than a growing transcript of thoughts and observations. The paper reports five times the token efficiency of ReAct on HotpotQA, a multi-step reasoning benchmark, alongside a 4% accuracy improvement on the same benchmark. Those figures describe the paper’s experiments, not a promise for every task.
There is a second efficiency benefit that matters for production systems. Decoupling the reasoning module from the tool calls makes it possible to offload reasoning into smaller models. The paper demonstrates offloading reasoning ability from a 175-billion-parameter model into a 7-billion-parameter model, showing that the Planner’s job can be handled by a much smaller model once the pattern is in place.
Robustness under tool failure is another reported advantage. In an interleaved pattern, a failed tool call interrupts the reasoning loop and the model must decide how to recover. In ReWOO, a failed step produces missing or partial evidence, and the Solver still produces an answer from what is available. That is not always the right behaviour, but it means a single tool failure does not derail the whole run.
Where ReWOO Struggles
The plan-first design has a clear cost: the plan is committed up front, and it cannot adapt when an intermediate result invalidates a later step. If the first search returns something unexpected, the Planner is not there to revise the plan. The Worker follows the blueprint as written, and the Solver answers from whatever evidence was collected. That makes ReWOO a poor fit for tasks where each step genuinely depends on what the previous step found.
The pattern also assumes the task is foreseeable. When the Planner cannot anticipate the steps, because the environment is unfamiliar or the task is exploratory, the blueprint will be wrong in ways that no amount of careful execution can fix. The paper’s authors note that adding extra tools can degrade ReWOO’s performance, and that it does not do well in situations where it has limited context about its environment. A large toolset makes the planning problem harder, not easier.
Finally, ReWOO trades away the transparency of the interleaved loop. A ReAct trajectory shows the agent thinking and correcting itself, which makes failures easy to diagnose. A ReWOO run shows a plan, a set of evidence, and an answer. When the answer is wrong, the diagnosis is usually that the plan was wrong, which is less informative about exactly where the reasoning failed.
ReWOO Versus ReAct
The two patterns are best understood as a trade-off, not a ranking. ReAct adapts to what it finds and shows its work; ReWOO plans once and executes cheaply. The right choice depends on the task’s shape, not on which pattern is newer or more fashionable. For a broader view of how these patterns fit into agent architecture, see our guide to agent design patterns that hold up in production.
Choose ReAct when the steps depend on intermediate results, when the environment is unpredictable, or when you need a readable trajectory for debugging. Choose ReWOO when the steps are foreseeable, when the toolset is small and well understood, and when token cost or latency matters enough to justify giving up adaptability. Many production systems end up using both: ReWOO for the predictable parts of a workflow and an interleaved loop for the parts that need judgement. Our article on agent planning strategies puts both patterns in the wider context of how agents plan.
| Aspect | ReAct | ReWOO |
|---|---|---|
| Structure | Interleaved Thought, Action, Observation loop | Three modules: Planner, Worker, Solver |
| Model calls | One per step, growing with task length | Two per task, plus tool calls |
| Token use | Higher, context grows with every step | Lower, reported as five times more efficient on HotpotQA |
| Adaptability | High, replans after every observation | Low, plan is committed up front |
| Transparency | High, trajectory shows reasoning at each step | Lower, plan and evidence only |
| Tool failure | Loop must decide how to recover | Solver answers from partial evidence |
| Best for | Exploratory, unpredictable tasks | Foreseeable, repeatable multi-step tasks |
Decision Framework: Should You Use ReWOO?
- Use ReWOO when the task steps are foreseeable before any tool runs, and the plan can be written from the task alone.
- Use ReWOO when token cost or latency is a real constraint, and the task runs often enough for the saving to matter.
- Use ReWOO when the toolset is small and stable, so the Planner can name the right tools with confidence.
- Avoid ReWOO when each step depends on the result of the previous one in ways the Planner cannot predict.
- Avoid ReWOO when the environment is unfamiliar or changes frequently, because a stale plan will fail silently.
- Avoid ReWOO when you need a readable reasoning trace for audit or debugging, and prefer an interleaved loop instead.
- Consider a hybrid when the overall shape is predictable but individual steps need validation, using a planned outline with a small loop inside each step.
Frequently Asked Questions
What does ReWOO stand for?
ReWOO stands for Reasoning WithOut Observation. The name describes the core idea: the reasoning happens without waiting for observations from tools, because the full plan is written before any tool is called.
Who created ReWOO?
ReWOO was introduced in a 2023 paper by Binfeng Xu and colleagues, titled “ReWOO: Decoupling Reasoning from Observations for Efficient Augmented Language Models”. An official implementation is available on GitHub.
How is ReWOO different from ReAct?
ReAct interleaves reasoning and acting, calling the model after every observation. ReWOO separates the two: the Planner writes the whole plan first, the Worker executes it, and the Solver writes the answer. ReWOO uses fewer model calls and fewer tokens, but it cannot adapt the plan mid-task.
Is ReWOO always cheaper than ReAct?
Not always. The saving depends on the task. For foreseeable multi-step tasks, ReWOO uses far fewer model calls. For tasks where the plan would be wrong, the cost of a wrong answer can exceed the token saving, and an adaptive loop is the better choice.
Can ReWOO handle tool failures?
Partly. The paper reports robustness under tool-failure scenarios, because the Solver can still answer from the evidence that was collected. But a failed step means missing evidence, so the answer may be incomplete or based on partial information.
Which frameworks support ReWOO?
ReWOO is a pattern rather than a product, so it can be implemented in any agent framework. LangChain and LangGraph provide the building blocks for the three-module structure, and cloud providers have published reference implementations, including a Strands Agents example from AWS.







