Coupled Hierarchical Search over Topology and Execution for Agentic Workflow Synthesis
On the map: LLM agents and tool use → Software engineering coding agents
Abstract (arXiv)
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. 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.
Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Placed in Software engineering coding agents, one of 16 directions in LLM agents and tool use. Builds on 25 of its 30 references that are in the map. First posted on arXiv 20 May 2026.
Builds on
25 of 30 references.
Closest ancestors · 7
Same direction, newest first
- 2025DyFlow: Dynamic Workflow Framework for Agentic Reasoning30 Sep
- 2025RobustFlow: Towards Robust Agentic Workflow Generation26 Sep
- 2025A Survey on Agent Workflow -- Status and Future2 Aug
- 2025Flow: Modularized Agentic Workflow Automation14 Jan
- 2024AFlow: Automating Agentic Workflow Generation14 Oct
- 2024Benchmarking Agentic Workflow Generation10 Oct
- 2024AutoFlow: Automated Workflow Generation for Large Language Model Agents1 Jul
Other references · 18
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
- 2021Training Verifiers to Solve Math Word Problemscited by 9,743
- 2021Evaluating Large Language Models Trained on Codecited by 8,053
- 2021Measuring Mathematical Problem Solving With the MATH Datasetcited by 5,203
- 2024GPT-4o System Cardcited by 4,467
- 2018HotpotQA: A Dataset for Diverse, Explainable Multi-hop Question Answeringcited by 3,686
- 2021Program Synthesis with Large Language Modelscited by 3,509
- 2023Self-Refine: Iterative Refinement with Self-Feedbackcited by 3,317
- 2023Tree of Thoughts: Deliberate Problem Solving with Large Language Modelscited by 3,155
- 2022Language Models (Mostly) Know What They Knowcited by 1,783
- 2023Improving Factuality and Reasoning in Language Models through Multiagent Debatecited by 1,739
- 2023Graph of Thoughts: Solving Elaborate Problems with Large Language Modelscited by 873
6 more
- 2024Phi-4 Technical Reportcited by 675
- 2024Automated Design of Agentic Systemscited by 360
- 2025A Comprehensive Survey of Self-Evolving AI Agents: A New Paradigm Bridging Foundation Models and Lifelong Agentic Systemscited by 177
- 2025Multi-agent Architecture Search via Agentic Supernetcited by 164
- 2024Autoformulation of Mathematical Optimization Models Using LLMscited by 48
- 2025SolverLLM: Leveraging Test-Time Scaling for Optimization Problem via LLM-Guided Searchcited by 10
Built on by
Citing papers per year: 2026: 1.
1 paper.
Similar, not cited
Close in wording, no citation either way
- 2026Global Optimization and Inference-Time Region Grafting for Agentic Workflows
- 2025Polymath: A Self-Optimizing Agent with Dynamic Hierarchical Workflow
- 2026FlowBank: Query-Adaptive Agentic Workflows Optimization through Precompute-and-Reuse
- 2026It Takes Workflows to Evolve Better Workflows
- 2026HyEvo: Self-Evolving Hybrid Agentic Workflows for Efficient Reasoning
- 2025A2Flow: Automating Agentic Workflow Generation via Self-Adaptive Abstraction Operators
- 2026Do We Always Need Query-Level Workflows? Rethinking Agentic Workflow Generation for Multi-Agent Systems
- 2026Learning to Compose for Cross-domain Agentic Workflow Generation