Skip to content
ImagineWorld

Do LLM Agents Execute the Plans They Declare? From Planning-Mode Declaration to Pattern-Specific Execution

node_idnode-paper_arxiv-2609.38108_do-llm-agents-execute-the-plans-they-declare-from-planning-mode-declaration-to
node_typenode-paper
schema_profileworld.node_paper.v1
alternate_namesarxiv-2609.38108
statusactive
orthogonal_scopemanifold, entropy, authority, state
manifoldworld
entropymedium
authorityguides
stateexternal
domainimagineworld.net
node_interiorrosetta_contract
unisonone evidence claim read five ways: seated in the agent-planning field, the work checks whether LLM agents execute the plans they declare — tracing the gap from planning-mode declaration to actual execution — its framework, regime, and stance agreeing on what it is
governed_byWORLD-MANIFOLD, CORPUS
constitutional_citationCONSTITUTION
evidence_bundleworld-bundle-paper
publication_classarxiv_preprint
paper_titleDo LLM Agents Execute the Plans They Declare? From Planning-Mode Declaration to Pattern-Specific Execution
paper_authorsSubba Reddy Oota, Francisco Herrera, Jordi Cabot Sagrera, Marcos López de Prado, Shadab Khan
arxiv_id2609.38108
arxiv_urlhttps://arxiv.org/abs/2609.38108
arxiv_categories{"primary":"cs.AI","secondary":["cs.LG"]}
arxiv_v1
arxiv_submitted_at2026-09-29
arxiv_updated_at2026-09-29
ocr_sourcearxiv_html
ocr_quality_classverbatim_latexml_html
extraction_toolarxiv-nodepaper-transpose
extraction_pipeline_versionworld-ingest-arxiv-html-v1.0
extracted_at2026-10-13T06:51:09Z
math_preserved_as_latextrue
figures_extractedtrue
references_structurally_parsedfalse
created_at2026-10-13T06:51:09Z
updated_at2026-10-14T05:31:53Z
local graph

Do LLM Agents Execute the Plans They Declare? From Planning-Mode Declaration to Pattern-Specific Execution

Section titled “Do LLM Agents Execute the Plans They Declare? From Planning-Mode Declaration to Pattern-Specific Execution”

Authors: Subba Reddy Oota, Francisco Herrera, Jordi Cabot Sagrera, Marcos López de Prado, Shadab Khan

arxiv: 2609.38108

Converted to markdown on 2026-10-13 from the arXiv HTML (LaTeXML) rendering; figures embedded from the same source.


Large language models (LLMs) enable agents to solve long-horizon tasks by generating a plan and then executing it in an environment. However, successful planning requires two distinct capabilities: selecting an appropriate plan for the task and executing it faithfully. Existing planner–executor systems can fail at either stage: the agent may deviate from a structured plan during execution, or it may faithfully execute a plan that is poorly matched to the task or environment. Final task success alone cannot distinguish between these two sources of failure. We therefore ask: can LLM agents be trusted to execute the plans they commit to, and do different tasks and environments benefit from different planning modes? To study this, we introduce a diagnostic framework for the Plan Declaration–Execution Gap and propose Planning-as-Routing, in which the LLM declares one of four planning modes: Predefined, Sequential, Hierarchical, or Search. A deterministic router sends the task to the corresponding pattern-specific executor. Across four benchmarks and three LLMs, we find three consistent patterns. First, generic Plan+ReAct often fails to preserve the declared planning structure, especially for longer plans: across three benchmarks, only 2222–45%45\% of trajectories preserve it, whereas pattern-specific executors enforce the intended structure. Second, planning-mode effectiveness varies across environments and models: Search performs best on ALFWorld, Hierarchical on SWE-bench, and the strongest pattern can vary across models within the same benchmark. Third, the largest gains come from plan execution: pattern-specific executors raise task success from 0.480.48 to 0.920.92 on ALFWorld and from 0.360.36 to 0.440.44 on SWE-bench Verified over Plan+ReAct. However, current LLMs do not reliably select the strongest planning mode for a task, while few-shot examples can improve planning-mode selection for some benchmark—model combinations. Overall, reliable agent planning requires both selecting an effective planning mode and executing it with a matching executor: routing substantially closes the execution gap, while selecting the right mode for each task remains open. 11 1 Project page: https://subbareddy248.github.io/projects/declaration-gap-site/

The rapid advancement of large language models (LLMs) has accelerated the development of interactive agents Liu et al. (2025); Wang et al. (2024), which are designed to solve complex real-world tasks through multi-turn interactions with external environments such as web browsing Zhou et al. (2024b); Deng et al. (2023), computer use Xie et al. (2024); Merrill et al. (2026), and embodied task execution Shridhar et al. (2020). To solve such tasks, an agent often needs to decompose a high-level goal into structured steps and perform the necessary actions; planning provides this structure by turning an objective into a course of action that guides the agent toward the goal Yao et al. (2023b). Consequently, planning has become a central component of both agentic frameworks Shen et al. (2023); Webb et al. (2025) and world-model-based approaches that simulate or reason about possible future states before acting Qiao et al. (2024); Maes et al. (2026); Wang et al. (2026). This structure is what sustains goal-directed behavior in complex, multi-step tasks, where later decisions depend on the outcomes of earlier actions. However, generating a coherent plan is not sufficient for reliable agent behavior. A plan can fail at two levels. At the execution level, the agent may declare one plan but deviate from it during execution. At the selection level, the declared plan itself may be poorly matched to the task: even faithful execution can fail if the chosen plan does not fit the environment. This raises two fundamental questions: when an agent proposes a plan for solving a task, does it execute the plan it commits to, and is the proposed plan appropriate for the task?

Existing agent evaluation harnesses offer limited insight into how agents plan and execute their tasks, because they focus on final task success Liu et al. (2024); Zhou et al. (2024b); Mialon et al. (2024); Xie et al. (2024); Pan et al. (2024). Final task success does not reveal whether an agent followed a deliberate plan or reached the goal through an inefficient trajectory, memorization, or chance Liu et al. (2026b); Sun et al. (2026). Recent work has begun to evaluate plan quality and whether agents follow instructed plans Sun et al. (2026); Liu et al. (2026b); Jia et al. (2025). However, these studies largely focus on diagnosing planning behavior rather than jointly examining whether the selected planning mode is appropriate for the task and preserved during execution. They also treat a plan as a sequence of steps to be generated or followed, rather than as a choice among different planning modes. Planning requirements differ across tasks and environments: some tasks can be solved with a fixed plan, whereas others require adaptation, decomposition, or exploration. In this work, we study whether LLM agents select a planning mode for a task, whether that mode is preserved during execution, and whether matching modes to corresponding executors improves task success.

Figure 1: Overview of the three execution conditions. (a) Flat ReAct : a single ReAct-style executor selects actions fro

Figure 1: Overview of the three execution conditions. (a) Flat ReAct : a single ReAct-style executor selects actions fro

Figure 1: Overview of the three execution conditions. (a) Flat ReAct : a single ReAct-style executor selects actions fro

Figure 1: Overview of the three execution conditions. (a) Flat ReAct : a single ReAct-style executor selects actions from environment feedback without an explicit plan. (b) Planner–Executor (Plan+ReAct) : a planner first selects a planning mode and produces a plan, which is then passed to a generic ReAct executor; however, the declared plan is not structurally enforced during execution. (c) Planning-as-Routing : the LLM first declares a planning mode, and a deterministic router dispatches the task to a matching pattern-specific executor: predefined, sequential, hierarchical, or search. A verifier checks whether execution preserves the declared plan structure.

A useful perspective on this problem comes from human planning: humans do not rely on a single fixed strategy for all tasks. A familiar task calls for a routine plan, a structured but unfamiliar one for step-by-step planning, a multi-stage one for decomposition into subgoals, and an uncertain one for weighing alternative routes before acting Daw et al. (2005); Daw et al. (2011); Botvinick (2008); Mattar and Daw (2018); Mattar and Lengyel (2022). This flexibility suggests that planning in LLM agents should not be treated as a uniform behavior. We call a mismatch between the declared plan and its execution the Plan Declaration–Execution Gap. This distinction helps distinguish failures of planning-mode selection from failures of plan execution. This motivates the following research questions:

  • •

    RQ1: As agents take on increasingly long-horizon and multi-step tasks, can we rely on them to execute the planning approach they commit to, or do they fall back to reacting one step at a time?

  • •

    RQ2: Do different environments and models benefit from different planning approaches, or is a single planning approach sufficient across web, coding, and embodied tasks?

  • •

    RQ3: When an agent declares a planning approach, does executing it through the corresponding planning pattern improve task success compared with passing the same plan to a generic ReAct executor?

  • •

    RQ4: When multiple planning approaches are available, can an LLM choose the one that is most appropriate for the task it is trying to solve?

Together, these questions clarify whether agent failures arise from choosing the wrong planning mode or from failing to execute the chosen mode faithfully. To address these questions, we systematically study how LLM agents select and execute different planning approaches, and whether matching a declared approach to its corresponding execution pattern improves task performance. For the purpose of this work, we evaluate agents built on multiple LLM families (Qwen3.6 Qwen Team (2026), DeepSeek-V4 DeepSeek-AI (2026), Gemma-4-26B Abd et al. (2026)) across four benchmarks spanning diverse and complex environments: web browsing (WebArena Zhou et al. (2024b), Mind2Web Deng et al. (2023)), software engineering (SWE-Bench Verified Jimenez et al. (2024)), and embodied navigation (ALFWorld Shridhar et al. (2020)). We compare three conditions that differ by one factor at a time: (i) a no-planning Flat ReAct baseline, (ii) a plan-prompted Flat ReAct baseline (Plan+ReAct), and (iii) our Planning-as-Routing framework with pattern-specific executors. Figure 1 illustrates these three conditions.

Our contributions are threefold: (1) We introduce a diagnostic framework for measuring the Plan Declaration–Execution Gap in LLM agents, and show that a ReAct agent told to plan a certain way often does not follow the declared plan, instead reacting locally to intermediate observations, a divergence invisible to final-success metrics. Our analysis goes beyond task success by measuring plan quality, plan adherence, and structural faithfulness, while separately examining whether the declared planning approach is effective for the task. (2) We introduce Planning-as-Routing, an architecture in which the LLM declares a planning mode and a deterministic router sends the task to the corresponding pattern-specific executor: {predefined, sequential, hierarchical, or search}. This design makes the declared planning structure explicit in execution and allows its behavior to be verified from the resulting trajectory. (3) Across web navigation, software engineering, and embodied tasks, and across multiple LLM families, we show that planning pattern effectiveness varies across environments and models, while planning-mode selection remains a key bottleneck: current LLM declarations trail the best fixed planning pattern on every benchmark–model pair. Few-shot demonstrations improve task success through better planning-mode selection, with gains of +0.004+0.004 to +0.16+0.16 across benchmarks. We will release the code, baseline and planning trajectories across seeds upon publication of this paper.

LLMs as Planning Agents. Prior work has proposed many planning mechanisms for LLM agents, but these methods often instantiate planning behavior through a specific agent architecture. Earlier approaches used ReAct-style reasoning and acting Yao et al. (2023b), search over reasoning paths Yao et al. (2023a), symbolic planning Liu et al. (2023), planner–executor architectures Erdogan et al. (2025), multi-agent workflows Shen et al. (2023); Hong et al. (2024), and adaptive replanning Liu et al. (2026a); Dong et al. (2026); Wu et al. (2026). These approaches can generate and revise task-specific plans, but the underlying planning mechanism is typically fixed by the agent framework. Our work instead treats the planning mode as a per-task choice and asks whether the declared mode is preserved during execution.

Agent Evaluation and Trajectory Diagnosis. Agent benchmarks span web navigation Deng et al. (2023); Zhou et al. (2024b); Pan et al. (2024), computer use Xie et al. (2024); Merrill et al. (2026), software engineering Jimenez et al. (2024), embodied tasks Shridhar et al. (2020), and general assistants Mialon et al. (2024), but primarily evaluate final task outcomes. Recent work moves toward process-level evaluation through progress metrics, plan-compliance analysis, trajectory diagnosis, and failure taxonomies Ma et al. (2024); Liu et al. (2026b); Ou et al. (2025); Kong et al. (2025); Cemri et al. (2025). Our work complements these approaches by explicitly modeling the planner–executor handoff, allowing us to distinguish failures of planning-mode selection from failures to preserve the declared mode during execution. Discussion of planning architectures and process-level agent evaluation is provided in Appendix A.

We consider four planning patterns inspired by common forms of human planning (Mattar and Daw, 2018; Mattar and Lengyel, 2022): predefined, sequential, hierarchical, and search. These patterns capture different ways an agent can organize task execution. A predefined plan follows a fixed plan generated before execution, without replanning. A sequential plan executes one step at a time and updates the remaining plan based on intermediate observations. A hierarchical plan decomposes the task into subgoals and coordinates their execution through an orchestrator–worker structure. A search plan generates multiple candidate plans, executes each candidate independently, and selects the most promising resulting trajectory using a rubric-based judge. The workflow of each planning pattern is illustrated in Appendix B, Figs. 4 and 5. Representative plan structures and execution traces for all four planning modes are provided in Appendix E.2.

We study planning under three conditions that share the same backbone LLM and action space, differing only in how planning is produced and executed.

Condition 1: Flat ReAct (no explicit plan declaration). The LLM receives only the task description and goal, and acts through a standard Flat ReAct loop, one step at a time. No planning strategy is explicitly declared before execution. This condition serves as our implicit-planning baseline, where any planning behavior must emerge locally through the interaction loop.

Condition 2: Plan+ReAct (declared but unenforced). The LLM first selects a planning approach and produces a task-specific plan. The plan is then provided to the same generic ReAct executor used in Condition 1. Because the executor retains a flat step-by-step control loop, the requested planning structure is available as context but is not structurally enforced. This condition tests whether prompting alone is sufficient for the intended planning approach to appear during execution.

Condition 3: Planning-as-Routing. The LLM first declares one planning mode

P∈{predefined,sequential,hierarchical,search}.P\in\{\textit{predefined},\textit{sequential},\textit{hierarchical},\textit{search}\}.

A deterministic router maps the declaration to the corresponding pattern-specific executor. Unlike Condition 2, the selected planning structure therefore determines the execution control flow.

Planning-as-Routing components.

(1) Plan declaration. Given a task, the backbone LLM selects one planning mode (P). We evaluate this declaration step under both zero-shot and few-shot settings. In the zero-shot setting, the model selects a mode from the task description alone. In the few-shot setting, the declaration prompt additionally includes example tasks paired with planning modes, allowing us to test whether demonstrations improve task-conditioned mode selection.

(2) Router. A deterministic mapping dispatches PP to its corresponding executor, with no additional model inference.

(3) Pattern-specific executors. Each executor imposes a distinct planning and control-flow pattern, following established agent-planning architectures. The predefined executor generates a complete plan before execution and follows it without replanning, similar to plan-then-solve approaches Wang et al. (2023). The sequential executor follows a planner–executor–replanner loop, where the agent executes the current step, observes the outcome, and revises the remaining plan when necessary Sun et al. (2023). The hierarchical executor follows an orchestrator–worker structure, where an orchestrator decomposes the task into sub-goals, delegates them to specialized workers, and aggregates their outputs Zhang et al. (2025); Choi et al. (2025). Finally, the search executor generates multiple candidate plans, executes each independently, and selects the most promising trajectory using a rubric-based judge, following prior search-based agent planning approaches (Zhou et al., 2023).

(4) Execution-structure verifier. A rule-based verifier checks whether a Plan+ReAct trajectory executes the declared plan steps in order. We first clean the declared steps by removing non-actionable text, then match each remaining step to the corresponding trajectory actions using benchmark-specific rules. Structure is maintained only when all scorable steps are matched in the declared order, while allowing extra actions between them. Routed runs are not scored this way because their executor dispatch records establish order fidelity by construction. Implementation details and representative matching examples are provided in Appendix E.1.

Following prior work Jia et al. (2025), we evaluate plan adherence and plan quality, together with plan-order faithfulness. Plan adherence measures whether the executed actions complete the declared plan steps. Plan quality measures whether the generated plan is appropriate for the task goal and environment. Plan-order faithfulness measures whether the plan steps or subgoals are executed in their declared order. Plan quality and plan adherence are empirical metrics, whereas plan-order faithfulness is a structural verification for predefined, sequential, and hierarchical; it is not applicable to search, where candidates represent competing alternatives rather than an ordered sequence.

Task success alone cannot distinguish whether an executor is incapable of solving a task or whether the declaration module selected an unsuitable planning pattern. To separate execution limitations from planning-mode selection, we use forced dispatch: for each benchmark–model pair, every planning mode is executed on every task, bypassing the declaration module. This yields a task–mode success matrix m_i,pm\_{i,p}, where m_i,p=1m\_{i,p}=1 if planning mode (p) solves task (i), and (0) otherwise. From this matrix, we compute each fixed mode’s success S(p)S(p), the best fixed-mode performance S⋆=max⁡_pS(p)S^{\star}=\max\_{p}S(p), and a per-task oracle ceiling DSR_max⁡=1N∑_imax⁡_pm_i,p\mathrm{DSR}\_{\max}=\frac{1}{N}\sum\_{i}\max\_{p}m\_{i,p}. Their difference H=DSR_max⁡−S⋆H=\mathrm{DSR}\_{\max}-S^{\star} measures the available routing headroom.

For a declaration policy π\pi, task success is computed as TSR(π)=1N∑_im_i,π(i)\mathrm{TSR}(\pi)=\frac{1}{N}\sum\_{i}m\_{i,\pi(i)}, using the same forced-dispatch matrix without re-running executors. Together with the trajectory verifier, this separates execution failure from selection failure: whether the declared mode is preserved during execution versus whether the selected mode is effective for the task. Additional controls and estimation details are provided in Appendix I.

Environments. We evaluate our agent planning strategies across four agent benchmarks spanning web navigation (Mind2Web Deng et al. (2023), WebArena Zhou et al. (2024b)), software engineering (SWE-bench Verified Jimenez et al. (2024)), and embodied tasks (ALFWorld Shridhar et al. (2020)). We additionally group tasks using each benchmark’s available task categories to examine whether planning-pattern preferences vary with task type; category definitions and counts are provided in Appendix C Table 9.

Language Models. We evaluate three backbone LLMs: Qwen3.6-35B-A3B Qwen Team (2026), DeepSeek-V4-Flash DeepSeek-AI (2026), and Gemma-4-26B Abd et al. (2026). Model details are provided in Appendix C Table 8. Each model is evaluated under the same task inputs, tool interfaces, action spaces, and execution budgets across all conditions. The exact environment-step and planning-structure budgets are reported in Appendix D, Table 13. The same backbone model is used for plan declaration and execution unless otherwise specified.

Repeated runs. We evaluate all baselines, declaration settings, and planning patterns with three random seeds (7, 13, and 42), reporting mean and standard deviation across seeds using the same tasks and inference configurations.

Evaluation Metrics. We report both task- and process-level metrics. Task success follows each benchmark’s standard protocol: task success rate (TSR) for ALFWorld and WebArena, TSR and step success rate (SSR) for Mind2Web, and patch success rate (PSR) for SWE-bench Verified. Process metrics include plan quality, plan adherence, and structural faithfulness (Section 3.3). We also measure execution cost through environment interactions, LLM calls, generated tokens (thinking vs. content), and completed trajectories to control for differences in inference and interaction budget.

Inference Settings. For each model, decoding parameters, thinking settings, tool-calling policies, and generation budgets are fixed across conditions for each model. Full inference and sampling configurations are provided in Appendix D.

Development and tuning protocol. The four planning-pattern executors, their prompts, and the declaration prompt were fixed before the final evaluation runs, and the same implementations and routing rules are applied to every task within a benchmark. The benchmark tasks were used for inference only; no model parameters were trained or fitted on them. For few-shot declaration, demonstration tasks are excluded from scoring. The null baselines and permutation tests were specified after the main results and are reported as post-hoc analyses.

Plan verification and quality judging. Structural fidelity is measured with a rule-based verifier that matches declared plan steps to executed actions and requires all scorable steps to be preserved in order; we validate it against two independent human annotators, with full matching and agreement results in Appendices E and E.3. Plan quality and adherence are scored separately with an LLM-as-judge pipeline using a 0–3 GPA-style rubric (Jia et al., 2025); full prompts and judge configurations are provided in Appendix F.

Table 1: Plan-structure maintenance under generic Plan+ReAct, overall and by declared plan length. Overall is the percentage of trajectories preserving the declared structure; Avg. steps is the mean number of declared plan units. Pattern-specific executors are omitted because they enforce their execution structure by design. Values are mean percentages ±\pm SD across seeds 7, 13, and 42. ‡Sparse bins should be interpreted cautiously.

BenchmarkModelOverallAvg. stepsStructure maintained by declared plan length
≤3\mathbf{\leq 3}4–56–78–10>10\mathbf{>10}
ALFWorldDeepSeek-V427.4±5.127.4{\pm}5.16.2±0.36.2{\pm}0.353.3±37.753.3{\pm}37.736.7±7.036.7{\pm}7.021.4±3.021.4{\pm}3.00.0±0.0‡0.0{\pm}0.0^{\ddagger}0.0±0.0‡0.0{\pm}0.0^{\ddagger}
Qwen3.6-35B23.7±2.723.7{\pm}2.76.1±0.36.1{\pm}0.366.7±27.266.7{\pm}27.236.5±1.336.5{\pm}1.39.5±3.99.5{\pm}3.91.2±1.71.2{\pm}1.70.0±0.0‡0.0{\pm}0.0^{\ddagger}
Gemma-4-26B21.5±1.921.5{\pm}1.97.6±0.27.6{\pm}0.291.7±8.391.7{\pm}8.349.6±2.249.6{\pm}2.24.8±4.84.8{\pm}4.80.0±0.00.0{\pm}0.00.0±0.00.0{\pm}0.0
Mind2WebDeepSeek-V444.6±0.944.6{\pm}0.94.8±0.04.8{\pm}0.073.3±0.573.3{\pm}0.539.2±1.439.2{\pm}1.431.2±1.731.2{\pm}1.710.0±3.410.0{\pm}3.45.9±3.95.9{\pm}3.9
Qwen3.6-35B36.1±0.936.1{\pm}0.94.8±0.04.8{\pm}0.062.4±1.862.4{\pm}1.831.5±0.331.5{\pm}0.317.9±1.117.9{\pm}1.18.6±1.48.6{\pm}1.44.2±3.14.2{\pm}3.1
Gemma-4-26B28.2±0.228.2{\pm}0.25.7±0.05.7{\pm}0.070.1±2.970.1{\pm}2.924.8±0.824.8{\pm}0.813.4±0.513.4{\pm}0.512.7±1.812.7{\pm}1.811.3±4.911.3{\pm}4.9
SWE-benchDeepSeek-V425.4±2.125.4{\pm}2.14.6±0.14.6{\pm}0.133.4±1.333.4{\pm}1.325.6±1.225.6{\pm}1.215.5±2.515.5{\pm}2.521.2±12.121.2{\pm}12.10.0±0.0‡0.0{\pm}0.0^{\ddagger}
Qwen3.6-35B23.5±1.023.5{\pm}1.04.8±0.14.8{\pm}0.147.9±3.247.9{\pm}3.222.3±0.522.3{\pm}0.513.6±0.113.6{\pm}0.15.9±0.35.9{\pm}0.33.6±3.63.6{\pm}3.6
Gemma-4-26B12.1±0.912.1{\pm}0.95.6±0.35.6{\pm}0.333.3±1.233.3{\pm}1.213.3±0.613.3{\pm}0.64.1±0.24.1{\pm}0.25.6±0.75.6{\pm}0.70.0±0.00.0{\pm}0.0
WebArenaDeepSeek-V467.9±4.467.9{\pm}4.45.1±0.15.1{\pm}0.184.5±1.284.5{\pm}1.268.7±7.468.7{\pm}7.464.1±1.964.1{\pm}1.945.0±5.045.0{\pm}5.024.7±17.024.7{\pm}17.0
Qwen3.6-35B42.2±1.242.2{\pm}1.26.7±0.26.7{\pm}0.265.9±6.865.9{\pm}6.859.1±3.659.1{\pm}3.639.7±0.339.7{\pm}0.318.4±4.118.4{\pm}4.15.4±1.55.4{\pm}1.5
Gemma-4-26B61.4±2.561.4{\pm}2.55.6±0.15.6{\pm}0.176.1±1.576.1{\pm}1.565.9±2.665.9{\pm}2.653.9±18.553.9{\pm}18.552.3±2.352.3{\pm}2.332.5±9.832.5{\pm}9.8

[RQ1]: Pattern-specific execution preserves declared planning structure, while generic Plan+ReAct increasingly deviates on longer plans

Section titled “[RQ1]: Pattern-specific execution preserves declared planning structure, while generic Plan+ReAct increasingly deviates on longer plans”

Generic Plan+ReAct does not reliably preserve the committed planning structure. To examine whether agents preserve their declared planning structure, we first measure structure maintenance under Plan+ReAct. Table 1 reports overall plan-structure maintenance under Plan+ReAct and its variation with declared plan length. We make the following observations: (i) Plan+ReAct reveals a substantial Plan Declaration–Execution Gap across benchmarks. Across ALFWorld, Mind2Web, and SWE-bench, only about 2222–45%45\% of Plan+ReAct trajectories preserve the declared structure. (ii) Plan structure fidelity also decreases with plan length: on ALFWorld, maintenance falls from (36.5)–(49.6%) for 4–5-step plans to (4.8)–(21.4%) for 6–7 steps and approaches zero for longer plans; Mind2Web shows a similar decline, while SWE-bench shows the same overall pattern from short to medium-length plans. WebArena is a short-plan boundary case, with higher maintenance ((65.6)–(69.1%)) and average plans of only (3.3)–(3.8) steps.

Hierarchical/Search plans are particularly difficult for generic ReAct execution to preserve. We next analyze structural maintenance by planning mode. The mode-level breakdown in Appendix G, Table 14, shows that the declaration–execution gap is most pronounced for richer planning structures. Hierarchical plans are difficult for generic Plan+ReAct to preserve, with structure maintenance typically below 25%25\% across ALFWorld, Mind2Web, and SWE-bench. Search shows a similar pattern where enough declarations are available. Together with the plan-length results, this indicates that generic ReAct is unreliable for multi-level or multi-candidate planning structures.

Verifier agreement with human annotations. We further validate the rule-based verifier against two independent human annotators on 100 sampled Plan+ReAct ALFWorld trajectories. Verifier–human agreement (κ=0.31/0.34\kappa=0.31/0.34) is comparable to human–human agreement (κ=0.35\kappa=0.35); full validation results are reported in Appendix E.3.

Qualitative trajectories illustrate the declaration–execution gap. Figure 2 provides representative trajectories that complement the aggregate results. In the maintained Plan+ReAct example, all declared hierarchical units are reached in their original structural order, even though additional environment actions occur between them. In contrast, the non-maintained example skips multiple units of the declared predefined plan while continuing with later parts of the trajectory. This illustrates that a generic ReAct executor can depart from the committed plan structure while continuing to act in the environment. The pattern-specific executor shows a different behavior: the hierarchical plan is explicitly traversed through its declared tree, with all 13 units dispatched according to the prescribed structure. These examples illustrate the distinction captured quantitatively in Tables 1 and 14 (Appendix G). This suggests that providing a plan as context does not enforce its structure, whereas a pattern-specific executor makes that structure part of the execution control flow.

Figure 2: Qualitative examples of plan-structure preservation. (a) A Plan+ReAct trajectory that maintains the declared hierarchical structure: declared units are reached in order despite intervening actions. (b) A Plan+ReAct trajectory that does not maintain the declared predefined structure, skipping two plan units before continuing with later ones. (c) A routed pattern-specific hierarchical executor, where the declared tree directly determines the dispatch sequence. Green denotes maintained/dispatched plan units and red denotes declared units that are not reached.

Table 2: Plan adherence on ALFWorld under the fixed execution budget, evaluated on 134 tasks with three random seeds per model. Values are mean ±\pm standard deviation across seeds. Adherence is the fraction of declared executable plan units completed within the allocated budget; Full Plan is the percentage of tasks for which all declared units were completed. Hierarchical planning is evaluated over executable leaf nodes.

PatternModelPlanned / TaskCompleted / TaskAdherenceFull Plan Completed (%)
PredefinedDeepSeek-V45.917±0.0235.917{\pm}0.0235.167±0.0405.167{\pm}0.0400.871±0.0090.871{\pm}0.00958.7±1.158.7{\pm}1.1
Qwen3.6-35B5.867±0.1325.867{\pm}0.1325.053±0.2355.053{\pm}0.2350.864±0.0180.864{\pm}0.01854.0±3.554.0{\pm}3.5
Gemma-4-26B6.243±0.0406.243{\pm}0.0405.797±0.1215.797{\pm}0.1210.930±0.0230.930{\pm}0.02372.9±7.572.9{\pm}7.5
SequentialDeepSeek-V44.070±0.0564.070{\pm}0.0564.070±0.0564.070{\pm}0.0561.000±0.0001.000{\pm}0.000100.0±0.0100.0{\pm}0.0
Qwen3.6-35B4.023±0.0574.023{\pm}0.0574.023±0.0574.023{\pm}0.0571.000±0.0001.000{\pm}0.000100.0±0.0100.0{\pm}0.0
Gemma-4-26B3.810±0.1083.810{\pm}0.1083.810±0.1083.810{\pm}0.1081.000±0.0001.000{\pm}0.000100.0±0.0100.0{\pm}0.0
HierarchicalDeepSeek-V413.063±0.19313.063{\pm}0.19310.440±0.13510.440{\pm}0.1350.812±0.0050.812{\pm}0.00537.1±4.837.1{\pm}4.8
Qwen3.6-35B10.480±0.08710.480{\pm}0.0878.177±0.1078.177{\pm}0.1070.793±0.0060.793{\pm}0.00630.3±3.130.3{\pm}3.1
Gemma-4-26B13.177±0.26613.177{\pm}0.26611.010±0.26311.010{\pm}0.2630.845±0.0160.845{\pm}0.01641.3±3.041.3{\pm}3.0
SearchDeepSeek-V43.337±0.0553.337{\pm}0.0553.320±0.0463.320{\pm}0.0460.996±0.0040.996{\pm}0.00498.5±1.398.5{\pm}1.3
Qwen3.6-35B3.223±0.0473.223{\pm}0.0473.223±0.0473.223{\pm}0.0471.000±0.0001.000{\pm}0.000100.0±0.0100.0{\pm}0.0
Gemma-4-26B2.993±0.0062.993{\pm}0.0062.993±0.0062.993{\pm}0.0061.000±0.0001.000{\pm}0.000100.0±0.0100.0{\pm}0.0

Plan completion also depends on plan size and execution budget. Plan structural fidelity and plan adherence capture different properties: the former measures whether execution preserves the organization of the declared plan, whereas the latter measures how much of the plan is completed within the interaction budget. On ALFWorld (Table 2), short Sequential plans are completed almost entirely, while larger Hierarchical plans contain 1010–1313 executable units and achieve lower adherence (∼79\sim 79–85%85\%). Predefined plans fall between these cases, while Search shows high candidate-level completion. Thus, structural fidelity and plan completion capture different properties: pattern-specific executors preserve the intended organization, but completion additionally depends on plan size and budget. Results for Mind2Web and SWE-bench are provided in Appendix H.

Table 3: Pattern-ceiling analysis across benchmarks. S(p)S(p) is task success under forced execution of pattern pp; DSR_max⁡\mathrm{DSR}\_{\max} is the per-task oracle; and H=DSR_max⁡−max⁡_pS(p)H=\mathrm{DSR}\_{\max}-\max\_{p}S(p) is the headroom beyond the strongest fixed pattern. Values are mean ±\pm SD across seeds where available.

BenchModelNNSEQPREDHIERSEARCHDSRmaxHHDSRmax w/o SearchHH w/o Search
ALFWorldDeepSeek-V41340.633±0.0200.633{\pm}0.0200.556±0.0080.556{\pm}0.0080.840±0.0090.840{\pm}0.0090.918±0.026\mathbf{0.918{\pm}0.026}0.953±0.0130.953{\pm}0.0130.035±0.0190.035{\pm}0.0190.898±0.0040.898\pm 0.0040.057±0.0130.057\pm 0.013
Qwen3.6-35B1340.662±0.0270.662{\pm}0.0270.550±0.0230.550{\pm}0.0230.714±0.0370.714{\pm}0.0370.796±0.004\mathbf{0.796{\pm}0.004}0.925±0.0160.925{\pm}0.0160.129±0.0200.129{\pm}0.0200.843±0.0300.843\pm 0.0300.129±0.0070.129\pm 0.007
Gemma-4-26B1340.550±0.0140.550{\pm}0.0140.515±0.0160.515{\pm}0.0160.600±0.013\mathbf{0.600{\pm}0.013}0.495±0.0580.495{\pm}0.0580.841±0.0070.841{\pm}0.0070.241±0.0130.241{\pm}0.0130.781±0.0090.781\pm 0.0090.182±0.0210.182\pm 0.021
Mind2WebDeepSeek-V413410.053±0.0050.053{\pm}0.0050.048±0.0030.048{\pm}0.0030.041±0.0010.041{\pm}0.0010.057±0.006\mathbf{0.057{\pm}0.006}0.097±0.0030.097{\pm}0.0030.037±0.0050.037{\pm}0.0050.087±0.0070.087{\pm}0.0070.034±0.0030.034{\pm}0.003
Qwen3.6-35B13410.032±0.0010.032{\pm}0.0010.036±0.0020.036{\pm}0.0020.029±0.0020.029{\pm}0.0020.052±0.001\mathbf{0.052{\pm}0.001}0.084±0.0040.084{\pm}0.0040.031±0.0040.031{\pm}0.0040.064±0.0030.064{\pm}0.0030.028±0.0020.028{\pm}0.002
Gemma-4-26B13410.114±0.0060.114{\pm}0.0060.147±0.005\mathbf{0.147{\pm}0.005}0.083±0.0020.083{\pm}0.0020.086±0.0060.086{\pm}0.0060.282±0.0020.282{\pm}0.0020.135±0.0060.135{\pm}0.0060.253±0.0020.253{\pm}0.0020.106±0.0020.106{\pm}0.002
SWE-benchDeepSeek-V45000.395±0.0100.395{\pm}0.0100.372±0.0300.372{\pm}0.0300.442±0.024\mathbf{0.442{\pm}0.024}0.400±0.0180.400{\pm}0.0180.552±0.0230.552{\pm}0.0230.110±0.0000.110{\pm}0.0000.517±0.0260.517{\pm}0.0260.075±0.0020.075{\pm}0.002
Qwen3.6-35B5000.239±0.0290.239{\pm}0.0290.303±0.0070.303{\pm}0.0070.330±0.011\mathbf{0.330{\pm}0.011}0.296±0.0400.296{\pm}0.0400.445±0.0380.445{\pm}0.0380.115±0.0270.115{\pm}0.0270.415±0.0220.415{\pm}0.0220.085±0.0110.085{\pm}0.011
Gemma-4-26B5000.170±0.0190.170{\pm}0.0190.247±0.0120.247{\pm}0.0120.290±0.015\mathbf{0.290{\pm}0.015}0.211±0.0240.211{\pm}0.0240.386±0.0140.386{\pm}0.0140.096±0.0210.096{\pm}0.0210.362±0.0170.362{\pm}0.0170.072±0.0230.072{\pm}0.023
WebArenaDeepSeek-V42040.389±0.0260.389{\pm}0.0260.372±0.0310.372{\pm}0.0310.537±0.0140.537{\pm}0.0140.580±0.006\mathbf{0.580{\pm}0.006}0.736±0.0200.736{\pm}0.0200.156±0.0140.156{\pm}0.0140.676±0.0110.676{\pm}0.0110.139±0.0030.139{\pm}0.003
Qwen3.6-35B2040.315±0.0090.315{\pm}0.0090.364±0.0090.364{\pm}0.0090.395±0.0990.395{\pm}0.0990.577±0.026\mathbf{0.577{\pm}0.026}0.693±0.0170.693{\pm}0.0170.119±0.0110.119{\pm}0.0110.557±0.0340.557{\pm}0.0340.162±0.0650.162{\pm}0.065
Gemma-4-26B2040.364±0.0190.364{\pm}0.0190.290±0.0050.290{\pm}0.0050.378±0.011\mathbf{0.378{\pm}0.011}0.306±0.0330.306{\pm}0.0330.578±0.0110.578{\pm}0.0110.200±0.0220.200{\pm}0.0220.514±0.0140.514{\pm}0.0140.136±0.0030.136{\pm}0.003

[RQ2]: Planning-pattern effectiveness varies across environments and models.

Section titled “[RQ2]: Planning-pattern effectiveness varies across environments and models.”

We next compute the forced-pattern ceiling described in Section 3.4. Table 3 yields two main observations. First, the strongest planning pattern varies across benchmark–model pairs: Search is strongest for DeepSeek-V4 and Qwen3.6-35B on ALFWorld, Mind2Web, and WebArena, whereas Hierarchical is strongest on SWE-bench and for Gemma-4-26B on ALFWorld, and Predefined is strongest for Gemma-4-26B on Mind2Web. Thus, planning-pattern effectiveness depends on both the environment and backbone model. Second, the forced-pattern oracle exceeds the strongest fixed pattern across all benchmark–model pairs, indicating additional headroom when multiple planning modes are available. However, because the oracle also provides multiple independent execution attempts, it should be interpreted as an empirical ceiling rather than direct evidence of task-specific complementarity. This motivates the retry-matched control in Appendix I; after three retries of the strongest fixed pattern, the residual oracle gap is only (-0.025) to (+0.027) across ALFWorld, Mind2Web, and SWE-bench (Table 18).

The oracle gap is not driven solely by Search. Because Search planning generates and executes multiple candidate plans before selecting among them with a rubric-based judge, it receives a larger multi-rollout execution budget than the other planning patterns. We therefore recompute the oracle after excluding Search (see Table 3) and still observe a gap between the strongest fixed pattern and the forced-pattern oracle across benchmarks. On ALFWorld, for example, the no-Search oracle reaches (0.898), (0.843), and (0.781), while three retries of Hierarchical reach (0.963), (0.896), and (0.813), respectively, showing that much of the remaining gap can be explained by repeated execution rather than per-task pattern complementarity.

Table 4: Plan quality (PQ) and task success on ALFWorld. Plans are evaluated by a Gemma-4-26B judge. Forced-pattern results report the mean ±\pm half-range across seeds (n=134n=134 tasks per seed). The final column reports the task-level Pearson correlation between plan quality and task success separately for seeds 13 and 7. †Plan+ReAct is reported for one seed. Bold indicates the highest PQ or TSR for each model.

ModeModelPQTSRPQ–success rr
PredefinedDeepSeek-V42.75±0.012.75{\pm}0.010.55±0.000.55{\pm}0.00−0.031, −0.005-0.031,\,-0.005
Qwen3.6-35B2.44±0.052.44{\pm}0.050.56±0.030.56{\pm}0.03+0.045, +0.095+0.045,\,+0.095
SequentialDeepSeek-V42.84±0.03\mathbf{2.84{\pm}0.03}0.64±0.020.64{\pm}0.02−0.025, −0.061-0.025,\,-0.061
Qwen3.6-35B2.66±0.032.66{\pm}0.030.68±0.010.68{\pm}0.01+0.090, −0.040+0.090,\,-0.040
HierarchicalDeepSeek-V42.72±0.022.72{\pm}0.020.85±0.000.85{\pm}0.00−0.060, −0.035-0.060,\,-0.035
Qwen3.6-35B2.82±0.00\mathbf{2.82{\pm}0.00}0.74±0.030.74{\pm}0.03+0.140, −0.031+0.140,\,-0.031
SearchDeepSeek-V42.53±0.032.53{\pm}0.030.91±0.03\mathbf{0.91{\pm}0.03}+0.026, +0.146+0.026,\,+0.146
Qwen3.6-35B1.94±0.171.94{\pm}0.170.79±0.00\mathbf{0.79{\pm}0.00}+0.158, +0.181+0.158,\,+0.181
Plan+ReActDeepSeek-V42.84±0.02\mathbf{2.84\pm 0.02}0.48±0.010.48\pm 0.01−0.017, −0.029-0.017,\,-0.029
Qwen3.6-35B2.76±0.032.76\pm 0.030.54±0.040.54\pm 0.04+0.104, −0.045+0.104,\,-0.045

Table 5: End-to-end comparison of planning and execution strategies. Best Fixed (S⋆S^{\star}) is the strongest single planning pattern applied to all tasks; Routing@1 executes the top-1 declared pattern with its corresponding executor; and Oracle is the per-task forced-pattern ceiling. Bold denotes the strongest non-oracle method. Routing@1 uses thinking disabled.

BenchmarkModelMetricFlat ReActPlan+ReActBest Fixed S⋆S^{\star}Routing@1Oracle
ALFWorldDeepSeek-V4TSR0.440±0.0120.440{\pm}0.0120.480±0.0090.480{\pm}0.0090.918±0.026\mathbf{0.918{\pm}0.026} (SEARCH)0.721±0.0290.721{\pm}0.0290.953±0.0130.953{\pm}0.013
Qwen3.6-35BTSR0.535±0.0070.535{\pm}0.0070.540±0.0370.540{\pm}0.0370.796±0.004\mathbf{0.796{\pm}0.004} (SEARCH)0.667±0.0490.667{\pm}0.0490.925±0.0160.925{\pm}0.016
Gemma-4-26BTSR0.112±0.0400.112{\pm}0.0400.153±0.0260.153{\pm}0.0260.600±0.013\mathbf{0.600{\pm}0.013} (HIER)0.560±0.0160.560{\pm}0.0160.841±0.0070.841{\pm}0.007
Mind2WebDeepSeek-V4TSR0.058±0.003\mathbf{0.058{\pm}0.003}0.038±0.0050.038{\pm}0.0050.057±0.0060.057{\pm}0.006 (SEARCH)0.051±0.0040.051{\pm}0.0040.097±0.0030.097{\pm}0.003
SSR0.434±0.001\mathbf{0.434{\pm}0.001}0.407±0.0020.407{\pm}0.0020.449±0.000\mathbf{0.449{\pm}0.000} (SEARCH)0.425±0.0070.425{\pm}0.0070.550±0.0010.550{\pm}0.001
Qwen3.6-35BTSR0.042±0.0020.042{\pm}0.0020.036±0.0040.036{\pm}0.0040.052±0.001\mathbf{0.052{\pm}0.001} (SEARCH)0.034±0.0010.034{\pm}0.0010.084±0.0040.084{\pm}0.004
SSR0.366±0.0030.366{\pm}0.0030.338±0.0010.338{\pm}0.0010.411±0.003\mathbf{0.411{\pm}0.003} (SEARCH)0.339±0.0020.339{\pm}0.0020.505±0.0010.505{\pm}0.001
Gemma-4-26BTSR0.051±0.0020.051{\pm}0.0020.043±0.0040.043{\pm}0.0040.147±0.005\mathbf{0.147{\pm}0.005} (PRED)0.113±0.0060.113{\pm}0.0060.282±0.0020.282{\pm}0.002
SSR0.395±0.0010.395{\pm}0.0010.365±0.0020.365{\pm}0.0020.388±0.006\mathbf{0.388{\pm}0.006} (SEARCH)0.320±0.0020.320{\pm}0.0020.585±0.0020.585{\pm}0.002
SWE-benchDeepSeek-V4PSR0.384±0.0100.384{\pm}0.0100.360±0.0050.360{\pm}0.0050.442±0.024\mathbf{0.442{\pm}0.024} (HIER)0.415±0.0170.415{\pm}0.0170.552±0.0230.552{\pm}0.023
Qwen3.6-35BPSR0.179±0.0340.179{\pm}0.0340.223±0.0050.223{\pm}0.0050.330±0.011\mathbf{0.330{\pm}0.011} (HIER)0.313±0.0060.313{\pm}0.0060.445±0.0380.445{\pm}0.038
Gemma-4-26BPSR0.127±0.0300.127{\pm}0.0300.126±0.0040.126{\pm}0.0040.290±0.015\mathbf{0.290{\pm}0.015} (HIER)0.257±0.0040.257{\pm}0.0040.386±0.0140.386{\pm}0.014
WebArenaDeepSeek-V4TSR0.455±0.0000.455{\pm}0.0000.472±0.0060.472{\pm}0.0060.580±0.006\mathbf{0.580{\pm}0.006} (SEARCH)0.460±0.0110.460{\pm}0.0110.736±0.0200.736{\pm}0.020
Qwen3.6-35BTSR0.332±0.0090.332{\pm}0.0090.338±0.0370.338{\pm}0.0370.577±0.026\mathbf{0.577{\pm}0.026} (SEARCH)0.404±0.0190.404{\pm}0.0190.693±0.0170.693{\pm}0.017
Gemma-4-26BTSR0.318±0.0230.318{\pm}0.0230.304±0.0200.304{\pm}0.0200.378±0.011\mathbf{0.378{\pm}0.011} (HIER)0.432\textpm0.0140.432\textpm 0.0140.578±0.0110.578{\pm}0.011

Judged plan quality is only weakly related to task success. We now test whether higher judged plan quality is associated with higher task success. As shown in Table 4, the highest-quality plan on ALFWorld is not consistently associated with the highest-performing planning pattern. For DeepSeek-V4, Sequential receives the highest judged plan quality (2.84±0.032.84{\pm}0.03), yet Search achieves substantially higher task success (0.91±0.030.91{\pm}0.03 versus 0.64±0.020.64{\pm}0.02) despite a lower quality score (2.53±0.032.53{\pm}0.03). Similarly, for Qwen3.6-35B, Hierarchical receives the highest plan-quality score (2.82±0.002.82{\pm}0.00), whereas Search achieves the highest task success (0.79±0.000.79{\pm}0.00) despite the lowest score (1.94±0.171.94{\pm}0.17). At the task level, plan-quality and success are only weakly correlated (∣r∣≤0.181|r|\leq 0.181). Thus, the advantage of a planning pattern cannot be explained simply by how good its plan appears in isolation; performance also depends on how well the planning structure fits the task and its execution environment.

Together, these results show that planning effectiveness varies across environments and models, but that the raw per-task oracle overstates the value of task-specific selection: once repeated execution is controlled, little additional advantage remains over the strongest fixed pattern. Moreover, pattern-specific success cannot be explained by generic judgments of plan quality, which remain only weakly associated with task success. The remaining question is whether realizing these gains requires executing the selected planning structure through its corresponding executor, which we examine next.

Figure 3: Task success as a function of task length under generic and pattern-specific execution. Pattern-specific execution provides the largest advantage on longer tasks, where Plan+ReAct and Flat ReAct degrade more rapidly. Error bars denote variation across seeds.

[RQ3]: Pattern-specific execution substantially improves over plan-as-context

Section titled “[RQ3]: Pattern-specific execution substantially improves over plan-as-context”

Pattern-specific execution provides substantially stronger task-solving capability than generic ReAct execution. We next test whether executing the selected planning mode with its corresponding pattern-specific executor improves end-to-end performance. Table 5 compares Flat ReAct, generic Plan+ReAct, the strongest fixed planning pattern, and Planning-as-Routing. Across benchmarks, generic Plan+ReAct provides limited gains over Flat ReAct, whereas pattern-specific execution yields substantially higher success, showing that selecting a plan alone is insufficient when the executor does not preserve its structure.

On ALFWorld, DeepSeek-V4 improves from 0.4800.480 with Plan+ReAct to 0.9180.918 with the strongest fixed pattern, while Qwen3.6-35B improves from 0.5400.540 to 0.7960.796. On SWE-bench Verified, DeepSeek-V4 increases from 0.3600.360 to 0.4420.442. Similar gains appear across the remaining benchmarks, indicating that providing a plan as context to a generic ReAct executor does not capture the gains obtained when the planning structure is implemented directly in the execution mechanism.

Current declarations do not consistently select the strongest planning pattern. Table 5 shows that Routing@1 often remains below the strongest fixed pattern. For example, on WebArena, Search reaches 0.5800.580 and 0.5770.577 for DeepSeek-V4 and Qwen3.6-35B, whereas Routing@1 reaches 0.4600.460 and 0.4040.404. Thus, strong pattern-specific executors are available, but current declarations do not consistently select the pattern that realizes their full performance; we examine this selection problem directly in Sec. [RQ4].

The advantage of pattern-specific execution becomes more pronounced on longer tasks. Figure 3 shows that the benefit of matching the executor to the declared planning pattern is largest as task length increases. On ALFWorld, Flat ReAct and Plan+ReAct degrade sharply on longer tasks, whereas Hierarchical and Search execution remain substantially more robust, especially for DeepSeek-V4 and Qwen3.6. This separation is modest on short tasks, where several execution strategies perform similarly, but widens as more interaction steps are required. The pattern is similar on WebArena benchmark across 3 LLMs. Mind2Web shows the same general difficulty with increasing task length: success decreases for all methods, but pattern-specific executors remain competitive with or above Plan+ReAct across most length bins. These results suggest that simply providing a plan to a generic ReAct loop is often sufficient for short tasks, but preserving the corresponding planning pattern becomes increasingly important as execution horizons grow.

Rollout-matched control for Search. Because Search executes multiple candidate plans, we compare it against 3×3\times independent Flat ReAct runs followed by the same trajectory judge. Repeated ReAct improves performance but does not fully close the Search advantage: Search remains higher by 0.1170.117–0.3810.381 on ALFWorld and 0.1530.153–0.2330.233 on WebArena, while differences are smaller and model-dependent on Mind2Web. Full multi-rollout and pass@3 controls are provided in Appendix I.1, Table 17.

Table 6: Planning-pattern selection and improvement. @1–@3 report ranked fallback success when declared modes are attempted in order up to rank kk. Few-shot@1 uses task–pattern demonstrations, and Δ\Delta is the absolute gain over the original top-1 declaration. Oracle is the per-task forced-pattern ceiling. Mind2Web reports both TSR and SSR; results are averaged across seeds.

BenchmarkModelMetricThink@1@2@3Few-shot@1Δ_FS\Delta\_{\mathrm{FS}}Oracle
ALFWorldDeepSeek-V4TSROff0.721±0.0280.721{\pm}0.0280.893±0.0010.893{\pm}0.0010.948±0.0110.948{\pm}0.0110.793±0.083\mathbf{0.793{\pm}0.083}+0.073\mathbf{+0.073}0.953±0.0130.953{\pm}0.013
TSROn0.656±0.0190.656{\pm}0.0190.863±0.0070.863{\pm}0.0070.908±0.0120.908{\pm}0.0120.812±0.047\mathbf{0.812{\pm}0.047}+0.156\mathbf{+0.156}
Qwen3.6TSROff0.667±0.0490.667{\pm}0.0490.804±0.0280.804{\pm}0.0280.873±0.0160.873{\pm}0.0160.706±0.034\mathbf{0.706{\pm}0.034}+0.040\mathbf{+0.040}0.925±0.0160.925{\pm}0.016
TSROn0.674±0.0210.674{\pm}0.0210.769±0.0100.769{\pm}0.0100.853±0.0310.853{\pm}0.0310.704±0.069\mathbf{0.704{\pm}0.069}+0.030\mathbf{+0.030}
Gemma-4-26BTSROff0.560±0.0160.560{\pm}0.0160.744±0.0150.744{\pm}0.0150.873±0.0160.873{\pm}0.0160.635±0.015\mathbf{0.635{\pm}0.015}+0.075\mathbf{+0.075}0.841±0.0070.841{\pm}0.007
TSROn0.597±0.0120.597{\pm}0.0120.744±0.0150.744{\pm}0.0150.813±0.0120.813{\pm}0.0120.647±0.060\mathbf{0.647{\pm}0.060}+0.050\mathbf{+0.050}
Mind2WebDeepSeek-V4TSROff0.053±0.0030.053{\pm}0.0030.075±0.0040.075{\pm}0.0040.092±0.0040.092{\pm}0.0040.050±0.0050.050{\pm}0.005−0.003-0.0030.097±0.0030.097{\pm}0.003
TSROn0.051±0.0040.051{\pm}0.0040.072±0.0060.072{\pm}0.0060.089±0.0070.089{\pm}0.0070.049±0.0030.049{\pm}0.003−0.002-0.002
SSROff0.434±0.0030.434{\pm}0.0030.495±0.0040.495{\pm}0.0040.532±0.0020.532{\pm}0.0020.438±0.007\mathbf{0.438{\pm}0.007}+0.004\mathbf{+0.004}0.550±0.0010.550{\pm}0.001
SSROn0.427±0.0020.427{\pm}0.0020.492±0.0060.492{\pm}0.0060.529±0.0050.529{\pm}0.0050.432±0.004\mathbf{0.432{\pm}0.004}+0.005\mathbf{+0.005}
Qwen3.6TSROff0.036±0.0010.036{\pm}0.0010.053±0.0020.053{\pm}0.0020.072±0.0020.072{\pm}0.0020.036±0.0010.036{\pm}0.001+0.000+0.0000.084±0.0040.084{\pm}0.004
TSROn0.034±0.0040.034{\pm}0.0040.051±0.0030.051{\pm}0.0030.068±0.0020.068{\pm}0.0020.036±0.0040.036{\pm}0.004+0.001+0.001
SSROff0.339±0.0020.339{\pm}0.0020.426±0.0010.426{\pm}0.0010.479±0.0020.479{\pm}0.0020.357±0.002\mathbf{0.357{\pm}0.002}+0.018\mathbf{+0.018}0.505±0.0010.505{\pm}0.001
SSROn0.341±0.0060.341{\pm}0.0060.417±0.0020.417{\pm}0.0020.467±0.0030.467{\pm}0.0030.352±0.002\mathbf{0.352{\pm}0.002}+0.011\mathbf{+0.011}
Gemma-4-26BTSROff0.111±0.0060.111{\pm}0.0060.162±0.0120.162{\pm}0.0120.190±0.0260.190{\pm}0.0260.111±0.0060.111{\pm}0.006+0.000+0.0000.282±0.0020.282{\pm}0.002
TSROn0.114±0.0120.114{\pm}0.0120.170±0.0060.170{\pm}0.0060.204±0.0250.204{\pm}0.0250.115±0.0110.115{\pm}0.011+0.001+0.001
SSROff0.320±0.0020.320{\pm}0.0020.433±0.0320.433{\pm}0.0320.514±0.0290.514{\pm}0.0290.330±0.006\mathbf{0.330{\pm}0.006}+0.011\mathbf{+0.011}0.585±0.0020.585{\pm}0.002
SSROn0.321±0.0020.321{\pm}0.0020.441±0.0240.441{\pm}0.0240.513±0.0240.513{\pm}0.0240.328±0.012\mathbf{0.328{\pm}0.012}+0.008+0.008
SWE-benchDeepSeek-V4PSROff0.415±0.0240.415{\pm}0.0240.498±0.0210.498{\pm}0.0210.541±0.0370.541{\pm}0.0370.405±0.0110.405{\pm}0.011−0.011-0.0110.552±0.0230.552{\pm}0.023
PSROn0.411±0.0360.411{\pm}0.0360.488±0.0460.488{\pm}0.0460.534±0.0430.534{\pm}0.0430.415±0.007\mathbf{0.415{\pm}0.007}+0.004\mathbf{+0.004}
Qwen3.6-35BPSROff0.313±0.0090.313{\pm}0.0090.400±0.0130.400{\pm}0.0130.438±0.0250.438{\pm}0.0250.334±0.003\mathbf{0.334{\pm}0.003}+0.021\mathbf{+0.021}0.445±0.0380.445{\pm}0.038
PSROn0.310±0.0040.310{\pm}0.0040.390±0.0160.390{\pm}0.0160.438±0.0140.438{\pm}0.0140.337±0.002\mathbf{0.337{\pm}0.002}+0.027\mathbf{+0.027}
WebArenaDeepSeek-V4TSROff0.460±0.0110.460{\pm}0.0110.639±0.0090.639{\pm}0.0090.696±0.0030.696{\pm}0.0030.480±0.037\mathbf{0.480{\pm}0.037}+0.020\mathbf{+0.020}0.736±0.0200.736{\pm}0.020
TSROn0.384±0.0090.384{\pm}0.0090.554±0.0140.554{\pm}0.0140.671±0.0060.671{\pm}0.0060.438±0.057\mathbf{0.438{\pm}0.057}+0.054\mathbf{+0.054}
Qwen3.6TSROff0.404±0.0190.404{\pm}0.0190.539±0.0000.539{\pm}0.0000.639±0.0050.639{\pm}0.0050.410±0.009\mathbf{0.410{\pm}0.009}+0.006\mathbf{+0.006}0.693±0.0170.693{\pm}0.017
TSROn0.394±0.0100.394{\pm}0.0100.505±0.0050.505{\pm}0.0050.591±0.0340.591{\pm}0.0340.419±0.023\mathbf{0.419{\pm}0.023}+0.025+0.025

Comparison with prior work. Our forced-pattern and routing results fall within the performance range of representative prior agent systems across four benchmarks. Because these systems use different models, demonstrations, training, and inference procedures, we treat them only as benchmark-level context; detailed comparisons are provided in Appendix J.

[RQ4]: Planning-mode declarations adapt only weakly to individual tasks

Section titled “[RQ4]: Planning-mode declarations adapt only weakly to individual tasks”

We finally ask whether current LLMs select effective planning modes for individual tasks. Because a model may simply favor particular modes overall, we first test whether its declarations contain task-specific information beyond these global preferences.

Declarations provide no reliable task-specific advantage over a task-blind policy. We compare top-1 declaration success with a task-blind null preserves each model’s overall planning-mode frequencies while removing the task–mode association. Across all benchmark–model pairs, Δ(π)\Delta(\pi) lies within the 95% interval of a 5,000-permutation null (−0.025-0.025 to +0.009+0.009; minimum one-sided p=0.094p=0.094), providing no reliable evidence that current declarations match planning modes to individual tasks better than expected from their overall declaration preferences (Full results are in Appendix K).

Few-shot task–pattern demonstrations. Few-shot demonstrations improve top-1 declaration performance in most evaluated configurations (Table 6), with the largest gain on ALFWorld for DeepSeek-V4 (0.656→0.8120.656\rightarrow 0.812, +0.156+0.156). Gains are smaller on Mind2Web (up to +0.018+0.018), SWE-bench (up to +0.027+0.027), and WebArena (up to +0.054+0.054), indicating that demonstrations improve planning-mode selection unevenly across benchmarks. Full few-shot construction details and additional declaration analyses are provided in Appendix N.1.

In this work, we study whether LLM agents preserve the planning structure they declare, whether planning-pattern effectiveness varies across environments and models, and whether matching a planning pattern to its corresponding executor improves task success. Our experiments reveal four main findings. First, generic Plan+ReAct does not reliably preserve the declared planning structure: structural fidelity decreases as plans become longer. Second, planning-pattern effectiveness varies across environments and models, while retry-matched controls show that the raw forced-pattern oracle largely reflects additional execution attempts rather than task-specific pattern complementarity. Third, matching planning patterns to corresponding executors substantially improves task success over generic Plan+ReAct, particularly on longer tasks. Finally, planning-mode selection remains challenging: current declarations provide little reliable task-specific advantage over task-blind preferences, while few-shot demonstrations improve selection more consistently than enabling thinking.

Together, these findings suggest that reliable agent planning requires both selecting an appropriate planning mode and executing it through a compatible control structure. Planning-as-Routing separates these capabilities, helping distinguish failures of mode selection from failures of execution.

Our study considers four planning patterns and task-level routing under fixed execution budgets. Future work could extend this framework to additional or dynamically composed planning strategies, allow agents to switch modes during execution, and evaluate structural fidelity jointly with action correctness, execution cost, and recovery behavior. Detailed limitations discussed in Appendix M.

In this work, generative AI tools were used under human guidance to assist with prompt drafting, grammar correction, language polishing of the manuscript. All prompts were reviewed and revised by the authors before use.

Our work evaluates LLM agents using publicly available, established benchmarks for embodied interaction, web navigation, and software engineering. We do not conduct new experiments involving human participants, collect new personal data, or deploy agents to interact with real users. Experiments are performed within the interfaces and environments provided by the corresponding benchmarks, including ALFWorld, Mind2Web, WebArena, and SWE-bench Verified.

Our work studies how LLM agents select and execute planning strategies. Although improved planning and routing mechanisms can make autonomous agents more capable, the same techniques could potentially be applied to higher-risk forms of automated web interaction or software modification. Our experiments are restricted to benchmark tasks and controlled tool interfaces and are not intended to support unauthorized interaction with external systems. We report process-level metrics in addition to task success to make agent behavior and planning failures more transparent. We, the authors, are responsible for ensuring that the benchmark data, models, and software used in this work are handled in accordance with their applicable licenses and terms of use.

We provide the planning-pattern definitions and execution architectures in Appendix B, the complete planning-mode prompts in Appendix N, benchmark and model details in Appendix C, and inference and sampling configurations in Appendix D. We report results across repeated random seeds where applicable and provide additional analyses of plan adherence (Appendix H), repeated fixed-pattern execution (Appendix I), the task-blind declaration null (Appendix I), and inference cost (Appendix D).

We plan to release the implementation of the planning-pattern executors, declaration and execution prompts, trajectory verifier, evaluation and analysis scripts, and experiment configuration files used upon publication of this work. We also plan to release the derived planning declarations, execution traces, pattern-level outcomes, and analysis metadata needed to reproduce the reported results.

  • Abd et al. (2026) G. T. S. E. Abd, V. Aggarwal, R. Algayres, A. Andreev, O. Bachem, I. Ballantyne, C. Brick, V. Cuarbune, M. Cas-bon, M. Chaturvedi, V. Cotruta, A. Coucke, P. Culliton, R. Dadashi, L. Dixon, M. Elhawaty, U. Evci, C. Farabet, J. Ferret, F. Galgani, S. Girgin, J. Grill, M. R. Grootendorst, J. Guo, C. Hardin, Y. He, S. M. Hernandez, O. Homburger, L. Hussenot, J. Ji, A. Joulin, A. B. Kamath, P. Kassraie, O. Lacombe, P. Lahoti, G. Liu, G. Martins, L. Martins, T. Matejovicova, R. Merhej, N. Momchev, S. Mondal, R. Mullins, S. R. Panyam, S. Pathak, S. Perrin, A. S. Pinto, E. Pot, A. Pouget, A. Ram’e, S. Ramos, D. Reid, D. Rim, M. Rivière, K. Roth, L. Rouillard, O. Sanseviero, P. G. Sessa, S. Settle, D. Sinopalnikov, S. Smoot, P. Stańczyk, A. Steiner, L. Stewart, I. O. Tolstikhin, M. Tschannen, A. Tsitsulin, N. Vieillard, R. Wu, P. Xu, H. Yang, E. Yvinec, L. Zhang, J. Zou, N. Aagnes, A. Abdelhamed, S. Agrawal, S. Agrawal, I. Alabdulmohsin, J. Alayrac, U. Alon, C. N. Amarnath, A. Anand, C. Anastasiou, S. Ariafar, F. Aubet, K. Axiotis, F. Barbero, J. Barral, A. Bendebury, U. M. Bergmann, S. M. Bileschi, K. Black, M. Blondel, S. Borgeaud, A. Bravzinskas, R. Burnell, R. I. Busa-Fekete, M. Cai, G. Cameron, C. Caucheteux, G. Chadha, J. Chan, A. Chawla, B. J. Chen, J. Chen, L. Chen, X. Chen, D. Z. Cheng, T. Chien, N. Chinaev, Y. Chou, Z. Chu, B. Coleman, P. Consul, S. Conway-Rahman, S. Crowell, D. Cutler, V. Dani, S. Daruki, A. Das, D. Deutsch, N. Dikkala, L. Ding, Q. Ding, S. Dodhia, K. Donhauser, T. Doshi, A. Dragan, A. Druinsky, S. Dua, Z. Egyed, D. Eisenbud, D. Eppens, C. Fan, B. Fatemi, Y. Fathullah, V. Feinberg, M. Ferev, T. Fujimoto, I. R. Galatzer-Levy, J. Gante, S. Geisler, S. Ghosal, A. M. Girgis, A. Go, A. Gokhale, A. Grills, Y. Gu, P. Gupta, G. Guruganesh, R. Hadsell, H. Harkous, J. K. Harlalka, D. Hassabis, A. Hauth, J. Heyward, A. Hosseini, C. Hsia, I. Hsu, X. Huang, Y. Huang, K. Hui, A. Hutter, I. Te, F. Iliopoulos, A. Jain, G. Jawahar, Z. Ji, Q. Jin, M. Johnson, K. Joshi, A. K. R. Kandoor, W. Kang, K. Kavukcuoglu, M. Kazemi, K. Kenealy, A. Khalifa, P. Kirk, S. Kothawade, V. Kovalev, N. Kovelamudi, A. Kraft, R. Kumar, H. Kuppam, J. Lannin, C. Lee, S. Lee, D. Lepikhin, D. Li, Q. Li, V. Liévin, E. Lin, Z. Lin, C. Liu, T. Liu, T. Liu, X. Liu, M. Lunayach, M. Ma, G. Madan, A. Maksai, E. Malmi, M. Matuszak, D. McDuff, G. Menghani, D. Mirylenka, K. Misiunas, V. Misra, A. Mitran, K. Mohamed, M. Mukha, E. Noland, J. O’Donnell, K. Olszewska, B. Orlando, W. L. Pan, R. Panigrahy, U. Parekh, C. Park, E. Paskie, L. Peng, B. Petrini, S. Petrov, J. Pfeiffer, B. Piot, M. B. Płomecka, S. Põder, O. Ponce, A. Pramanik, D. Racz, A. P. Rajan, M. T. Ramanovich, A. Rao, M. Ritter, V. Rodrigues, E. Rosen, M. Rybi’nski, N. Sachdeva, M. E. Sander, R. Sathyanarayana, S. Savla, S. Schmidgall, T. Schuster, B. Seguin, A. B. Sellergren, A. Severyn, I. Shafran, D. Shah, S. Yuan, A. Shenoy, P. Shenoy, R. Shivanna, P. Sho, L. Spangher, W. Stokowiec, T. Strother, Y. Su, Y. Sun, M. Sundararajan, A. Tacchetti, M. H. Taege, P. D. Tafti, C. Tekur, R. Thapa, M. Traverse, L. Treven, T. Tu, C. T. Tung, P. Velivckovi’c, M. P. Venkat, S. G. Venkatesh, V. Venkiteswaran, F. Visin, A. Vitvitskyi, K. Vodrahalli, W. Wang, X. Wang, T. Warkentin, J. Wassenberg, J. Wieting, L. Xiao, H. Xu, Y. Xu, F. Xue, A. Yadav, J. Yan, A. Yang, L. Yang, M. Yang, Z. Ying, J. H. Yoo, S. H. Zafar, F. W. Zhang, J. Zhang, J. Zhang, X. Zhang, C. Zhao, D. Zhou, and C. Zou Gemma 4 technical report. External Links: Link Cited by: §1, §4.
  • Botvinick (2008) M. M. Botvinick Hierarchical models of behavior and prefrontal function. Trends in cognitive sciences 12 (5), pp. 201–208. Cited by: §1.
  • Cemri et al. (2025) M. Cemri, M. Z. Pan, S. Yang, L. A. Agrawal, B. Chopra, R. Tiwari, K. Keutzer, A. Parameswaran, D. Klein, K. Ramchandran, et al. Why do multi-agent llm systems fail?. In The Thirty-ninth Annual Conference on Neural Information Processing Systems Datasets and Benchmarks Track, Cited by: Appendix A, §2.
  • Choi et al. (2025) J. Choi, H. Kim, H. Ong, Y. Yoon, M. Jang, D. Kim, and J. Kim Reactree: hierarchical llm agent trees with control flow for long-horizon task planning. arXiv preprint arXiv:2511.02424. Cited by: §3.2.
  • Daw et al. (2011) N. D. Daw, S. J. Gershman, B. Seymour, P. Dayan, and R. J. Dolan Model-based influences on humans’ choices and striatal prediction errors. Neuron 69 (6), pp. 1204–1215. Cited by: §1.
  • Daw et al. (2005) N. D. Daw, Y. Niv, and P. Dayan Uncertainty-based competition between prefrontal and dorsolateral striatal systems for behavioral control. Nature neuroscience 8 (12), pp. 1704–1711. Cited by: §1.
  • DeepSeek-AI (2026) DeepSeek-AI DeepSeek-v4: towards highly efficient million-token context intelligence. External Links: 2606.19348, Link Cited by: §1, §4.
  • Deng et al. (2023) X. Deng, Y. Gu, B. Zheng, S. Chen, S. Stevens, B. Wang, H. Sun, and Y. Su Mind2web: towards a generalist agent for the web. Advances in Neural Information Processing Systems 36, pp. 28091–28114. Cited by: Appendix A, §1, §1, §2, §4.
  • Dong et al. (2026) S. Dong, M. Zhang, P. He, L. Ma, B. Thuraisingham, H. Liu, and Y. Xing Pear: planner-executor agent robustness benchmark. In Findings of the Association for Computational Linguistics: EACL 2026, pp. 4547–4567. Cited by: Appendix A, §2.
  • Erdogan et al. (2025) L. E. Erdogan, N. Lee, S. Kim, S. Moon, H. Furuta, G. Anumanchipalli, K. Keutzer, and A. Gholami Plan-and-act: improving planning of agents for long-horizon tasks. In Forty-second International Conference on Machine Learning, Cited by: Appendix A, Appendix J, Appendix M, Appendix M, §2.
  • Hong et al. (2024) S. Hong, M. Zhuge, J. Chen, X. Zheng, Y. Cheng, J. Wang, C. Zhang, S. Yau, Z. Lin, L. Zhou, et al. MetaGPT: meta programming for a multi-agent collaborative framework. In International Conference on Learning Representations, Vol. 2024, pp. 23247–23275. Cited by: Appendix A, §2.
  • Jia et al. (2025) A. S. Jia, D. Huang, N. Vytla, S. W. W. Yoo, N. Choudhury, S. Sen, J. C. Mitchell, and A. Datta What is your agent’s gpa? a framework for evaluating agent goal-plan-action alignment. arXiv preprint arXiv:2510.08847. Cited by: Appendix M, §1, §3.3, §4.
  • Jimenez et al. (2024) C. E. Jimenez, J. Yang, A. Wettig, S. Yao, K. Pei, O. Press, and K. Narasimhan Swe-bench: can language models resolve real-world github issues?. In International Conference on Learning Representations, Vol. 2024, pp. 54107–54157. Cited by: Appendix A, §1, §2, §4.
  • Kong et al. (2025) F. Kong, R. Zhang, H. Yin, G. Zhang, X. Zhang, Z. Chen, Z. Zhang, X. Zhang, S. Zhu, and X. Feng Aegis: automated error generation and attribution for multi-agent systems. arXiv preprint arXiv:2509.14295. Cited by: Appendix A, §2.
  • Liu et al. (2025) B. Liu, X. Li, J. Zhang, J. Wang, T. He, S. Hong, H. Liu, S. Zhang, K. Song, K. Zhu, et al. Advances and challenges in foundation agents: from brain-inspired intelligence to evolutionary, collaborative, and safe systems. arXiv preprint arXiv:2504.01990. Cited by: §1.
  • Liu et al. (2023) B. Liu, Y. Jiang, X. Zhang, Q. Liu, S. Zhang, J. Biswas, and P. Stone Llm+ p: empowering large language models with optimal planning proficiency. arXiv preprint arXiv:2304.11477. Cited by: Appendix A, §2.
  • Liu et al. (2026a) J. Liu, C. Qian, Z. Wang, B. Li, J. Liu, H. Wang, J. Kim, Y. Wang, X. Chen, Y. R. Fung, et al. AdaPlanBench: evaluating adaptive planning in large language model agents under world and user constraints. arXiv preprint arXiv:2606.05622. Cited by: Appendix A, §2.
  • Liu et al. (2026b) S. Liu, S. Dehghan, J. Ganhotra, M. Hirzel, and R. Jabbarvand From plan to action: how well do agents follow the plan?. arXiv e-prints, pp. arXiv–2604. Cited by: Appendix A, Appendix M, §1, §2.
  • Liu et al. (2024) X. Liu, H. Yu, H. Zhang, Y. Xu, X. Lei, H. Lai, Y. Gu, H. Ding, K. Men, K. Yang, et al. Agentbench: evaluating llms as agents. In International Conference on Learning Representations, Vol. 2024, pp. 52989–53046. Cited by: §1.
  • Ma et al. (2024) C. Ma, J. Zhang, Z. Zhu, C. Yang, Y. Yang, Y. Jin, Z. Lan, L. Kong, and J. He Agentboard: an analytical evaluation board of multi-turn llm agents. Advances in neural information processing systems 37, pp. 74325–74362. Cited by: Appendix A, Appendix M, §2.
  • Maes et al. (2026) L. Maes, Q. L. Lidec, D. Scieur, Y. LeCun, and R. Balestriero Leworldmodel: stable end-to-end joint-embedding predictive architecture from pixels. arXiv preprint arXiv:2603.19312. Cited by: §1.
  • Mattar and Daw (2018) M. G. Mattar and N. D. Daw Prioritized memory access explains planning and hippocampal replay. Nature neuroscience 21 (11), pp. 1609–1617. Cited by: §1, §3.1.
  • Mattar and Lengyel (2022) M. G. Mattar and M. Lengyel Planning in the brain. Neuron 110 (6), pp. 914–934. Cited by: §1, §3.1.
  • Merrill et al. (2026) M. A. Merrill, A. G. Shaw, N. Carlini, B. Li, H. Raj, I. Bercovich, L. Shi, J. Y. Shin, T. Walshe, E. K. Buchanan, et al. Terminal-bench: benchmarking agents on hard, realistic tasks in command line interfaces. arXiv preprint arXiv:2601.11868. Cited by: Appendix A, §1, §2.
  • Mialon et al. (2024) G. Mialon, C. Fourrier, T. Wolf, Y. LeCun, and T. Scialom Gaia: a benchmark for general ai assistants. In International Conference on Learning Representations, Vol. 2024, pp. 9025–9049. Cited by: Appendix A, §1, §2.
  • Otani et al. (2026) N. Otani, N. Bhutani, H. Kim, D. Zhang, and E. Hruschka Do agents need to plan step-by-step? rethinking planning horizon in data-centric tool calling. In Proceedings of the ACM Conference on AI and Agentic Systems, pp. 375–403. Cited by: Appendix A.
  • Ou et al. (2025) T. Ou, W. Guo, A. Gandhi, G. Neubig, and X. Yue AgentDiagnose: an open toolkit for diagnosing llm agent trajectories. In Proceedings of the 2025 Conference on Empirical Methods in Natural Language Processing: System Demonstrations, pp. 207–215. Cited by: Appendix A, Appendix M, §2.
  • Ouyang et al. (2026) S. Ouyang, J. Yan, I. Hsu, Y. Chen, K. Jiang, Z. Wang, R. Han, L. Le, S. Daruki, X. Tang, et al. Reasoningbank: scaling agent self-evolving with reasoning memory. In International Conference on Learning Representations, Vol. 2026, pp. 94327–94354. Cited by: Appendix J.
  • Pan et al. (2024) Y. Pan, D. Kong, S. Zhou, C. Cui, Y. Leng, B. Jiang, H. Liu, Y. Shang, S. Zhou, T. Wu, et al. Webcanvas: benchmarking web agents in online environments. arXiv preprint arXiv:2406.12373. Cited by: Appendix A, §1, §2.
  • Qiao et al. (2024) S. Qiao, R. Fang, N. Zhang, Y. Zhu, X. Chen, S. Deng, Y. Jiang, P. Xie, F. Huang, and H. Chen Agent planning with world knowledge model. Advances in Neural Information Processing Systems 37, pp. 114843–114871. Cited by: §1.
  • Qwen Team (2026) Qwen Team Qwen3.6-35B-A3B: agentic coding power, now open to all. External Links: Link Cited by: §1, §4.
  • Shen et al. (2023) Y. Shen, K. Song, X. Tan, D. Li, W. Lu, and Y. Zhuang Hugginggpt: solving ai tasks with chatgpt and its friends in hugging face. Advances in Neural Information Processing Systems 36, pp. 38154–38180. Cited by: Appendix A, §1, §2.
  • Shridhar et al. (2020) M. Shridhar, X. Yuan, M. Cote, Y. Bisk, A. Trischler, and M. Hausknecht ALFWorld: aligning text and embodied environments for interactive learning. In International Conference on Learning Representations, Cited by: Appendix A, §1, §1, §2, §4.
  • Sun et al. (2023) H. Sun, Y. Zhuang, L. Kong, B. Dai, and C. Zhang Adaplanner: adaptive planning from feedback with language models. Advances in neural information processing systems 36, pp. 58202–58245. Cited by: Appendix J, Appendix M, Appendix M, Appendix M, §3.2.
  • Sun et al. (2026) H. Sun, W. Wang, M. Song, J. He, W. Zhang, Y. Liu, Y. Yang, and Y. Cheng Agent planning benchmark: a diagnostic framework for planning capabilities in llm agents. arXiv preprint arXiv:2606.04874. Cited by: §1.
  • Wang et al. (2024) L. Wang, C. Ma, X. Feng, Z. Zhang, H. Yang, J. Zhang, Z. Chen, J. Tang, X. Chen, Y. Lin, et al. A survey on large language model based autonomous agents. Frontiers of Computer Science 18 (6), pp. 186345. Cited by: §1.
  • Wang et al. (2023) L. Wang, W. Xu, Y. Lan, Z. Hu, Y. Lan, R. K. Lee, and E. Lim Plan-and-solve prompting: improving zero-shot chain-of-thought reasoning by large language models. In Proceedings of the 61st annual meeting of the association for computational linguistics (volume 1: long papers), pp. 2609–2634. Cited by: Appendix M, §3.2.
  • Wang et al. (2026) Y. Wang, O. Bounou, Y. LeCun, and M. Ren AdaJEPA: an adaptive latent world model. arXiv preprint arXiv:2606.32026. Cited by: §1.
  • Webb et al. (2025) T. Webb, S. S. Mondal, and I. Momennejad A brain-inspired agentic architecture to improve planning with llms. Nature Communications 16 (1), pp. 1–12. Cited by: §1.
  • Wu et al. (2026) W. Wu, S. Zhu, K. Zhou, and B. Huang Planner matters! an efficient and unbalanced multi-agent collaboration framework for long-horizon planning. arXiv preprint arXiv:2605.02168. Cited by: Appendix A, §2.
  • Xie et al. (2024) T. Xie, D. Zhang, J. Chen, X. Li, S. Zhao, R. Cao, T. J. Hua, Z. Cheng, D. Shin, F. Lei, et al. Osworld: benchmarking multimodal agents for open-ended tasks in real computer environments. Advances in Neural Information Processing Systems 37, pp. 52040–52094. Cited by: Appendix A, §1, §1, §2.
  • Xu et al. (2023) B. Xu, Z. Peng, B. Lei, S. Mukherjee, Y. Liu, and D. Xu Rewoo: decoupling reasoning from observations for efficient augmented language models. arXiv preprint arXiv:2305.18323. Cited by: Appendix M.
  • Yang et al. (2024) J. Yang, C. Jimenez, A. Wettig, K. Lieret, S. Yao, K. Narasimhan, and O. Press Swe-agent: agent-computer interfaces enable automated software engineering. Advances in Neural Information Processing Systems 37, pp. 50528–50652. Cited by: Appendix J.
  • Yao et al. (2023a) S. Yao, D. Yu, J. Zhao, I. Shafran, T. Griffiths, Y. Cao, and K. Narasimhan Tree of thoughts: deliberate problem solving with large language models. Advances in neural information processing systems 36, pp. 11809–11822. Cited by: Appendix A, Appendix M, §2.
  • Yao et al. (2023b) S. Yao, J. Zhao, D. Yu, N. Du, I. Shafran, K. Narasimhan, and Y. Cao REACT: synergizing reasoning and acting in language models. In 11th International Conference on Learning Representations, ICLR 2023, Cited by: Appendix A, Appendix M, §1, §2.
  • Zhang et al. (2025) W. Zhang, L. Zeng, Y. Xiao, Y. Li, C. Cui, Y. Zhao, R. Hu, Y. Liu, Y. Zhou, and B. An AgentOrchestra: orchestrating multi-agent intelligence with the tool-environment-agent (tea) protocol. arXiv preprint arXiv:2506.12508. Cited by: §3.2.
  • Zhou et al. (2023) A. Zhou, K. Yan, M. Shlapentokh-Rothman, H. Wang, and Y. Wang Language agent tree search unifies reasoning acting and planning in language models. arXiv preprint arXiv:2310.04406. Cited by: §3.2.
  • Zhou et al. (2024a) R. Zhou, Y. Yang, M. Wen, Y. Wen, W. Wang, C. Xi, G. Xu, Y. Yu, and W. Zhang Trad: enhancing llm agents with step-wise thought retrieval and aligned decision. In Proceedings of the 47th International ACM SIGIR Conference on Research and Development in Information Retrieval, pp. 3–13. Cited by: Appendix J.
  • Zhou et al. (2024b) S. Zhou, F. F. Xu, H. Zhu, X. Zhou, R. Lo, A. Sridhar, X. Cheng, T. Ou, Y. Bisk, D. Fried, et al. Webarena: a realistic web environment for building autonomous agents. In International Conference on Learning Representations, Vol. 2024, pp. 15585–15606. Cited by: Appendix A, §1, §1, §1, §2, §4.

Overview of Appendix Sections

  • •

    Appendix A: Additional Related Work

  • •

    Appendix B: Planning Patterns

  • •

    Appendix C: Dataset Details

  • •

    Appendix D: Inference and Sampling Configurations

  • •

    Appendix E Plan-Structure Verifier and Human Validation

    • –

      Appendix E.1: Plan-Structure Verifier

    • –

      Appendix E.2: Representative Plan+ReAct Traces

    • –

      Appendix E.3: Human Validation of the Structure Verifier

  • •

    Appendix F Plan Quality Judge

  • •

    Appendix G: Structure Preservation by Declared Planning Mode

  • •

    Appendix H: Additional Plan Adherence Results

  • •

    Appendix I: Pattern-Ceiling Analysis

    • –

      Appendix I.1: Repeated-Rollout ReAct Control for Search

    • –

      Appendix I.2: Repeated-Fixed-Pattern Control

    • –

      Appendix I.3: Task-Blind Declaration Null

  • •

    Appendix L: Inference Cost Analysis

  • •

    Appendix J: Comparison with prior work

  • •

    Appendix M: Extended Discussion

  • •

    Appendix N: Zero-shot and Few-shot Prompts

    • –

      Appendix N.1: Planning-Mode Declaration Prompts

LLMs as Planning Agents. Prior work has proposed many planning mechanisms for LLM agents, but these methods often instantiate planning behavior through a specific agent architecture. Earlier approaches used ReAct-style agents interleave reasoning and acting in a flat step-wise loop Yao et al. (2023b); Tree-of-Thought-style methods search over multiple reasoning paths Yao et al. (2023a); symbolic-planning approaches integrate LLMs with external planners Liu et al. (2023); planner–executor methods, such as Plan-and-Act, first generate a high-level plan and then execute the resulting steps through an executor Erdogan et al. (2025); and workflow-based multi-agent systems decompose tasks through predefined roles or procedures Shen et al. (2023); Hong et al. (2024). More recent work introduces adaptive replanning, planner–executor collaboration, trajectory refinement, and plan-compliance analysis Liu et al. (2026a); Dong et al. (2026); Liu et al. (2026b); Otani et al. (2026); Wu et al. (2026). While these approaches can generate task-specific plans and, in some cases, adapt or revise them during execution, the underlying planning mechanism is generally fixed by the agent framework rather than chosen per task. In contrast, our work separates the declared planning mode from the execution architecture and asks whether the declared mode is actually preserved in the trajectory.

Agent Benchmarks and Process-Level Evaluation. Agent benchmarks evaluate LLM agents in increasingly realistic multi-step environments, including web navigation Deng et al. (2023); Zhou et al. (2024b); Pan et al. (2024), computer and operating-system control Xie et al. (2024); Merrill et al. (2026), software engineering Jimenez et al. (2024), embodied tasks Shridhar et al. (2020), and general assistant tasks Mialon et al. (2024). These benchmarks are valuable for measuring whether agents complete tasks, but they usually report final success, completion rate, or answer correctness rather than the planning process that produced the outcome. AgentBoard moves toward process-level evaluation by introducing progress-rate metrics and analytical visualizations for multi-turn agents Ma et al. (2024). However, progress metrics still do not determine whether an agent’s declared planning mode was preserved across planner–executor handoffs. Our work complements benchmark-level evaluation by asking not only whether an agent succeeds, but whether success or failure can be attributed to the planning mode that was declared and the execution path that actually ran.

Trajectory Diagnosis and Failure Attribution. Recent work has begun to analyze agent trajectories beyond final success. AgentDiagnose provides a toolkit for diagnosing LLM-agent trajectories using competency-oriented metrics such as task decomposition, backtracking and exploration, observation reading, self-verification, and objective quality Ou et al. (2025). Other work studies agent-environment interaction failures and proposes taxonomies for where agents fail in realistic environments Kong et al. (2025), while recent multi-agent analyses identify failure modes such as specification and system-design failures, inter-agent misalignment, and task verification or termination errors Cemri et al. (2025). These studies make agent failures more interpretable, but they generally analyze trajectories after execution without explicitly modeling the handoff between declared planning mode and execution architecture. In contrast, our work introduces handoff-aware failure attribution: we map each trajectory through the planner, router, executor, and verifier, allowing failures to be localized to plan declaration, plan-to-executor handoff, execution, or verification. This lets us distinguish failures caused by an inappropriate planning mode from failures caused by an executor that did not preserve the declared mode.

We consider four planning patterns: predefined, sequential, hierarchical, and search. These patterns capture different ways an agent can organize task execution. A predefined plan follows a fixed plan generated before execution, without replanning (Fig. 4 (a)). A sequential plan executes one step at a time and updates the remaining plan based on intermediate observations (Fig. 4 (b)). A hierarchical plan decomposes the task into subgoals and coordinates their execution through an orchestrator–worker structure (Fig. 4 (c)). A search plan generates multiple candidate plans, executes each candidate independently, and selects the most promising resulting trajectory using a rubric-based judge (Fig. 4 (d)).

Figure 4: Illustration of three planning executor patterns. (a) Predefined planning : the planner generates a fixed orde

Figure 4: Illustration of three planning executor patterns. (a) Predefined planning : the planner generates a fixed orde

Figure 4: Illustration of three planning executor patterns. (a) Predefined planning : the planner generates a fixed orde

Figure 4: Illustration of three planning executor patterns. (a) Predefined planning : the planner generates a fixed ordered plan and the executor follows the steps without replanning. (b) Sequential planning : the executor runs the current step, observes the result, and invokes a replanner to revise the remaining plan when needed. (c) Hierarchical planning : an orchestrator decomposes the task into subgoals, dispatches them to workers, and synthesizes the final result.

Figure 5: Illustration of search planning pattern. (a) Search-based planning : The planner generates multiple competing

Figure 5: Illustration of search planning pattern. (a) Search-based planning : The planner generates multiple competing

Figure 5: Illustration of search planning pattern. (a) Search-based planning : The planner generates multiple competing candidate plans, and each candidate is executed independently from a reset environment. (b) Rubric judge : A task-specific rubric judge evaluates the resulting trajectory summaries against a rubric generated from the task specification and selects the highest-scoring candidate. The judge has no access to benchmark ground-truth success labels or hidden evaluation scores.

We evaluate our framework across four agent benchmarks spanning web interaction, software engineering, and embodied task execution. Table 7 summarizes the number of evaluated tasks, task characteristics, and evaluation metric used for each benchmark.

Table 7: Agent benchmarks used in our experiments. NN denotes the number of tasks evaluated in this work.

BenchmarkEnvironmentNNTask typeEvaluation
Mind2WebWeb interaction1,341Multi-step website interactionBenchmark task success
WebArenaWeb interaction204Navigation, retrieval, and website interactionBenchmark task success
SWE-bench VerifiedSoftware engineering500GitHub issue resolution and code modificationPatch-based evaluation
ALFWorldEmbodied environment134Multi-step household tasksGoal completion

We evaluate three backbone LLMs: Qwen3.6-35B-A3B, DeepSeek-V4-Flash, and Gemma-4-26B-A4B-it. The same backbone is used for planning-mode declaration and planning patterns within a given experimental run. Unless otherwise specified, model identity is held fixed when comparing execution conditions.

Table 8: Backbone LLMs used in our experiments.

ModelRoleThinking
Qwen3.6-35B-A3BDeclaration and executionEnabled
DeepSeek-V4-FlashDeclaration and executionEnabled
Gemma-4-26B-A4B-itDeclaration and executionEnabled

Table 9: Composition of the evaluation sets used in our experiments. ALFWorld tasks are grouped by task type, with the mean number of expert demonstration steps shown for each category. Mind2Web tasks are grouped by the benchmark’s three non-overlapping generalization splits; together they account for all 1,341 evaluation tasks. SWE-bench Verified instances are grouped by the dataset’s time-to-fix difficulty label.

BenchmarkGroupTasksAuxiliary statisticAdditional information
ALFWorldPick & Place24Mean expert steps: 4.58
Examine in Light18Mean expert steps: 3.78
Clean & Place31Mean expert steps: 6.32
Heat & Place23Mean expert steps: 6.04
Cool & Place21Mean expert steps: 6.10
Pick Two & Place17Mean expert steps: 8.65
Total134
Mind2WebCross-Task25269 websitesTravel 119; Shopping 68; Entertainment 65
Cross-Website17710 websitesShopping 63; Travel 60; Entertainment 54
Cross-Domain91254 websitesInformation 480; Service 432
Total1,341
SWE-bench Verified<15<15 min194Time-to-fix difficulty
15 min–1 hour261Time-to-fix difficulty
1–4 hours42Time-to-fix difficulty
>4>4 hours3Time-to-fix difficulty
Total500

Appendix D Inference and Sampling Configuration

Section titled “Appendix D Inference and Sampling Configuration”

For all experiments, we use a shared inference harness across execution conditions. For a given backbone model, we keep the decoding parameters, thinking configuration, tool-calling policy, and generation budget fixed when comparing Flat ReAct, Plan+ReAct, and Planning-as-Routing. This controls for inference-level differences when comparing planning and execution mechanisms.

We define one common generation-budget profile that uses a maximum budget of 32,768 new tokens per turn. For thinking models, we also enforce a minimum per-turn budget of 16,384 new tokens. The effective budget for a model is computed as:

\max(\texttt{min\\_floor},\min(\texttt{model\\_budget},\texttt{profile\\_budget})).

We use a single total generation budget per model and do not impose a separate reasoning-token cap. If a model consumes the full budget and terminates with a length cutoff, the run is counted as a truncation failure rather than silently capped.

Thinking mode is enabled for all models. By default, prior thinking traces are not passed back into the model context, which reduces context length and improves comparability across models.

For most models, tool use is forced during the first executor turns by setting the tool choice to required. This encourages the executor to interact with the environment rather than only producing text. All such backend-specific exceptions are fixed before evaluation and applied consistently across all conditions for the affected model.

Table 10: Sampling parameters used for each backbone LLM. Disabled settings are not sent to the backend.

ModelTemp.Top-ppTop-kkPres. Pen.Rep. Pen.Thinking
Qwen3.6-35B-A3B1.00.95201.51.0Yes
Gemma4-26B-A4B-it1.00.95640.01.0Yes
DeepSeek-V4-Flash1.00.95Disabled0.01.0Yes
ModelModel BudgetDefault ProfileHard ProfileTool Choice
Qwen3.6-35B-A3B81,92032,76881,920Required
Gemma-4-26B-A4B-it131,07232,76881,920Required
DeepSeek-V4-Flash81,92032,76881,920Required

Table 11: Per-turn generation budgets and tool-calling configuration. The effective budget is the minimum of the model budget and the selected profile budget, subject to the minimum thinking floor.

For each backbone model, we adopt the recommended inference and decoding configuration provided in the model developer’s official release or documentation, rather than tuning these parameters on our evaluation benchmarks. Accordingly, the Qwen models use temperature 1.01.0, top-p=0.95p=0.95, and top-k=20k=20; Gemma-4-26B-A4B-it uses temperature 1.01.0, top-p=0.95p=0.95, and top-k=64k=64; and DeepSeek-V4-Flash uses temperature 1.01.0 and top-p=0.95p=0.95, with top-kk disabled. These model-specific configurations are fixed across all experimental conditions.

The Search planning pattern where the planner dynamically chooses how many candidate plans to generate for each task, subject to an upper bound of four candidates (max_candidates=4). Thus, the realized candidate count can vary from 0 to 4 depending on the planner’s decision for the task. Across all Search runs, the realized candidate count is 3.35±0.493.35\pm 0.49 over 15,598 episodes. At the benchmark level, the mean is 3.18±0.413.18\pm 0.41 for ALFWorld, 3.31±0.463.31\pm 0.46 for Mind2Web, 3.38±0.523.38\pm 0.52 for SWE-bench, and 3.88±0.333.88\pm 0.33 for WebArena. Table 12 provides the model- and seed-level breakdown.

Table 12: Realized number of Search candidates per task. “Episode mean” reports mean±\pmSD across individual Search episodes, while “Across seeds” reports mean±\pmSD of the seed-level means. Search permits at most four candidate plans per task.

BenchmarkModelEpisode meanAcross seedsRange
ALFWorldDeepSeek-V43.33±0.473.33\pm 0.473.34±0.053.34\pm 0.053–4
Qwen3.6-35B3.22±0.453.22\pm 0.453.22±0.063.22\pm 0.060–4
Gemma-4-26B2.99±0.112.99\pm 0.112.99±0.012.99\pm 0.012–4
Mind2WebDeepSeek-V43.47±0.503.47\pm 0.503.47±0.013.47\pm 0.012–4
Qwen3.6-35B3.35±0.483.35\pm 0.483.35±0.023.35\pm 0.020–4
Gemma-4-26B3.00±0.033.00\pm 0.033.00±0.003.00\pm 0.002–3
SWE-benchDeepSeek-V43.26±0.443.26\pm 0.443.26±0.003.26\pm 0.003–4
Qwen3.6-35B3.76±0.433.76\pm 0.433.76±0.023.76\pm 0.023–4
Gemma-4-26B2.92±0.272.92\pm 0.27–2–3
WebArenaDeepSeek-V44.00±0.064.00\pm 0.064.00±0.014.00\pm 0.013–4
Qwen3.6-35B3.76±0.433.76\pm 0.433.76±0.013.76\pm 0.013–4

Table 13: Execution and planning-structure budgets used in each benchmark. All planning-structure limits are fixed across models and random seeds.

BenchmarkMax env. stepsmax_stepsmax_branchmax_depth
ALFWorld2424843
Mind2Web2424843
WebArena2424843
SWE-bench2424843

Appendix E Plan-Structure Verifier and Human Validation

Section titled “Appendix E Plan-Structure Verifier and Human Validation”

We measure whether Plan+ReAct preserves the declared plan structure using a deterministic rule-based verifier. Declared plan units are first filtered to remove non-actionable text and are then matched to executed actions using benchmark-specific intent and target information. Structure is considered maintained only if all scorable plan units can be matched in their declared order; additional environment actions between matched units are allowed. Matching is computed using a monotonic dynamic-programming assignment rather than greedy matching. Units without executable actions are treated as unscorable, and trajectories with no scorable or matchable units are excluded and reported separately.

The verifier measures structural preservation rather than action correctness: whether an action successfully changes the environment is evaluated separately. Pattern-specific routed executors are not scored with this matcher because their dispatch records establish the executed control flow by construction. Representative examples of this matching procedure for the four declared planning modes are provided below.

The following examples illustrate how the structure verifier compares the declared plan with the sequence of environment actions produced by the generic Plan+ReAct executor. Extra environment actions are allowed between declared units; structure is preserved when all scorable plan units are matched in the declared order.

E.3 Human Validation of the Structure Verifier

Section titled “E.3 Human Validation of the Structure Verifier”

We validate the rule-based verifier against two independent human annotators, denoted A1 and A2, on (100) sampled Plan+ReAct trajectories from ALFWorld. The sample is stratified across the three evaluated backbone models: DeepSeek-V4, Qwen3.6-35B, and Gemma-4-26B, and across the verifier outcome types. Both annotators independently evaluated all (100) trajectories and judged whether the executed action sequence preserved the declared plan structure.

Across the (100) trajectories, A1 and A2 achieved (71%) raw agreement and Cohen’s (κ\kappa=0.35) on the binary structure-maintained judgment. The agreement varied between models: Gemma-4-26B was achieved (κ\kappa = 0.42), DeepSeek-V4 (κ\kappa = 0.37) and Qwen3.6-35B (κ\kappa = 0.19) ((n=18) for the Qwen3.6 subset), indicating that deciding whether a free-form ReAct trajectory preserves a declared plan can itself be ambiguous for human annotators.

The rule-based verifier shows similar agreement with both annotators: (κ\kappa=0.31) against A1 and (κ\kappa=0.34) against A2. These values are comparable to the human–human agreement of (κ\kappa=0.35), suggesting that disagreement with the verifier is of similar magnitude to disagreement between independent human judgments rather than being dominated by one annotator or a systematic verifier bias.

Plan quality and plan adherence are scored with a fixed LLM judge. For the DeepSeek-V4-Flash and Qwen3.6-35B ALFWorld sweeps, we use Gemma-4-26B-A4B-it for every cell, ensuring that trajectories are not evaluated by the model that produced them and that mode- and model-level comparisons use a common judging scale. The judge identity is stored explicitly in each output. Every task in each cell is judged without subsampling, and each metric is evaluated in a separate call.

For Gemma-4-26B agent runs, self-judging is avoided by using DeepSeek-V4-Flash as the judge. Scores produced by different judge models are therefore not pooled; comparisons of plan-quality scores are made within a common judging configuration.

Appendix G Structure Preservation by Declared Planning Mode

Section titled “Appendix G Structure Preservation by Declared Planning Mode”
Hierarchical/Search plans are particularly difficult for generic ReAct execution to preserve.
Section titled “Hierarchical/Search plans are particularly difficult for generic ReAct execution to preserve.”

We next analyze structural maintenance by planning mode, the planning mode-level breakdown in Table 14, show that the declaration–execution gap is most pronounced for richer planning structures. Hierarchical declarations are preserved poorly across benchmarks: on ALFWorld, structure maintenance is only 11.4%11.4\%, 4.6%4.6\%, and 0.8%0.8\% for DeepSeek-V4, Qwen3.6-35B, and Gemma-4-26B, respectively; on Mind2Web, the corresponding values are 14.5%14.5\%, 17.3%17.3\%, and 22.6%22.6\%. SWE-bench shows the same pattern, with Hierarchical maintenance of 17.3%17.3\% and 14.5%14.5\% for DeepSeek-V4 and Qwen3.6-35B. Search is similarly difficult to preserve where enough declarations are observed, although several Search cells are sparsely populated and its competing-candidate structure is not directly comparable to a single ordered plan. Together with the plan-length analysis, these results indicate that a shared generic Plan+ReAct executor is particularly unreliable at maintaining richer multi-level or multi-candidate planning structures.

Table 14 provides the mode-level breakdown of Plan+ReAct structure preservation. Hierarchical declarations exhibit consistently low structure maintenance across benchmarks, while Search is also difficult to preserve where sufficient declarations are available. These results complement the main-text plan-length analysis and show that generic ReAct execution is particularly poorly suited to richer multi-level or multi-candidate planning structures.

Table 14: Plan+ReAct structure preservation by declared planning mode. Hierarchical declarations exhibit consistently low structure maintenance across benchmarks, while Search is also difficult to preserve where enough declarations are available. nn denotes the smallest per-seed count when multiple seeds are available; values are mean ±\pm standard deviation across seeds. ‡ indicates cells with fewer than 15 declarations in at least one seed and should be interpreted cautiously. Search is included for completeness, but its competing-candidate structure is not directly comparable to a single ordered Sequential, Predefined, or Hierarchical plan.

BenchmarkModelDeclared modennStructure maintainedSteps declared
ALFWorldDeepSeek-V4Sequential107107/seed30.5±5.0%30.5{\pm}5.0\%5.3±0.15.3{\pm}0.1
DeepSeek-V4Predefined‡220.0%0.0\%5.55.5
DeepSeek-V4Hierarchical‡55/seed11.4±8.4%11.4{\pm}8.4\%9.5±0.39.5{\pm}0.3
DeepSeek-V4Search‡55/seed0.0±0.0%0.0{\pm}0.0\%16.8±0.916.8{\pm}0.9
Qwen3.6-35BSequential8989/seed30.5±2.2%30.5{\pm}2.2\%5.0±0.15.0{\pm}0.1
Qwen3.6-35BHierarchical2828/seed4.6±0.8%4.6{\pm}0.8\%9.1±0.49.1{\pm}0.4
Gemma-4-26BSequential3636/seed49.4±0.6%49.4{\pm}0.6\%4.3±0.14.3{\pm}0.1
Gemma-4-26BHierarchical4141/seed0.8±0.8%0.8{\pm}0.8\%10.0±0.210.0{\pm}0.2
Mind2WebDeepSeek-V4Sequential808808/seed56.6±0.9%56.6{\pm}0.9\%4.1±0.14.1{\pm}0.1
DeepSeek-V4Predefined363363/seed29.0±1.5%29.0{\pm}1.5\%4.7±0.04.7{\pm}0.0
DeepSeek-V4Hierarchical104104/seed14.5±0.3%14.5{\pm}0.3\%9.8±0.29.8{\pm}0.2
DeepSeek-V4Search‡33/seed0.0±0.0%0.0{\pm}0.0\%10.4±0.910.4{\pm}0.9
Qwen3.6-35BSequential678678/seed51.0±0.4%51.0{\pm}0.4\%3.6±0.03.6{\pm}0.0
Qwen3.6-35BPredefined6464/seed25.8±4.8%25.8{\pm}4.8\%4.1±0.14.1{\pm}0.1
Qwen3.6-35BHierarchical481481/seed17.3±1.8%17.3{\pm}1.8\%6.6±0.16.6{\pm}0.1
Qwen3.6-35BSearch‡33/seed6.7±9.4%6.7{\pm}9.4\%5.8±0.65.8{\pm}0.6
Gemma-4-26BSequential182182/seed69.8±3.3%69.8{\pm}3.3\%2.8±0.02.8{\pm}0.0
Gemma-4-26BPredefined‡88/seed15.1±2.6%15.1{\pm}2.6\%4.0±0.14.0{\pm}0.1
Gemma-4-26BHierarchical10471047/seed22.6±0.4%22.6{\pm}0.4\%6.1±0.16.1{\pm}0.1
Gemma-4-26BSearch5555/seed0.8±0.8%0.8{\pm}0.8\%8.3±0.18.3{\pm}0.1
SWE-benchDeepSeek-V4Sequential198198/seed23.0±1.3%23.0{\pm}1.3\%4.6±0.14.6{\pm}0.1
DeepSeek-V4Predefined229229/seed29.6±2.8%29.6{\pm}2.8\%4.1±0.14.1{\pm}0.1
DeepSeek-V4Hierarchical‡1313/seed17.3±5.8%17.3{\pm}5.8\%11.0±0.211.0{\pm}0.2
DeepSeek-V4Search‡11/seed0.0±0.0%0.0{\pm}0.0\%13.0±3.013.0{\pm}3.0
Qwen3.6-35BSequential201201/seed21.4±1.5%21.4{\pm}1.5\%4.7±0.34.7{\pm}0.3
Qwen3.6-35BPredefined186186/seed28.2±0.3%28.2{\pm}0.3\%4.3±0.04.3{\pm}0.0
Qwen3.6-35BHierarchical3030/seed14.5±1.1%14.5{\pm}1.1\%8.6±0.18.6{\pm}0.1

Appendix H Additional Plan Adherence Results

Section titled “Appendix H Additional Plan Adherence Results”
Plan completion is conditioned on execution budget and plan size.
Section titled “Plan completion is conditioned on execution budget and plan size.”

Plan adherence measures how much of the still-needed plan is completed within the available interaction budget. Full adherence results for Mind2Web and SWE-bench are reported in Tables 15 and 16, respectively.

Mind2Web additionally provides a more dependency-sensitive setting: browser tasks often require a sequence of prerequisite interactions before the final goal becomes reachable. Consequently, skipping a necessary intermediate plan unit can prevent subsequent actions from being executed successfully. This makes plan adherence particularly informative for web navigation, while still distinguishing necessary execution units from redundant or obsolete steps in the generated plan.

Table 15: Mind2Web: Plan adherence under pattern-specific execution. Planned/task and Completed/task report the mean number of needed plan units generated and completed per task, respectively. Adherence measures the fraction of needed plan units completed within the execution budget, while Full plan reports the fraction of trajectories completing all needed units. Values are mean ±\pm standard deviation across seeds 7, 13, and 42. Search operates over competing candidate strategies and its completion values are therefore not directly comparable to the ordered planning patterns.

ModelPlanning modePlanned/taskCompleted/taskAdherenceFull plan
DeepSeek-V4Predefined4.597±0.0234.597{\pm}0.0232.590±0.0002.590{\pm}0.0000.558±0.0020.558{\pm}0.0029.2±0.1%9.2{\pm}0.1\%
Sequential4.443±0.0124.443{\pm}0.0123.543±0.0123.543{\pm}0.0120.800±0.0030.800{\pm}0.00340.0±0.7%40.0{\pm}0.7\%
Hierarchical4.800±0.0104.800{\pm}0.0102.637±0.0062.637{\pm}0.0060.542±0.0020.542{\pm}0.0021.2±0.4%1.2{\pm}0.4\%
Search3.467±0.0153.467{\pm}0.0153.433±0.0153.433{\pm}0.0150.989±0.0010.989{\pm}0.00196.5±0.2%96.5{\pm}0.2\%
Qwen3.6-35BPredefined4.987±0.0064.987{\pm}0.0062.597±0.0152.597{\pm}0.0150.521±0.0030.521{\pm}0.0036.8±0.9%6.8{\pm}0.9\%
Sequential4.540±0.0504.540{\pm}0.0503.603±0.0213.603{\pm}0.0210.797±0.0060.797{\pm}0.00642.5±2.0%42.5{\pm}2.0\%
Hierarchical5.233±0.0065.233{\pm}0.0062.653±0.0062.653{\pm}0.0060.504±0.0020.504{\pm}0.0021.9±0.3%1.9{\pm}0.3\%
Search3.353±0.0213.353{\pm}0.0213.070±0.0463.070{\pm}0.0460.915±0.0110.915{\pm}0.01175.0±2.7%75.0{\pm}2.7\%
Gemma-4-26BPredefined3.813±0.0053.813{\pm}0.0051.223±0.0341.223{\pm}0.0340.334±0.0080.334{\pm}0.0083.1±0.4%3.1{\pm}0.4\%
Sequential§3.725±0.0153.725{\pm}0.0153.565±0.0153.565{\pm}0.0150.956±0.0010.956{\pm}0.00187.1±0.0%87.1{\pm}0.0\%
Hierarchical7.395±0.0857.395{\pm}0.0851.950±0.0101.950{\pm}0.0100.311±0.0060.311{\pm}0.0060.2±0.2%0.2{\pm}0.2\%
Search3.000±0.0003.000{\pm}0.0002.380±0.1102.380{\pm}0.1100.793±0.0360.793{\pm}0.03660.6±4.1%60.6{\pm}4.1\%
ModelPlanning modePlanned/taskCompleted/taskAdherenceFull plan
DeepSeek-V4Predefined4.7904.7901.4101.4100.2970.2971.0%1.0\%
Sequential§3.7703.7703.7703.7701.0001.000100.0%100.0\%
Hierarchical13.65013.6502.0402.0400.1630.1630.5%0.5\%
Search3.2603.2603.0203.0200.9270.92783.0%83.0\%
Qwen3.6-35BPredefined5.4905.4901.7001.7000.3110.3111.0%1.0\%
Sequential§3.7503.7503.7503.7501.0001.000100.0%100.0\%
Hierarchical9.3709.3702.3902.3900.2710.2710.2%0.2\%
Search3.7703.7702.9202.9200.7770.77749.8%49.8\%

Table 16: SWE-bench Verified: plan adherence under pattern-specific execution. Columns as in the Mind2Web table. Both models ran at seed 13 only, so no row carries a spread. Hierarchical declares by far the most units (13.713.7 and 9.49.4 per task against 3.33.3–5.55.5 for the other patterns) and completes the smallest fraction of them. § marks the same Sequential caveat as above.

Comparing execution conditions on task success alone conflates two distinct questions: whether a pattern-specific executor can solve a task at all, and whether the declaration module selects the pattern that solves it. We therefore measure the two separately. For every benchmark–model pair we first build a planning pattern-ceiling matrix by running each of the four planning patterns on every task under forced dispatch, i.e. bypassing the declaration module and dispatching pattern pp regardless of what the model would have declared.

Let T={1,…,N}\mathcal{T}=\{1,\dots,N\} be the tasks of a benchmark and P={\textscpredefined,\textscsequential,\textschierarchical,\textscsearch}\mathcal{P}=\{\textsc{predefined},\textsc{sequential},\textsc{hierarchical},\textsc{search}\} the planning patterns. The ceiling matrix M∈{0,1}N×∣P∣M\in\{0,1\}^{N\times|\mathcal{P}|} has entries

m_i,p=1[forced dispatch of pattern p solves task i],m\_{i,p}=\mathbb{1}\left[\text{forced dispatch of pattern }p\text{ solves task }i\right],

scored by the benchmark’s own evaluation protocol. From MM we derive four quantities:

  • •

    Per-planning-pattern success rate (column mean), S(p)=1N∑_im_i,pS(p)=\frac{1}{N}\sum\_{i}m\_{i,p}. This is the task success rate of a fixed policy that always executes pp.

  • •

    Single-best-pattern policy, S⋆=max⁡_pS(p)S^{\star}=\max\_{p}S(p), attained by p⋆p^{\star}. This is the strongest policy available without per-task selection, and therefore the baseline any router must outperform to demonstrate that selection is doing work.

  • •

    Oracle ceiling, DSR_max⁡=1N∑_imax⁡_pm_i,p\mathrm{DSR}\_{\max}=\frac{1}{N}\sum\_{i}\max\_{p}m\_{i,p}: the success rate of a policy that selects the correct pattern for every task. Tasks with max⁡_pm_i,p=0\max\_{p}m\_{i,p}=0 are solved by no pattern; we call these none tasks, and no declaration policy can affect them.

  • •

    Routing headroom, H=DSR_max⁡−S⋆≥0H=\mathrm{DSR}\_{\max}-S^{\star}\geq 0. This is the entire budget available to per-task selection. HH is strictly positive only when pattern wins are complementary, when some task solved by a weaker pattern is not solved by p⋆p^{\star}. If patterns succeed on nested subsets of tasks, H=0H=0 and no selection policy, however good, can improve on always executing p⋆p^{\star}.

A declaration policy π:T→P\pi:\mathcal{T}\to\mathcal{P} achieves TSR(π)=1N∑_im_i,π(i)\mathrm{TSR}(\pi)=\frac{1}{N}\sum\_{i}m\_{i,\pi(i)}. Because TSR(π)\mathrm{TSR}(\pi) is a lookup into MM, it can be evaluated without re-running any executor: the declaration is the only model call per task. This free-lookup protocol lets us compare declaration variants (zero-shot, few-shot, thinking on/off) under a fixed execution substrate, so differences are attributable to selection rather than to execution stochasticity.

TSR(π)\mathrm{TSR}(\pi) alone, however, does not establish that π\pi selects per task. A policy that emits a healthy spread of patterns but chooses them independently of the task achieves, in expectation,

$$\mathrm{TSR}_{\text{null}}(\pi);=;\frac{1}{N}\sum_{p}n_{p},S(p),\qquad n_{p}={i:\pi(i)=p}

the distribution-matched null: the same marginal pattern distribution as π\pi, but zero task-conditional information. We therefore report the excess Δ(π)=TSR(π)−TSR_null(π)\Delta(\pi)=\mathrm{TSR}(\pi)-\mathrm{TSR}\_{\text{null}}(\pi), which isolates per-task discrimination from any global prior over patterns that the prompt may have induced. Δ(π)≈0\Delta(\pi)\approx 0 with a broad distribution and Δ(π)≈0\Delta(\pi)\approx 0 with a degenerate one are both selection failures, and TSR\mathrm{TSR} distinguishes neither. We additionally report performance restricted to the solvable subset {i:max⁡_pm_i,p=1}\{i:\max\_{p}m\_{i,p}=1\}, since none tasks contribute zero under every policy and dilute all of these quantities toward zero.

Separating selection failure from dispatch failure.
Section titled “Separating selection failure from dispatch failure.”

The ceiling matrix and the trace verifier isolate different failure modes. A dispatch failure means the executed pattern differs from the declared one; the verifier detects this directly, and it is the failure mode Planning-as-Routing is designed to eliminate. A selection failure means dispatch was faithful but the declared pattern was the wrong one for the task; it appears as TSR(π)<S⋆\mathrm{TSR}(\pi)<S^{\star} with the verifier reporting full conformance. This distinction is what allows us to attribute the residual gap in Section 5 to the declaration module rather than to the router or the executors.

Stochasticity and interpretation of the oracle ceiling.
Section titled “Stochasticity and interpretation of the oracle ceiling.”

Each forced-pattern execution is stochastic. We therefore compute S(p)S(p), S⋆S^{\star}, DSR_max⁡\mathrm{DSR}\_{\max}, and HH independently for each random seed and report the mean and standard deviation across seeds. Thus, DSR_max⁡\mathrm{DSR}\_{\max} represents the expected empirical per-task ceiling when each planning pattern receives one independently sampled execution.

Because DSR_max⁡\mathrm{DSR}\_{\max} takes the maximum across multiple stochastic pattern executions, part of its advantage over the strongest fixed pattern could arise from repeated opportunities for success rather than from planning-pattern complementarity alone. We therefore separately compare the oracle and ranked-fallback results against pass@kk controls obtained by repeating the strongest fixed planning pattern under matched numbers of attempts. This separates gains due to trying different planning patterns from gains obtainable by simply retrying the same strong pattern.

Figure 6: Distribution of declaration ranks assigned to each planning mode on ALFWolrd, Mind2Web, SWE-Bench Verified and

Figure 6: Distribution of declaration ranks assigned to each planning mode on ALFWolrd, Mind2Web, SWE-Bench Verified and

Figure 6: Distribution of declaration ranks assigned to each planning mode on ALFWolrd, Mind2Web, SWE-Bench Verified and

Figure 6: Distribution of declaration ranks assigned to each planning mode on ALFWolrd, Mind2Web, SWE-Bench Verified and

Figure 6: Distribution of declaration ranks assigned to each planning mode on ALFWolrd, Mind2Web, SWE-Bench Verified and WebArena (right), averaged across three seeds. Each stacked bar shows the fraction of tasks for which a planning mode is assigned Rank 1–4. Results are shown for DeepSeek-V4 and Qwen3.6 with thinking enabled and disabled. The strongly non-uniform distributions reveal systematic mode preferences in the declaration policy.

Table 17: Repeated-rollout ReAct control for Search. 3×3\timesFlat ReAct executes three independent trajectories from a reset environment and applies the same rubric-based judge used by Search to select one trajectory. Search dynamically chooses between 0 and 4 candidate plans per task, with four as the configured maximum. The realized candidate count averages 3.35±0.493.35\pm 0.49 across Search episodes (Appendix D, Table 12). Results in this table report mean ±\pm standard deviation across seeds 7, 13, and 42. This control tests how much of Search’s performance can be reproduced by repeated generic ReAct execution and trajectory selection.

BenchmarkModelMetricFlat ReAct3×3\timesFlat ReAct + JudgeFlat ReAct Pass@3Search
ALFWorldDeepSeek-V4TSR0.440±0.0120.440{\pm}0.0120.526±0.0110.526{\pm}0.0110.600±0.0150.600{\pm}0.0150.918±0.026\mathbf{0.918{\pm}0.026}
Qwen3.6-35BTSR0.535±0.0070.535{\pm}0.0070.664±0.0150.664{\pm}0.0150.758±0.0040.758{\pm}0.0040.796±0.004\mathbf{0.796{\pm}0.004}
Mind2WebDeepSeek-V4TSR0.058±0.003\mathbf{0.058{\pm}0.003}0.059±0.004\mathbf{0.059{\pm}0.004}0.077±0.0020.077{\pm}0.0020.057±0.006\mathbf{0.057{\pm}0.006}
SSR0.434±0.001\mathbf{0.434{\pm}0.001}0.448±0.0050.448{\pm}0.0050.504±0.0010.504{\pm}0.0010.449±0.000\mathbf{0.449{\pm}0.000}
Qwen3.6-35BTSR0.042±0.0020.042{\pm}0.0020.044±0.0000.044{\pm}0.0000.069±0.0010.069{\pm}0.0010.052±0.001\mathbf{0.052{\pm}0.001}
SSR0.366±0.0030.366{\pm}0.0030.385±0.0020.385{\pm}0.0020.466±0.0020.466{\pm}0.0020.411±0.003\mathbf{0.411{\pm}0.003}
SWE-benchDeepSeek-V4PSR0.384±0.0100.384{\pm}0.0100.410±0.007\mathbf{0.410{\pm}0.007}0.513±0.0030.513{\pm}0.0030.400±0.0180.400{\pm}0.018
Qwen3.6-35BPSR0.179±0.0340.179{\pm}0.0340.304±0.0230.304{\pm}0.0230.381±0.0190.381{\pm}0.0190.296±0.0400.296{\pm}0.040
WebArenaDeepSeek-V4TSR0.455±0.0000.455{\pm}0.0000.452±0.0310.452{\pm}0.0310.594±0.0040.594{\pm}0.0040.580±0.006\mathbf{0.580{\pm}0.006}
Qwen3.6-35BTSR0.332±0.0090.332{\pm}0.0090.386±0.0170.386{\pm}0.0170.548±0.0370.548{\pm}0.0370.577±0.026\mathbf{0.577{\pm}0.026}
Section titled “I.1 Repeated-rollout ReAct control for Search.”

Search differs from the other planning patterns because it can execute multiple candidate trajectories before selecting one with a rubric-based judge. The Search planner dynamically selects between 0 and 4 candidate plans per task, rather than always executing the maximum of four. Across all Search runs, it realizes 3.35±0.493.35\pm 0.49 candidates per task on average (See Table 12). Thus, the Flat ReAct control of three rolls provides a rollout count of approximately matched overall. We therefore test how much of its advantage can be reproduced by repeated generic ReAct execution. For each task, we run Flat ReAct three times independently from a reset environment and apply the same rubric-based judge used by Search to select among the resulting trajectories. We repeat this control across three different seeds.

Table 17 shows that repeated execution with the same rubric-based judge generally improves Flat ReAct, but does not fully account for the gains of Search. Across ALFWorld and WebArena, Search remains substantially stronger than 3×3\timesFlat ReAct + Judge, with improvements ranging from 0.1320.132 to 0.3920.392 on ALFWorld and from 0.1280.128 to 0.1910.191 on WebArena. On Mind2Web, the differences are smaller and more model dependent: Search is slightly below repeated ReAct for DeepSeek-V4 in TSR (0.0570.057 versus 0.0590.059), but remains higher in SSR and for both metrics with Qwen3.6-35B. On SWE-bench, repeated ReAct performs slightly better than Search for both models (0.4100.410 versus 0.4000.400 for DeepSeek-V4 and 0.3040.304 versus 0.2960.296 for Qwen3.6-35B). This is consistent with the forced-pattern results, where Hierarchical rather than Search is the strongest planning pattern on SWE-bench. Overall, repeated execution explains part of the gain from additional rollout budget, but Search retains an advantage in most benchmark–model settings.

To distinguish candidate quality from trajectory-selection quality, we measured Flat ReAct pass@3, as shown in Table 17. For each task, pass@3 counts the task as successful if any of the three independent Flat ReAct trajectories succeeds, thereby providing hindsight selection over exactly the same rollout set used by 3×3\timesFlat ReAct + Judge. The difference between pass@3 and the judge-selected result therefore measures how much attainable success is lost by trajectory selection, while comparing Search against Flat ReAct pass@3 tests whether Search generates stronger candidate trajectories than repeated generic ReAct alone.

For a fixed planning pattern pp, we define

pass@k(p)=1N∑_i=1N1[max⁡_r∈{1,…,k}m_i,p(r)=1],\mathrm{pass@}k(p)=\frac{1}{N}\sum\_{i=1}^{N}\mathbf{1}\left[\max\_{r\in\{1,\ldots,k\}}m\_{i,p}^{(r)}=1\right],(1)

where m_i,p(r)m\_{i,p}^{(r)} denotes the outcome of the rrth independent execution of pattern pp on task ii. We use p⋆p^{\star}, the strongest fixed planning pattern, as the primary retry baseline. We compare TSR@2 and TSR@3 against pass@2(p⋆p^{\star}) and pass@3(p⋆p^{\star}), respectively, and compare the four-pattern forced oracle against pass@4(p⋆p^{\star}).

Table 18: Retry control for the forced-pattern ceiling. For each benchmark–model pair, p⋆p^{\star} denotes the strongest fixed planning pattern under the primary task-level metric, and S(p⋆)S(p^{\star}) denotes its corresponding score. DSR_max⁡\mathrm{DSR}\_{\max} denotes the per-task forced-pattern oracle over the evaluated planning patterns, and H=DSR_max⁡−S(p⋆)H=\mathrm{DSR}\_{\max}-S(p^{\star}) is the original oracle gap. pass@kk reports performance when the same fixed pattern p⋆p^{\star} is executed independently kk times, with a task counted as successful if any of the kk executions succeeds. H_retry@3=DSR_max⁡−pass@3(p⋆)H\_{\mathrm{retry}}@3=\mathrm{DSR}\_{\max}-\mathrm{pass@3}(p^{\star}) denotes the residual oracle gap after three executions of the same fixed pattern. Negative values indicate that repeated execution of the fixed pattern exceeds the forced-pattern oracle. For Mind2Web, we report both task success rate (TSR) and step success rate (SSR). For Gemma-4-26B, p⋆p^{\star} is Predefined because it is the strongest fixed pattern under TSR; the corresponding SSR values therefore use the same Predefined pattern rather than the SSR-maximizing Search pattern.

BenchmarkModelMetricnnS(p⋆)S(p^{\star}) (Pattern)DSR_max⁡\mathrm{DSR}\_{\max}HHpass@2pass@3H_retry@3H\_{\mathrm{retry}}@3
ALFWorldDeepSeek-V4TSR1340.9180.918 (SEARCH)0.9530.953+0.035+0.0350.9630.9630.978\mathbf{0.978}−0.025\mathbf{-0.025}
Qwen3.6-35BTSR1340.7960.796 (SEARCH)0.9250.925+0.129+0.1290.8960.8960.940\mathbf{0.940}−0.015\mathbf{-0.015}
Gemma-4-26BTSR1340.6000.600 (HIER)0.8410.841+0.241+0.2410.7540.7540.8130.813+0.027\mathbf{+0.027}
Mind2WebDeepSeek-V4TSR13410.0570.057 (SEARCH)0.0970.097+0.040+0.0400.0730.0730.0830.083+0.014\mathbf{+0.014}
SSR13410.4490.449 (SEARCH)0.5500.550+0.101+0.1010.5000.5000.5260.526+0.024\mathbf{+0.024}
Qwen3.6-35BTSR13410.0530.053 (SEARCH)0.0840.084+0.031+0.0310.0710.0710.0830.083+0.001\mathbf{+0.001}
SSR13410.4110.411 (SEARCH)0.5050.505+0.094+0.0940.4700.4700.5010.501+0.005\mathbf{+0.005}
Gemma-4-26BTSR13410.1470.147 (PRED)0.2830.283+0.135+0.1350.2370.2370.2920.292−0.010\mathbf{-0.010}
SSR13410.3470.347 (PRED)†0.5850.585+0.238+0.2380.4610.4610.5240.524+0.062\mathbf{+0.062}
SWE-benchDeepSeek-V4PSR5000.4420.442 (HIER)0.5520.552+0.110+0.1100.5030.5030.5380.538+0.014\mathbf{+0.014}
Qwen3.6-35BPSR5000.3300.330 (HIER)0.4450.445+0.115+0.1150.4200.4200.4490.449−0.004\mathbf{-0.004}
WebArenaDeepSeek-V4TSR2040.5800.580 (SEARCH)0.7360.736+0.147+0.1470.6950.6950.7440.744−0.009-0.009
Qwen3.6-35BTSR2040.5780.578 (SEARCH)0.6930.693+0.116+0.1160.6650.6650.6930.693−0.000-0.000

†For Gemma-4-26B on Mind2Web, Predefined is the strongest fixed pattern under TSR and is therefore used as the fixed-pattern retry control for both TSR and SSR. Search has the highest single-run SSR (0.3880.388), but the reported SSR pass@2 and pass@3 values correspond to repeated execution of Predefined.

Table 19: Task-blind declaration null. TSR(π)\mathrm{TSR}(\pi) denotes task success under the model’s top-1 declared planning mode. TSR_null\mathrm{TSR}\_{\mathrm{null}} preserves each model’s overall declaration frequencies while randomly reassigning declarations across tasks. We report Δ(π)=TSR(π)−TSR_null\Delta(\pi)=\mathrm{TSR}(\pi)-\mathrm{TSR}\_{\mathrm{null}}, the 95% interval under 5,000 permutations, one-sided permutation pp-values for Δ>0\Delta>0, two-sided pp-values, and Holm-corrected pp-values.

BenchmarkModelnnTSR(π)\mathrm{TSR}(\pi)TSR_null\mathrm{TSR}\_{\mathrm{null}}Δ(π)\Delta(\pi)95% null intervalpp (Δ>0\Delta>0)pp (two-sided)Holm
ALFWorldDeepSeek-V41340.721±0.0290.721{\pm}0.0290.745±0.0110.745{\pm}0.011−0.024±0.035\mathbf{-0.024{\pm}0.035}[−0.027,+0.026][-0.027,+0.026]0.9720.9720.0620.0621.0001.000
Qwen3.6-35B1340.667±0.0490.667{\pm}0.0490.659±0.0280.659{\pm}0.028+0.008±0.021+0.008{\pm}0.021[−0.017,+0.018][-0.017,+0.018]0.2260.2260.4060.4061.0001.000
Gemma-4-26B1340.560±0.0160.560{\pm}0.0160.553±0.0120.553{\pm}0.012+0.007±0.005+0.007{\pm}0.005[−0.013,+0.014][-0.013,+0.014]0.2170.2170.3640.3641.0001.000
Mind2WebDeepSeek-V413410.053±0.0030.053{\pm}0.0030.051±0.0010.051{\pm}0.001+0.003±0.002+0.003{\pm}0.002[−0.004,+0.004][-0.004,+0.004]0.0940.0940.1800.1800.9440.944
Qwen3.6-35B13410.036±0.0010.036{\pm}0.0010.034±0.0010.034{\pm}0.001+0.002±0.000+0.002{\pm}0.000[−0.003,+0.003][-0.003,+0.003]0.1260.1260.2510.2511.0001.000
Gemma-4-26B13410.113±0.0060.113{\pm}0.0060.113±0.0070.113{\pm}0.007+0.001±0.000+0.001{\pm}0.000[−0.001,+0.002][-0.001,+0.002]0.7070.7070.7150.7151.0001.000
SWE-benchDeepSeek-V45000.415±0.0160.415{\pm}0.0160.406±0.0180.406{\pm}0.018+0.009±0.002+0.009{\pm}0.002[−0.014,+0.014][-0.014,+0.014]0.1070.1070.2130.2130.9590.959
Qwen3.6-35B5000.315±0.0050.315{\pm}0.0050.317±0.0050.317{\pm}0.005−0.001±0.000-0.001{\pm}0.000[−0.011,+0.011][-0.011,+0.011]0.5980.5980.8080.8081.0001.000
WebArenaDeepSeek-V42040.460±0.0110.460{\pm}0.0110.477±0.0050.477{\pm}0.005−0.017±0.005-0.017{\pm}0.005[−0.029,+0.028][-0.029,+0.028]0.6270.6270.7100.7101.0001.000
Qwen3.6-35B2040.404±0.0190.404{\pm}0.0190.429±0.0050.429{\pm}0.005−0.025±0.009\mathbf{-0.025{\pm}0.009}[−0.030,+0.033][-0.030,+0.033]0.9250.9250.2150.2151.0001.000

We compare forced planning strategies, model-declared routing, and the empirical ceiling with representative prior work to assess whether they achieve comparable task success across benchmarks and models. Because prior systems differ in backbone models, demonstrations, training, and inference procedures, we treat these results as benchmark-level context rather than controlled comparisons. On ALFWorld, AdaPlanner (Sun et al., 2023) reports 0.9180.918 TSR with GPT-3 and 0.8060.806 with GPT-3.5, using six expert demonstrations together with closed-loop plan refinement. On Mind2Web, TRAD (Zhou et al., 2024a) reports 0.0210.021 TSR and 0.2800.280 SSR, while the more recent ReasoningBank (Ouyang et al., 2026) reaches 0.0510.051 TSR and 0.4560.456 SSR using experience memory accumulated from prior trajectories. On SWE-bench Verified, SWE-agent (Yang et al., 2024) reports a 0.3360.336 resolved rate with Claude-3.5. Finally, on full WebArena, PLAN-AND-ACT (Erdogan et al., 2025) reports 0.4570.457 TSR with Llama-70B and 0.4820.482 with QwQ-32B using a dedicated planner–executor architecture. These results show that our forced-pattern and routing-based evaluations operate in a performance regime comparable to representative prior systems, while our primary conclusions rely on the controlled Flat ReAct, Plan+ReAct, and Planning-as-Routing comparisons under the same models and execution protocol.

Declarations provide no reliable task-specific advantage over a task-blind policy.
Section titled “Declarations provide no reliable task-specific advantage over a task-blind policy.”

For each model and benchmark, we compare the task success obtained from the declared planning mode, TSR(π)\mathrm{TSR}(\pi), with a task-blind null policy, TSR_null(π)\mathrm{TSR}\_{\mathrm{null}}(\pi). The null preserves how frequently the model declares each planning mode, but removes the association between the declared mode and the individual task. We measure

Δ(π)=TSR(π)−TSR_null(π).\Delta(\pi)=\mathrm{TSR}(\pi)-\mathrm{TSR}\_{\mathrm{null}}(\pi).

Using the top-1 declarations underlying the selection results, Δ(π)\Delta(\pi) falls within the 95% interval of a 5,000-permutation null for every benchmark–model pair. No pair shows a significant advantage over the task-blind policy (minimum one-sided p=0.094p=0.094; all Holm-corrected p≥0.944p\geq 0.944). Across pairs, Δ(π)\Delta(\pi) ranges from −0.025-0.025 to +0.009+0.009, with the largest observed deviations being negative (ALFWorld/DeepSeek-V4: Δ=−0.024\Delta=-0.024; WebArena/Qwen3.6-35B: Δ=−0.025\Delta=-0.025). Thus, we find no reliable evidence that current top-1 declarations match planning modes to individual tasks better than expected from each model’s overall declaration frequencies.

Fallback through ranked planning-mode declarations improves success, but also adds execution attempts.
Section titled “Fallback through ranked planning-mode declarations improves success, but also adds execution attempts.”

We next evaluate the declaration module as a ranking over planning patterns rather than considering only its top-1 choice (Table 6). We define TSR@kk as a sequential fallback policy: the agent first executes the rank-1 declared mode and, if the task is not solved, proceeds to the rank-2 mode and then the rank-3 mode. Task success increases substantially with kk. On ALFWorld, DeepSeek-V4 improves from 0.7210.721 at TSR@1 to 0.8930.893 at TSR@2 and 0.9480.948 at TSR@3, while Qwen3.6-35B increases from 0.6670.667 to 0.8040.804 and 0.8730.873. The same trend appears across the other benchmarks: DeepSeek-V4 increases from 0.4150.415 to 0.4980.498 and 0.5410.541 on SWE-bench, from 0.4600.460 to 0.6390.639 and 0.6960.696 on WebArena, and from 0.0530.053 to 0.0750.075 and 0.0920.092 on Mind2Web.

However, each additional rank also provides another opportunity to execute the task. We therefore compare TSR@kk with pass@k(p⋆)k(p^{\star}), which repeats the strongest fixed planning pattern for the same number of attempts (Table 18). On ALFWorld, pass@3 reaches 0.9780.978 for DeepSeek-V4 and 0.9400.940 for Qwen3.6-35B, exceeding the corresponding TSR@3 values of 0.9480.948 and 0.8730.873. On SWE-bench, TSR@3 and pass@3 are nearly identical for DeepSeek-V4 (0.5410.541 versus 0.5380.538), while pass@3 is slightly higher for Qwen3.6-35B (0.4490.449 versus 0.4380.438). Thus, ranked fallback improves task success, but much of this gain can also be obtained by repeatedly executing a strong fixed planning pattern.

Additional deliberation does not consistently improve planning-mode declaration.
Section titled “Additional deliberation does not consistently improve planning-mode declaration.”

Figure 6 shows that planning-mode rankings are strongly non-uniform across models and benchmarks, indicating systematic preferences for particular modes. Enabling thinking changes these ranking distributions, but does not consistently improve the task success obtained from the top-1 declaration. For DeepSeek-V4, TSR@1 decreases from 0.7210.721 to 0.6560.656 on ALFWorld, 0.0530.053 to 0.0510.051 on Mind2Web, 0.4150.415 to 0.4110.411 on SWE-bench, and 0.4600.460 to 0.3840.384 on WebArena. Qwen3.6-35B shows only a small increase on ALFWorld (0.667 to 0.674), while decreasing on Mind2Web (0.036 to 0.034), SWE-bench (0.313 to 0.310), and WebArena (0.404 to 0.394). Thus, enabling thinking changes the model’s planning-mode preferences, but does not consistently improve top-1 declaration performance.

Few-shot task–pattern demonstrations improve raw top-1 performance, but rarely task-specific discrimination.
Section titled “Few-shot task–pattern demonstrations improve raw top-1 performance, but rarely task-specific discrimination.”

Since enabling thinking alone does not reliably improve planning-mode declaration, we next test whether explicit task–pattern demonstrations can better guide the declaration model. The few-shot demonstrations are constructed from held-out forced-pattern executions and are disjoint from the evaluation tasks. Table 6 (see main paper) shows that few-shot prompting improves top-1 declaration performance in most evaluated configurations. The largest gain occurs on ALFWorld for DeepSeek-V4 with thinking enabled, where TSR increases from 0.6560.656 to 0.8120.812 (+0.156+0.156). Improvements are smaller on the other benchmarks: up to +0.018+0.018 on Mind2Web, +0.027+0.027 on SWE-bench, and +0.054+0.054 on WebArena. One configuration decreases slightly (DeepSeek-V4 on SWE-bench with thinking disabled, −0.011-0.011), while the two negative changes on DeepSeek-V4 Mind2Web TSR are negligible (−0.003-0.003 and −0.002-0.002), and two configurations remain unchanged. Overall, task–pattern demonstrations provide a more consistent benefit than enabling thinking alone, although the magnitude of the gain depends on the benchmark and model.

The smaller gains on Mind2Web suggest that improving planning-mode declaration alone does not necessarily translate into large downstream improvements. Mind2Web requires correct element grounding and operation selection across an entire multi-step trajectory, so errors during execution can still dominate even when the declared planning mode improves. Its diversity across websites and task types may also make a small set of task–pattern demonstrations less informative than in more regular environments.

We next examine whether the gains from pattern-specific execution can be explained simply by greater inference cost. We compare aggregate token usage, the fraction spent on thinking, and the number of LLM calls across execution patterns. As shown in Appendix L, Figs. 7 and 8, both Hierarchical and Search generally use more aggregate tokens than Flat ReAct, Plan+ReAct, Sequential, and Predefined execution, largely because they invoke the LLM more frequently for decomposition, coordination, or candidate exploration. However, these additional calls are not necessarily longer: Search often makes the largest number of calls while using fewer tokens per call than Hierarchical execution. Moreover, neither total token usage nor the number of LLM calls tracks task success monotonically. For instance, on ALFWorld, Search uses fewer aggregate tokens than Hierarchical for DeepSeek-V4 and Qwen3.6-35B while achieving higher task success. These results suggest that inference volume alone does not explain the observed performance differences. Detailed inference-cost statistics are reported in Appendix L.

Figure 7: Inference-token usage across execution patterns on ALFWorld, Mind2Web, SWE-bench, and WebArena. Bars report the mean number of generated tokens per task, separated into thinking tokens (solid) and answer/content tokens (hatched); error bars denote standard deviation across available seeds. Percentages above each bar indicate the fraction of generated tokens used for thinking. Hierarchical and Search generally consume more aggregate tokens, although greater token usage does not consistently correspond to higher task success.

Figure 8: LLM calls per task across execution patterns on ALFWorld, Mind2Web, SWE-bench, and WebArena. Bars report the mean number of LLM invocations per task and error bars denote standard deviation across available seeds. Labels above the bars report the mean generated tokens per LLM call. Hierarchical and Search generally require more model invocations because of decomposition, coordination, and candidate exploration, while the average length of each call does not increase proportionally.

In this work, we study whether LLM agents execute the planning approach they declare, whether different environments and models benefit from different planning patterns, whether the execution architecture matters beyond simply generating a plan, and whether current LLMs can select an effective planning mode for an individual task. We introduce Planning-as-Routing, which separates planning-mode declaration from execution by dispatching Predefined, Sequential, Hierarchical, and Search declarations to their corresponding pattern-specific executors. Our experiments across embodied, web, and software-engineering environments reveal four main findings.

First, generating a structured plan does not guarantee that a generic ReAct executor preserves that structure during execution. Under Plan+ReAct, the declared planning structure is maintained in only a minority of trajectories, and structure preservation decreases substantially as plans become longer. Hierarchical and other richer planning structures are particularly difficult for a shared flat executor to preserve. In contrast, pattern-specific executors enforce their prescribed execution structure by construction. Importantly, structural faithfulness is distinct from plan adherence (Section 3.3): an executor may preserve the organization of a plan while completing only part of it within a fixed interaction budget. These findings extend recent work on plan compliance and process-level agent evaluation (Jia et al., 2025; Liu et al., 2026b; Ou et al., 2025) by showing that the planner–executor handoff itself is an important source of failure. A plan provided as prompt context should therefore not be assumed to function as an execution-level commitment.

Second, no single planning pattern dominates across environments and models. Forced-pattern execution reveals that Search, Hierarchical, and Predefined are strongest in different benchmark–model settings. Although the per-task oracle is higher than the strongest fixed pattern, retrying the strongest fixed pattern explains much of this gap, leaving only a small residual difference from the oracle. Moreover, judged plan quality is only weakly associated with downstream success, suggesting that an apparently well-formed plan is not sufficient: the planning structure must also be appropriate for the task and environment. This complements prior work that typically instantiates a fixed planning mechanism, including ReAct (Yao et al., 2023b), search-based reasoning (Yao et al., 2023a), adaptive replanning (Sun et al., 2023), and planner–executor frameworks (Erdogan et al., 2025). Our results instead show that the effectiveness of a planning mechanism depends on the environment and model, rather than on one universally superior architecture.

Third, the benefit of planning depends strongly on how the plan is executed. Providing an explicit plan to the same generic ReAct loop yields only modest improvements over Flat ReAct, whereas executing through the corresponding pattern-specific architecture produces substantially larger gains. The advantage of pattern-specific execution also becomes more pronounced on longer tasks. Our repeated-rollout control further shows that the advantage of Search cannot generally be explained by additional execution attempts alone. These findings extend planner–executor and adaptive-planning approaches (Wang et al., 2023; Xu et al., 2023; Erdogan et al., 2025; Sun et al., 2023) by showing that separating planning from execution is not sufficient when different planning structures are ultimately realized through the same generic execution loop. Planning should therefore be treated not only as a plan-generation problem, but also as an execution-design decision.

Finally, once execution is controlled, selecting an appropriate planning pattern remains challenging. Our task-blind analysis shows that current top-1 declarations provide no reliable task-specific advantage beyond each model’s overall preference for particular planning modes. Falling back through lower-ranked declarations improves task success, but the retry controls show that much of this gain can also arise from additional execution attempts. Enabling additional reasoning during declaration changes the model’s planning-mode preferences, but does not consistently improve top-1 declaration performance. In contrast, few-shot task–pattern demonstrations improve top-1 declaration performance in all but one evaluated configuration. These findings complement adaptive-planning approaches (Sun et al., 2023) by suggesting that adaptation should include not only revising a plan during execution, but also learning when different planning architectures are useful. Rather than simply increasing inference-time reasoning, future agents may therefore benefit from explicitly learning or calibrating task–pattern associations.

Taken together, our findings suggest a different way to design and evaluate planning in LLM agents. Planning should be executable, such that a declared structure is reflected in the agent’s control flow; adaptive, such that the planning mechanism can vary across environments and task settings; and process-evaluable, such that failures can be attributed separately to plan selection, planner–executor handoff, and execution. This perspective complements benchmark-level evaluation, which primarily asks whether an agent succeeds (Ma et al., 2024), by asking whether the observed success or failure can actually be attributed to the planning approach the agent declared. Planning-as-Routing provides one concrete realization of this principle by separating task-conditioned planning-pattern selection from structure-preserving execution.

Our study has several limitations that also suggest directions for future work. First, we consider four planning patterns: predefined, sequential, hierarchical, and search, which capture common forms of agent planning but do not exhaust the space of possible execution architectures. Future work could extend Planning-as-Routing to additional patterns, including hybrid or dynamically composed strategies. Second, our pattern ceiling is empirical: it reflects performance over the evaluated planning patterns under the current models, tools, and execution budgets rather than an absolute upper bound on agent performance. Moreover, because the oracle combines executions from multiple planning patterns, it should not be interpreted as pure headroom for planning-mode selection. Different models, executors, or execution budgets may therefore change both the observed ceiling and the relative effectiveness of the planning patterns.

Third, planning-mode declaration is currently performed once at the task level. An important extension is dynamic routing, where an agent can switch planning patterns during execution as the task state changes—for example, moving from hierarchical decomposition to sequential replanning after an unexpected observation. This would require determining when such switches are useful while preserving interpretable execution traces.

Finally, our structural verifier measures whether the intended planning organization is preserved, but structural faithfulness does not imply that individual actions are correct or that the underlying plan is optimal. Future evaluation should therefore combine structural fidelity with action-level correctness, execution cost, recovery behavior, and task success. More generally, extending handoff-aware evaluation to multi-agent systems could help identify whether failures arise from planning, routing, delegation, communication, or execution.

The declaration module predicts the planning structure that should govern task execution. We use the same planning-mode definitions and tie-breaking rules across all benchmarks. Only the benchmark-specific environment description and task inputs are changed.

The few-shot task–pattern demonstrations are constructed independently within each benchmark from forced-pattern executions rather than from the model’s own declarations. For each candidate demonstration task, we execute all four planning modes independently in two runs. We retain only tasks for which the same single planning mode is the only mode that successfully completes the task in both runs. That mode is used as the first-ranked demonstration label, while the remaining modes are ordered using their execution-level step-completion scores.

Each few-shot prompt contains eight benchmark-specific demonstrations: two exemplars for each of the four planning modes (fewshot_k=8). Demonstration tasks are excluded from the corresponding evaluation set.

The following prompts are used for ALFWorld. The agent operates in a simulated household environment using look_around() to observe the current state and admissible actions, and take_action(action) to interact with the environment.

The following prompts are used for SWE-bench. The agent operates from the repository root using bash, read_file, str_replace, and write_file. Running tests and installing packages are disabled in our execution environment.

N.4 Few-shot declaration prompt (SWE-bench)

Section titled “N.4 Few-shot declaration prompt (SWE-bench)”