Cache Engineering for Agents: Tsinghua and CUHK Introduce AKV Paradigm Cutting Inference Costs by 27.7%
Researchers from Tsinghua University and CUHK introduced a breakthrough paper titled 'Cache Engineering for Agents' (arXiv:2610.28577) alongside the open-source AKV serving engine (thu-nics/AKV). While multi-turn agents rely on traditional 'context engineering' (text trimming and summarization) that invalidates prefix KV-caches and incurs punishing re-prefilling overhead, cache engineering empowers agents to directly manipulate KV-cache states via 'drop' and 'repos' primitives. Coupled with AKV's drop-aware radix-tree engine, the framework slashes agent inference costs by 27.7%, accelerates P95 latency by 1.5x, and boosts benchmark solve scores by 1.7 points.

Key Takeaways
- Tsinghua and CUHK researchers formalize 'Cache Engineering' in arXiv:2610.28577 for multi-turn autonomous agents
- Demonstrates how traditional prompt trimming destroys prefix cache reuse, causing massive latency and redundant re-prefilling
- Introduces 'drop' (selective cache eviction) and 'repos' (RoPE position alignment) primitives directly on GPU KV-caches
- Open-sources the AKV stateful serving engine (thu-nics/AKV), slashing agent serving costs by 27.7% while accelerating P95 latency by 1.5x