atlas

Research map / Multi-agent systems and games / LLM agents

KVFlow: Efficient Prefix Caching for Accelerating LLM-Based Multi-Agent Workflows

NeurIPS 2025 · Multi-agent systems and games › LLM agents · approach: LLM multi-agent collaboration and safety · 4 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes KVFlow, a workflow-aware KV cache manager for LLM agent workflows that evicts prefix KV nodes by steps-to-execution from an Agent Step Graph and prefetches upcoming agents' KV from CPU, reporting speedups over SGLang with HiCache.

Problem

LRU eviction of prefix KV caches in LLM serving systems discards caches of agents that are about to be reused in multi-agent agentic workflows, causing cache misses and recomputation or CPU-GPU swapping overhead.

Approach

Abstract the agent execution schedule as an Agent Step Graph that yields a steps-to-execution value per agent; use it to assign priorities to radix-tree KV nodes for eviction, and proactively prefetch KV from CPU for agents scheduled in the next step, with status-aware scheduling to avoid stalls.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
use workflow-aware eviction and proactive KV prefetching instead of SGLang w/ HiCacheSGLang serving 10-agent sequential workflows · A10G, 8192/32/32speedup: 1.83×Helped
use workflow-aware eviction and proactive KV prefetching instead of GPU-only SGLangSGLang serving 10-agent sequential workflows · A10G, 8192/32/32speedup: 2.91×Helped
increase fixed prompt length from 4096 to 8192 tokensKVFlow · 10-agent sequential workflowaverage speedup over SGLang: 1.28× to 1.48×Helped
increase output token countKVFlow · 10-agent sequential workflowrelative speedupHurt
use SGLang HiCache with CPU backup and reactive loadingSGLang · High concurrency, 1024 fixed prompt tokens, 64 workflowsrelative performance vs. SGLang: 0.57×Hurt
use workflow-aware eviction and proactive prefetching instead of reactive HiCache loadingSGLang HiCache · High-concurrency workflowsperformance gain: up to 2.19×Helped
use KVFlow instead of SGLangSGLang serving PEER Financial QA workflows · PEER Financial QAspeedup: up to 1.12×Helped
use KVFlow instead of SGLang w/ HiCacheSGLang serving PEER Financial QA workflows · PEER Financial QAspeedup: up to 1.08×Helped

Surprising findings

Limitations

Experimental setup

Datasets: PEER Financial QA dataset (workflow input) synthetic random token prompts

Benchmarks: synthetic 10-agent sequential workflow PEER-style multi-agent workflows

Metrics: end-to-end latency speedup

Baselines: SGLang SGLang w/ HiCache

Builds on: SGLang RadixAttention hierarchical radix cache (HiCache) PEER

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy