mlsanityData to 14 Oct 2026

CodeComp: Structural KV Cache Compression for Agentic Coding

arXiv 2604.10235 ↗First posted 11 Apr 2026cs.CLcited by 1

On the map: LLM agents and tool use → Software engineering coding agents

also in 1 more
Abstract (arXiv)

Agentic code tasks such as fault localization and patch generation require processing long codebases under tight memory constraints, where the Key-Value (KV) cache becomes the primary inference bottleneck. Existing compression methods rely exclusively on attention signals to estimate token importance, systematically discarding structurally critical tokens such as call sites, branch conditions, and assignments that are essential for code understanding. We present CodeComp, a training-free KV cache compression framework that incorporates static program analysis into LLM inference via Code Property Graph priors extracted by Joern. Across bug localization and code generation benchmarks, CodeComp consistently outperforms attention-only compression baselines under equal memory budgets, recovering the majority of full-context accuracy under aggressive KV cache compression, while matching the patch generation quality of uncompressed full-context inference and integrating seamlessly into SGLang-based agentic coding pipelines without model modification.

Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Placed in Software engineering coding agents, one of 16 directions in LLM agents and tool use. Builds on 15 of its 18 references that are in the map. First posted on arXiv 11 Apr 2026.

Builds on

15 of 18 references.

References · 15

  1. 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,373
  2. 2023Efficient Streaming Language Models with Attention Sinkscited by 2,186
  3. 2022CodeGen: An Open Large Language Model for Code with Multi-Turn Program Synthesiscited by 885
  4. 2024SnapKV: LLM Knows What You are Looking for Before Generationcited by 880
  5. 2023H2O: Heavy-Hitter Oracle for Efficient Generative Inference of Large Language Modelscited by 832
  6. 2023StarCoder: may the source be with you!cited by 799
  7. 2024KIVI: A Tuning-Free Asymmetric 2bit Quantization for KV Cachecited by 637
  8. 2024KVQuant: Towards 10 Million Context Length LLM Inference with KV Cache Quantizationcited by 591
  9. 2024∞Bench: Extending Long Context Evaluation Beyond 100K Tokenscited by 367
  10. 2025Expected Attention: KV Cache Compression by Estimating Attention from Future Queries Distributioncited by 74
  11. 2025ChunkKV: Semantic-Preserving KV Cache Compression for Efficient Long-Context LLM Inferencecited by 60
  12. 2024Long Code Arena: a Set of Benchmarks for Long-Context Code Modelscited by 50
3 more
  1. 2025LongCodeBench: Evaluating Coding LLMs at 1M Context Windowscited by 37
  2. 2025ParallelComp: Parallel Long-Context Compressor for Length Extrapolationcited by 14
  3. 2025Bridging Code Graphs and Large Language Models for Better Code Understandingcited by 2

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 1.

1 paper.

Similar, not cited

Close in wording, no citation either way

  1. 2026ActKV: Efficient LLM Agents through Action-Guided KV Cache Management
  2. 2026Agentic Coding in the Wild: Characterizing GitHub Copilot Traces at Production Scale
  3. 2025Can Compressed LLMs Truly Act? An Empirical Evaluation of Agentic Capabilities in LLM Compression
  4. 2026SkillZip: Contract-Preserving Graph Compression for Scalable Agent Skill Libraries
  5. 2026MemDecay: Region-Aware KV Cache Eviction for Efficient LLM Agent Inference
  6. 2026StepKV: Step-Aware KV Cache Compression for LLM Agents
  7. 2026CliffCompaction: Cost-Efficient Compaction for Long-Horizon Coding Agents
  8. 2026Memory Compression for High-Fanout Agent Sandboxes