Coupled Hierarchical Search over Topology and Execution for Agentic Workflow Synthesis

Dong Li, Yanchi Liu, Xujiang Zhao, Wei Cheng, Zhengzhang Chen +4 more
5/20/2026
cs.AI

No confident code implementation found for this paper.

Abstract

Although structured workflows empower Large Language Models (LLMs) to tackle complex problems, automating their creation is severely hindered by a vast combinatorial search space, frequently resulting in inflexible and resource-heavy offline training dependencies. To address this, we conceptualize workflow generation as an intertwined topology-and-execution search paradigm, where the broader topological layer dictates subtask boundaries and lower-level execution outcomes actively reshape the topology itself.

Show full abstract

Building on this foundation, we introduce HierFlow, a training-free, test-time hierarchical search architecture that automates agentic workflow design by merging feedback-guided topology adjustments with a fast, MCTS-inspired tree search for sub-workflow optimization. HierFlow maximizes efficiency through an intelligent gating module that selectively triggers execution-level searches based on contextual necessity, a mechanism we further support with an in-depth analysis detailing how varying degrees of cross-task coupling impact the effectiveness of hierarchical splitting. Comprehensive testing across question answering, mathematical reasoning, and code generation benchmarks confirms that HierFlow consistently outperforms strong baselines, delivering an optimal balance of high-quality results and computational efficiency without any additional training overhead.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{li2026coupled,
  title  = {Coupled Hierarchical Search over Topology and Execution for Agentic Workflow Synthesis},
  author = {Dong Li and Yanchi Liu and Xujiang Zhao and Wei Cheng and Zhengzhang Chen and Xintao Wu and Zhong Chen and Chen Zhao and Haifeng Chen},
  year   = {2026},
  eprint = {2607.21609},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2607.21609v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2607.21609.svg)](https://codeofpaper.com/paper/2607.21609)

Discussion