HTN-Orchestrate: A Hierarchical Task Network Framework for Multi-Agent Orchestration

Yanchen Deng, Jianguo Huang, Yao Long Teng, Yixuan Li, Handuo Zhang, Ning Wang, Liangcai Su, Xinyu Wang, Bo An

TL;DR

HTN-Orchestrate is a two-layer framework that uses Hierarchical Task Networks (HTNs) to decouple global task planning from local execution. By deferring subtask decomposition until prerequisite results are available and allowing for evidence-based plan rebuilding, it achieves state-of-the-art performance on complex reasoning benchmarks, outperforming traditional "dynamic dispatch" and "fixed workflow" agentic approaches.

What Problem Does This Paper Address?

Building multi-agent systems for complex, long-horizon tasks (like scientific research or deep web browsing) usually involves a trade-off between two extremes:

  1. Rigid Workflows: Predefined sequences of actions provide clear structure but fail when the agent encounters unexpected findings that should change the plan.
  2. Dynamic Dispatch: A central "manager" agent delegates subtasks on the fly. While flexible, this often lacks a global view of dependencies and hierarchies, leading to "flat" execution that struggles with deeply nested or interdependent problems.

The authors identify a "tension between adaptive local execution and structured global planning." HTN-Orchestrate aims to resolve this by providing a framework that is structured enough to track complex dependencies but flexible enough to evolve its plan based on real-time evidence.

Methods

The core of the framework is a two-layer architecture that separates the what from the how:

  • The Planner (Upper Layer): This component maintains a Hierarchical Task Network. Unlike traditional HTNs that use a fixed library of rules, this Planner uses an LLM to decompose tasks into subtasks and define their dependencies. Crucially, it uses result-informed planning: it waits for the results of prerequisite subtasks before deciding how to decompose subsequent ones.
  • The Orchestrator (Lower Layer): When the Planner identifies an "executable leaf" subtask, it hands it off to an Orchestrator. This local manager dispatches specialized workers (e.g., Researchers and Verifiers) to actually do the work.
  • AND Semantics: Results propagate upward through the hierarchy. A parent task is only synthesized once all its children have successfully returned results.
  • Rebuilding Mechanism: If a plan fails or reaches a dead end, the system doesn't just quit. It performs a "rebuild," extracting "retained evidence" from the failed attempt to inform a brand-new task network for the next "epoch."
The two-layer architecture of HTN-Orchestrate, showing the Planner's global view and the Orchestrator's local execution.

Datasets

The authors evaluated HTN-Orchestrate across five diverse benchmarks to test different reasoning capabilities:

  • BrowseComp (BC): Multi-hop web research requiring persistent browsing.
  • FrontierScience-Research (FSR): Open-ended scientific research subproblems.
  • FrontierScience-Olympiad (FSO): Olympiad-level reasoning in physics, chemistry, and biology.
  • SUPERChem: Multistep reasoning across various chemistry subfields.
  • PRL-Bench: Theoretical and computational physics research tasks derived from published papers.

Key Insights and Ideas

  • Deferred Decomposition is Key: By not planning the entire "tree" upfront, the system avoids making brittle assumptions. For example, if a task is to "analyze the father of author X," the Planner waits until the first subtask identifies author X before planning the father's analysis.
  • Separation of Concerns: Decoupling global planning from local worker management reduces the "cognitive load" on the LLM at any single step, leading to more reliable execution.
  • Evidence Carryover: The rebuilding mechanism treats failure as a learning opportunity. By explicitly extracting facts from a failed epoch, the next epoch starts with a much higher "information state."
  • Efficiency through Targeted Parallelism: While it uses more workers than a single-agent approach, HTN-Orchestrate is often faster than simpler multi-agent teams because its hierarchical structure allows for more concentrated, relevant parallel activity.

Key Results

Using DeepSeek-V4.1-Flash as a backbone, HTN-Orchestrate consistently outperformed controlled baselines (ReAct, Agent Team, and DeepSeek Harness) and remained competitive with much larger proprietary models.

  • BrowseComp: Achieved 89.73% accuracy, beating the "Agent Team" baseline by 2.45 percentage points and the "ReAct" baseline by 15.8 points.
  • SUPERChem: Reached 73.44% accuracy, falling just 0.16 points short of the top-performing proprietary model (GPT-5.6 Sol).
  • PRL-Bench: Showed the largest gain, exceeding Agent Team by 10.19 points, highlighting its strength in tasks requiring iterative refinement.
  • Latency: On shared successes in BrowseComp, HTN-Orchestrate was faster than the Agent Team baseline 67.9% of the time, with a median completion-time ratio of 0.699.
Figure 2. Per-question completion times on a 200-question subset of BrowseComp, with marker shapes and colors indicating paired correctness. Both axes use logarithmic scales; points below the dashed equality line indicate shorter completion times for HTN.

Limitations and Future Work

  • Network Depth: In these experiments, the maximum task-network depth was set to two. Future work will explore scaling this for even more complex, multi-layered problems.
  • Backbone Sensitivity: The current results rely on a high-reasoning-effort model (DeepSeek-V4.1-Flash). It remains to be seen how well the framework generalizes to smaller or less capable base models.
  • Cost: While efficient in time, the multi-agent orchestration and rebuilding mechanisms naturally consume more tokens than simpler single-agent loops. Optimizing the "rebuilding" trigger to avoid unnecessary epochs is a potential area for improvement.

Summary updated

Abstract

Orchestrating multiple agents on a complex task requires reconciling local subtask execution with global task planning. Dynamic dispatch approaches provide execution flexibility but do not explicitly model subtask hierarchies or dependencies, while predefined workflows impose this structure but fix the decomposition before execution begins. Therefore, we introduce HTN-Orchestrate, a two-layer framework that separates these responsibilities through a hierarchical task network (HTN). The Planner maintains subtask hierarchies and dependencies, deferring decomposition until prerequisite results become available, while local Orchestrators schedule workers to execute each leaf subtask. Results propagate upward under \textbf{AND} semantics, and accumulated findings inform a rebuilt task network when the current decomposition cannot resolve the task. On five benchmarks spanning web research, scientific reasoning, and research workflows, HTN-Orchestrate outperforms ReAct, Agent Team, and DeepSeek Harness using the same base model, achieving 89.73% accuracy on BrowseComp and 73.44% on SUPERChem, exceeding Agent Team by 2.45 and 4.69 percentage points, respectively.
BibTeX
@misc{deng2026htn,
  author = {Yanchen Deng and Jianguo Huang and Yao Long Teng and Yixuan Li and Handuo Zhang and Ning Wang and Liangcai Su and Xinyu Wang and Bo An},
  title = {{HTN-Orchestrate: A Hierarchical Task Network Framework for Multi-Agent Orchestration}},
  year = {2026},
  eprint = {2610.22195},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2610.22195},
}

Loading related content...

Figure