Complete Cyclic Subtask Graphs for Tool-Using LLM Agents: Flexibility, Cost, and Bottlenecks in Long-Horizon Workflows
On the map: LLM agents and tool use → Software engineering coding agents
Abstract (arXiv)
Long-horizon tool-using tasks sometimes benefit from revisiting earlier subtasks, but explicit revisitation also adds routing, coordination, and token cost. We study complete cyclic subtask graphs for large language model (LLM) agents: a workflow controller in which executable subtasks are fully connected and a unified state-analysis-and-routing agent selects transitions from natural-language criteria. We evaluate task-specific (Spec-Cyc) and benchmark-generic (Gen-Cyc) cyclic graphs on TextCraft, ALFWorld, and Finance-Agent against ReAct and dependency-directed workflows. Our main dependency-directed controller is DepDAG, which permits same-subtask retry while preserving forward dependency constraints. The evaluated case studies suggest three workflow signatures rather than a universal architecture ranking. TextCraft behaves like a prerequisite-chain setting, where cyclic routing often adds overhead. ALFWorld behaves like a partially observable recovery setting, where explicit revisitation improves exploration and success. Finance-Agent behaves like an open-ended evidence-synthesis setting, where workflow control alone is insufficient without stronger retrieval, grounding, and verification mechanisms. We add a qualified workflow-signature matrix, fault-injection robustness analysis, token-cost accounting, graph-stability reporting, transition-audit checks for DepDAG, and failure-mode structure for trajectory analysis. Overall, complete cyclic subtask graphs are best understood as a diagnostic workflow-control tool: they expose when flexible backtracking is worth its cost and when simpler, locally retrying, or sparsified controllers are preferable.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Placed in Software engineering coding agents, one of 16 directions in LLM agents and tool use. Builds on 35 of its 42 references that are in the map. First posted on arXiv 17 Apr 2026.
Builds on
35 of 42 references.
Closest ancestors · 3
Same direction, newest first
- 2025AgenTracer: Who Is Inducing Failure in the LLM Agentic Systems?3 Sep
- 2025Which Agent Causes Task Failures and When? On Automated Failure Attribution of LLM Multi-Agent Systems30 Apr
- 2024Executable Code Actions Elicit Better LLM Agents1 Feb
Other references · 32
- 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,355
- 2023Reflexion: Language Agents with Verbal Reinforcement Learningcited by 4,064
- 2023ToolLLM: Facilitating Large Language Models to Master 16000+ Real-world APIscited by 1,880
- 2023Gorilla: Large Language Model Connected with Massive APIscited by 1,302
- 2020ALFWorld: Aligning Text and Embodied Environments for Interactive Learningcited by 1,143
- 2019ALFRED: A Benchmark for Interpreting Grounded Instructions for Everyday Taskscited by 773
- 2025Stop Overthinking: A Survey on Efficient Reasoning for Large Language Modelscited by 456
- 2024Agent Workflow Memorycited by 342
- 2024Scaling Large Language Model-based Multi-Agent Collaborationcited by 235
- 2025Plan-and-Act: Improving Planning of Agents for Long-Horizon Taskscited by 190
- 2023ReWOO: Decoupling Reasoning from Observations for Efficient Augmented Language Modelscited by 174
- 2023ADaPT: As-Needed Decomposition and Planning with Language Modelscited by 172
20 more
- 2025Multi-agent Architecture Search via Agentic Supernetcited by 164
- 2024Large Language Model-Brained GUI Agents: A Surveycited by 160
- 2025Towards a Science of Scaling Agent Systemscited by 125
- 2024G-Designer: Architecting Multi-agent Communication Topologies via Graph Neural Networkscited by 110
- 2023Should we be going MAD? A Look at Multi-Agent Debate Strategies for LLMscited by 103
- 2024On the Resilience of LLM-Based Multi-Agent Collaboration with Faulty Agentscited by 92
- 2024StateFlow: Enhancing LLM Task-Solving through State-Driven Workflowscited by 65
- 2025Finance Agent Benchmark: Benchmarking LLMs on Real-world Financial Research Taskscited by 63
- 2025Retrieval Models Aren't Tool-Savvy: Benchmarking Tool Retrieval for Large Language Modelscited by 46
- 2025MAS-GPT: Training LLMs to Build LLM-based Multi-Agent Systemscited by 45
- 2024MAGDi: Structured Distillation of Multi-Agent Interaction Graphs Improves Reasoning in Smaller Language Modelscited by 41
- 2024Adaptive In-conversation Team Building for Language Model Agentscited by 38
- 2025Large Language Model-based Data Science Agent: A Surveycited by 22
- 2025A Survey on LLM Test-Time Compute via Search: Tasks, LLM Profiling, Search Algorithms, and Relevant Frameworkscited by 21
- 2026Large Language Model Reasoning Failurescited by 20
- 2025MetaAgent: Automatically Constructing Multi-Agent Systems Based on Finite State Machinescited by 17
- 2025Aime: Towards Fully-Autonomous Multi-Agent Frameworkcited by 9
- 2025Gradientsys: A Multi-Agent LLM Scheduler with ReAct Orchestrationcited by 7
- 2024Fleet of Agents: Coordinated Problem Solving with Large Language Modelscited by 5
- 2025Reducing Cognitive Overhead in Tool Use via Multi-Small-Agent Reinforcement Learningcited by 3
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026From Static Templates to Dynamic Runtime Graphs: A Survey of Workflow Optimization for LLM Agents
- 2026GraphFlow: A Graph-Based Workflow Management for Efficient LLM-Agent Serving
- 2026FlowScout: From Execution Feedback to Reliable Tool-Using Agent Workflows
- 2024Benchmarking Agentic Workflow Generation
- 2025Flow: Modularized Agentic Workflow Automation
- 2026From Agent Loops to Structured Graphs:A Scheduler-Theoretic Framework for LLM Agent Execution
- 2026GraphBit: A Graph-based Agentic Framework for Non-Linear Agent Orchestration
- 2026Characterizing Large Language Model Agentic Workflows: A Study on N8n Ecosystem