ActKV: Efficient LLM Agents through Action-Guided KV Cache Management

Zihan Wang, Cheng Tang, Lei Gong, Chao Wang, Wenqi Lou +2 more
9/25/2026
cs.OScs.AI

No confident code implementation found for this paper.

Abstract

Agentic LLM inference accumulates long KV caches across iterative observation-reasoning-action loops, imposing substantial memory overhead and limiting serving throughput. Existing compression methods emphasize overall output quality, overlooking the asymmetric importance of actions in driving task progress. Our key idea is to establish a compression criterion that values KV entries by their contribution to action generation and prioritizes action quality. However, iterative execution, dynamic memory demands, and scattered action-critical entries pose challenges to eviction policies, budget allocation, and paged memory integration. To this end, we propose ActKV, the first KV cache compression framework tailored for agentic LLM inference. (i) Action-oriented KV cache eviction exploits stable action access patterns to retain entries critical to future actions, supporting reliable task progress under compression. (ii) Confidence-driven adaptive budget allocation uses LLM's intrinsic confidence to adapt the budget to evolving action-critical memory demands. (iii) Page-aware compression management standardizes compression into three primitives with customized kernels, realizing practical throughput gains. On long-trace tasks, ActKV retains an average of 98.53% of FullKV's accuracy with only 25.98% of its peak KV cache memory. It also achieves 3.97 times and 3.58 times FullKV's token and task throughput, delivering state-of-the-art performance.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{wang2026actkv,
  title  = {ActKV: Efficient LLM Agents through Action-Guided KV Cache Management},
  author = {Zihan Wang and Cheng Tang and Lei Gong and Chao Wang and Wenqi Lou and Teng Wang and Xuehai Zhou},
  year   = {2026},
  eprint = {2609.31395},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2609.31395v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2609.31395.svg)](https://codeofpaper.com/paper/2609.31395)

Discussion