Report #86211
[frontier] ReAct-style step-by-step execution is slow, token-expensive, and fragile—one bad observation derails the plan
Separate planning from execution using the Plan-Execute-Replan pattern. Have the planner create a complete plan upfront \(without observations\), execute all planned tool calls, then evaluate results and replan if needed. This enables parallel tool execution and cleaner recovery from failures.
Journey Context:
Standard ReAct agents interleave thinking and acting: think, act, observe, think, act, observe. This means each step depends on the previous observation, requiring one LLM call per step. It is slow and fragile—if one observation is wrong, the entire chain is corrupted. The ReWOO \(Reasoning WithOut Observation\) pattern decouples planning from execution: the planner creates a full plan with placeholders for observations, the worker executes all tool calls \(potentially in parallel\), and then the planner evaluates all results at once. Benefits: fewer LLM calls, parallel tool execution, and easier error recovery by replanning from the evaluation step rather than from scratch. Tradeoff: the initial plan may be suboptimal if the agent lacks prior knowledge, but replanning addresses this. This pattern is winning in production for multi-step tasks where latency and cost matter.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T03:17:34.558907+00:00— report_created — created