GraphFlow: A Graph-Based Workflow Management for Efficient LLM-Agent Serving
On the map: LLM reasoning → Reasoning for agents, planning and code
also in 1 more
Abstract (arXiv)
Large Language Model (LLM)-based agents demonstrate strong reasoning and execution capabilities on complex tasks when guided by structured instructions, commonly referred to as workflows. However, existing workflow-assisted agent serving systems typically rely on predefined templates and shallow matching mechanisms, which limit their ability to capture deep semantic relationships and generalize to previously unseen tasks. To address these limitations, we propose a new workflow management paradigm that represents workflows using a unified graph, termed wGraph, where each node corresponds to an atomic operation. wGraph serves as a shared substrate from which task-specific workflows are dynamically instantiated. Building on wGraph primitives, we introduce GraphFlow, a system that efficiently integrates workflows into agent serving through two key designs. First, adaptive workflow generation dynamically constructs workflows from wGraph based on task semantics and constraint requirements. Second, workflow state management exploits wGraph structure to efficiently manage Key-Value (KV) caches, reducing redundant computation during agent serving. Extensive experiments across five benchmark datasets show that GraphFlow consistently outperforms state-of-the-art methods, yielding an average performance improvement of approximately 4.95 percentage points, while achieving an approximately 4× reduction in memory footprint.
Key facts. Cited by 3 papers in the map (data through 14 Oct 2026). Placed in Reasoning for agents, planning and code, one of 17 directions in LLM reasoning. Builds on 46 of its 52 references that are in the map. First posted on arXiv 21 May 2026.
Builds on
46 of 52 references.
Closest ancestors · 3
Same direction, newest first
- 2024AFlow: Automating Agentic Workflow Generation14 Oct
- 2023An LLM Compiler for Parallel Function Calling7 Dec
- 2023Language Agent Tree Search Unifies Reasoning Acting and Planning in Language Models6 Oct
Other references · 43
- 2024The Llama 3 Herd of Modelscited by 14,715
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,459
- 2016Semi-Supervised Classification with Graph Convolutional Networkscited by 11,361
- 2021Training Verifiers to Solve Math Word Problemscited by 10,109
- 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,695
- 2021Evaluating Large Language Models Trained on Codecited by 8,320
- 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,944
- 2021Measuring Mathematical Problem Solving With the MATH Datasetcited by 5,371
- 2024Qwen2.5 Technical Reportcited by 4,942
- 2023Reflexion: Language Agents with Verbal Reinforcement Learningcited by 4,276
- 2018HotpotQA: A Dataset for Diverse, Explainable Multi-hop Question Answeringcited by 3,754
- 2021Program Synthesis with Large Language Modelscited by 3,637
31 more
- 2023Generative Agents: Interactive Simulacra of Human Behaviorcited by 3,568
- 2023Tree of Thoughts: Deliberate Problem Solving with Large Language Modelscited by 3,211
- 2023Voyager: An Open-Ended Embodied Agent with Large Language Modelscited by 2,191
- 2024Gemma 2: Improving Open Language Models at a Practical Sizecited by 1,998
- 2023MetaGPT: Meta Programming for A Multi-Agent Collaborative Frameworkcited by 1,808
- 2020MiniLM: Deep Self-Attention Distillation for Task-Agnostic Compression of Pre-Trained Transformerscited by 1,463
- 2023CAMEL: Communicative Agents for "Mind" Exploration of Large Language Model Societycited by 1,395
- 2023MemGPT: Towards LLMs as Operating Systemscited by 1,389
- 2023SGLang: Efficient Execution of Structured Language Model Programscited by 1,141
- 2023ChatDev: Communicative Agents for Software Developmentcited by 919
- 2023ExpeL: LLM Agents Are Experiential Learnerscited by 876
- 2023Plan-and-Solve Prompting: Improving Zero-Shot Chain-of-Thought Reasoning by Large Language Modelscited by 560
- 2022Efficiently Scaling Transformer Inferencecited by 539
- 2023Ghost in the Minecraft: Generally Capable Agents for Open-World Environments via Large Language Models with Text-based Knowledge and Memorycited by 289
- 2023Prompt Cache: Modular Attention Reuse for Low-Latency Inferencecited by 268
- 2024Magentic-One: A Generalist Multi-Agent System for Solving Complex Taskscited by 232
- 2024CacheBlend: Fast Large Language Model Serving for RAG with Cached Knowledge Fusioncited by 223
- 2024Mobile-Agent-v2: Mobile Device Operation Assistant with Effective Navigation via Multi-Agent Collaborationcited by 189
- 2024AgentSquare: Automatic LLM Agent Search in Modular Design Spacecited by 155
- 2025Agent KB: Leveraging Cross-Domain Experience for Agentic Problem Solvingcited by 94
- 2023TaskWeaver: A Code-First Agent Frameworkcited by 86
- 2025A Survey of LLM-based Agents in Medicine: How far are we from Baymax?cited by 85
- 2024AutoFlow: Automated Workflow Generation for Large Language Model Agentscited by 83
- 2024StateFlow: Enhancing LLM Task-Solving through State-Driven Workflowscited by 65
- 2024FlowBench: Revisiting and Benchmarking Workflow-Guided Planning for LLM-based Agentscited by 40
- 2025AgentOrchestra: Orchestrating Multi-Agent Intelligence with the Tool-Environment-Agent(TEA) Protocolcited by 39
- 2024ChatCite: LLM Agent with Human Workflow Guidance for Comparative Literature Summarycited by 30
- 2024WorkflowLLM: Enhancing Workflow Orchestration Capability of Large Language Modelscited by 30
- 2023Flows: Building Blocks of Reasoning and Collaborating AIcited by 25
- 2025FlowMesh: A Service Fabric for Composable LLM Workflowscited by 6
- 2025GraphTOP: Graph Topology-Oriented Prompting for Graph Neural Networkscited by 5
Built on by
Citing papers per year: 2026: 3.
3 papers.
- 2026KVCMAS: Efficient KV cache Correction for Shared Context in Multi-Agent Systems28 Sep 2026
- 2026PReCache: Efficient KV Cache Sharing for Multi-LoRA Agents via Low-Rank Precomputation and Neutral Reconstruction28 Sep 2026
- 2026R2 Flow: Recursive Self-Improvement via Recursive Skill Evolution27 Sep 2026
Similar, not cited
Close in wording, no citation either way
- 2024Benchmarking Agentic Workflow Generation
- 2026From Static Templates to Dynamic Runtime Graphs: A Survey of Workflow Optimization for LLM Agents
- 2026Complete Cyclic Subtask Graphs for Tool-Using LLM Agents: Flexibility, Cost, and Bottlenecks in Long-Horizon Workflows
- 2026GraphBit: A Graph-based Agentic Framework for Non-Linear Agent Orchestration
- 2025Flow: Modularized Agentic Workflow Automation
- 2026Inference-Time Graph Engineering for Multi-Agent LLM Workflows
- 2025Polymath: A Self-Optimizing Agent with Dynamic Hierarchical Workflow
- 2026MASFactory: A Graph-centric Framework for Orchestrating LLM-Based Multi-Agent Systems with Vibe Graphing