Efficient Serving for Dynamic Agent Workflows with Prediction-based KV-Cache Management
On the map: LLM agents and tool use → Software engineering coding agents
Abstract (arXiv)
LLM-based workflows compose specialized agents to execute complex tasks, and these agents usually share substantial context, allowing KV-Cache reuse to save computation. Existing approaches either manage KV-Cache at agent level and fail to exploit the reuse opportunities within workflows, or manage cache at the workflow level but assume that each workflow calls a static sequence of agents. However, practical workflows are typically dynamic, where the sequence of invoked agents and thus induced cache reuse opportunities depend on the context of each task. To serve such dynamic workflows efficiently, we build a system dubbed PBKV (Prediction-Based KV-Cache Management). For each workflow, PBKV predicts the agent invocations in several future steps by fusing the guidance from historical workflows and context of the target workflow. Based on the predictions, PBKV estimates the reuse potential of cache entries and keeps the high-potential entries in GPU memory. To be robust to prediction errors, PBKV utilizes the predictions conservatively during both cache eviction and prefetching. Experiments on three workflow benchmarks show that PBKV achieves up to 1.85× speedup over LRU on dynamic workflows, and up to 1.26× speedup over the SOTA baseline KVFlow on the static workflow.
Key facts. Cited by 4 papers 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 34 of its 39 references that are in the map. First posted on arXiv 7 May 2026.
Builds on
34 of 39 references.
Closest ancestors · 9
Same direction, newest first
- 2026Scepsy: Serving Agentic Workflows Using Aggregate LLM Pipelines16 Apr
- 2026Parallelizing Tool Execution and LLM Generation for Low-Latency Agent Serving19 Mar
- 2026AgentRx: Diagnosing AI Agent Failures from Execution Trajectories2 Feb
- 2025Continuum: Efficient and Robust Multi-Turn LLM Agent Scheduling with KV Cache Time-to-Live4 Nov
- 2025KVCOMM: Online Cross-context KV-cache Communication for Efficient LLM-based Multi-agent Systems14 Oct
- 2025Taming Uncertainty via Automation: Observing, Analyzing, and Optimizing Agentic AI Systems15 Jul
- 2025KVFlow: Efficient Prefix Caching for Accelerating LLM-Based Multi-Agent Workflows10 Jul
- 2025Autellix: An Efficient Serving Engine for LLM Agents as General Programs19 Feb
- 2023AutoGen: Enabling Next-Gen LLM Applications via Multi-Agent Conversation16 Aug
Other references · 25
- 2017Attention Is All You Needcited by 59,932
- 2016Semi-Supervised Classification with Graph Convolutional Networkscited by 11,282
- 2017Inductive Representation Learning on Large Graphscited by 6,284
- 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,767
- 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,193
- 2023MetaGPT: Meta Programming for A Multi-Agent Collaborative Frameworkcited by 1,761
- 2017Modeling Relational Data with Graph Convolutional Networkscited by 1,684
- 2018An Empirical Evaluation of Generic Convolutional and Recurrent Networks for Sequence Modelingcited by 1,447
- 2023SGLang: Efficient Execution of Structured Language Model Programscited by 1,107
- 2025Layer by Layer: Uncovering Hidden Representations in Language Modelscited by 293
- 2023FinanceBench: A New Benchmark for Financial Question Answeringcited by 261
- 2024CacheBlend: Fast Large Language Model Serving for RAG with Cached Knowledge Fusioncited by 211
13 more
- 2020HoVer: A Dataset for Many-Hop Fact Extraction And Claim Verificationcited by 199
- 2018Competitive caching with machine learned advicecited by 194
- 2025LMCache: An Efficient KV Cache Layer for Enterprise-Scale LLM Inferencecited by 119
- 2024Parrot: Efficient Serving of LLM-based Applications with Semantic Variablecited by 96
- 2019Near-Optimal Bounds for Online Caching with Machine Learned Advicecited by 73
- 2024Don't Stop Me Now: Embedding Based Scheduling for LLMscited by 34
- 2024Teola: Towards End-to-End Optimization of LLM-based Applicationscited by 32
- 2026Agentic Uncertainty Quantificationcited by 16
- 2026DualPath: Breaking the Storage Bandwidth Bottleneck in Agentic LLM Inferencecited by 15
- 2025Beyond Black-Box Benchmarking: Observability, Analytics, and Optimization of Agentic Systemscited by 14
- 2026CONCUR: High-Throughput Agentic Batch Inference of LLM via Congestion-Based Concurrency Controlcited by 13
- 2026Agentic Confidence Calibrationcited by 12
- 2026Improving LLM Final Representations with Inter-Layer Geometrycited by 1
Built on by
Citing papers per year: 2026: 4.
4 papers.
- 2026Learning What Not to Forget: Long-Horizon Agent Memory from a Few Kilobytes of Learningcited by 4
- 2026Learning Agent Execution for KV-Cache Management in Agentic Servingcited by 1
- 2026MiCU: End-to-End Smart Home Command Understanding with Large Language Modelcited by 0
- 2026Can Agent Harnesses and Inference Engines Hear Each Other? The HEAR Protocol for Agentic LLM Servingcited by 0
- 2026Can Agent Harnesses and Inference Engines Hear Each Other? The HEAR Protocol for Agentic LLM Serving5 Oct 2026
- 2026Learning Agent Execution for KV-Cache Management in Agentic Serving16 Jul 2026
- 2026Learning What Not to Forget: Long-Horizon Agent Memory from a Few Kilobytes of Learning18 Jun 2026
- 2026MiCU: End-to-End Smart Home Command Understanding with Large Language Model31 May 2026
Similar, not cited
Close in wording, no citation either way
- 2026Pythia: Exploiting Workflow Predictability for Efficient Agent-Native LLM Serving
- 2026[AAFLOW+] Stateful Operator Abstraction with Zero-Copy Distributed KV Cache Orchestration for Multi-Agent Workflows
- 2025TokenCake: A KV-Cache-centric Serving Framework for LLM-based Multi-Agent Applications
- 2026CacheWise: Understanding Workloads and Optimizing KVCache Management for Efficiently Serving LLM Coding Agents
- 2026EfficientAgent: What Makes KV Cache Offloading Work for Concurrent Agents?
- 2025Cortex: Workflow-Aware Resource Pooling and Scheduling for Agentic Serving
- 2026Workload-Aware Caching for Multi-Agent Systems
- 2026LRAgent: Efficient KV Cache Sharing for Multi-LoRA LLM Agents