Contexture: Runtime Context Eviction for High-Throughput Agent Serving

Colin Hong, Bryan Shan, Wei Siong Pang, Chengzhi Lu, Xu Guo +5 more
11/20/2026
cs.DCcs.AIcs.MA

No confident code implementation found for this paper.

Abstract

LLM agents such as Hermes, OpenClaw, and Codex repeatedly resend growing execution histories, increasing shared GPU key-value (KV) cache demand in high-bandwidth memory (HBM). We show that shared KV capacity limits agent-serving throughput.

Show full abstract

Existing context-reduction methods lack global cache-state visibility, while runtime KV managers lack tool-execution information. Tracing tokens to their originating tool operations reveals that later operations supersede earlier outputs and associated turns, identifying 64% of recorded final-history tokens as removal candidates. We present Contexture, a harness- and model-agnostic architecture for runtime context eviction. Contexture separates the harness's full conversation history from the model's execution context, reducing subsequent requests' KV demand without modifying harness logic or model execution. It combines tool-execution information with global visibility into shared KV pressure and prefix residency: supersession identifies removal candidates, while runtime state determines when removal justifies sacrificing cached computation. This coordination reduces memory demand and decode KV traffic while limiting re-prefill interference with concurrent decoding, without additional model calls or training. Across two models, two harnesses, and two benchmarks, Contexture improves throughput under SLO by 20-73% over the best of no eviction, harness compaction, AgentDiet, and Continuum, and by 7-63% over observation masking in five of eight configurations, and reduces GPU energy per completed session by up to 11%. It also raises throughput under SLO by 23% over LMCache alone on H100. Live-agent experiments show a mean accuracy improvement of 1.4 percentage points over unloaded no eviction, with a worst-case loss of 3.7 points, while observation masking loses 3-28 points.

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{hong2026contexture,
  title  = {Contexture: Runtime Context Eviction for High-Throughput Agent Serving},
  author = {Colin Hong and Bryan Shan and Wei Siong Pang and Chengzhi Lu and Xu Guo and Nitin Shivaraman and Tao Luo and Esha Choukse and Kisson Lin and Dmitrii Ustiugov},
  year   = {2026},
  eprint = {2611.26980},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2611.26980v1}
}

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/2611.26980.svg)](https://codeofpaper.com/paper/2611.26980)

Discussion