In-Model Context Compression with Agentic Soft Tokens for Long-Horizon LLM Agents
On the map: LLM agents and tool use → Agent memory systems
Abstract (arXiv)
Long-horizon LLM agents play an important role in solving complex and sustained tasks, with ever-growing interaction contexts. However, these accumulated contexts will raise substantial computational cost and obscure key decision-relevant evidence. Existing methods typically train external compressors or context-management agents to rewrite context as shorter hard-token sequences, but such external selection may not align with the LLM's evolving representation and is necessarily lossy. In this paper, we introduce Agentic Soft-Token Compression (ASTC), a training-free compression method using soft tokens within LLM agent for long-horizon tasks. Specifically, ASTC uses the model's native recurrent dynamics to determine the already absorbed information, leveraging the commonly-used hybrid Gated Delta Network (GDN)-attention. It then carries this information forward as agentic soft tokens while retaining exact values as hard tokens. The resulting compact sequence reduces later-layer computation and yields reusable KV caches, extending the savings across the agent's trajectory. Extensive experiments on long-horizon tasks show that ASTC matches or exceeds the uncompressed agent's accuracy with up to 59.84% fewer end-to-end Attention Pairs, while trained compressors require 12.3 to 194.9 times more Attention Pairs per successful task. These findings highlight agentic soft tokens as a model-native way to carry absorbed context forward as the task representation evolves.
Key facts. No citing papers in the map yet (data through 24 Nov 2026). Placed in Agent memory systems, one of 16 directions in LLM agents and tool use. Builds on 26 of its 34 references that are in the map. Submitted 30 Oct 2026.
Builds on
26 of 34 references.
Closest ancestors · 2
Same direction, newest first
- 2025ACON: Optimizing Context Compression for Long-horizon LLM Agents1 Oct
- 2025MEM1: Learning to Synergize Memory and Reasoning for Efficient Long-Horizon Agents18 Jun
Other references · 24
- 2021Program Synthesis with Large Language Modelscited by 3,972
- 2024RULER: What's the Real Context Size of Your Long-Context Language Models?cited by 1,559
- 2024SnapKV: LLM Knows What You are Looking for Before Generationcited by 1,003
- 2024Gated Delta Networks: Improving Mamba2 with Delta Rulecited by 690
- 2024AppWorld: A Controllable World of Apps and People for Benchmarking Interactive Coding Agentscited by 510
- 2023LongLLMLingua: Accelerating and Enhancing LLMs in Long Context Scenarios via Prompt Compressioncited by 500
- 2024LongBench v2: Towards Deeper Understanding and Reasoning on Realistic Long-context Multitaskscited by 447
- 2023Learning to Compress Prompts with Gist Tokenscited by 426
- 2024LLMLingua-2: Data Distillation for Efficient and Faithful Task-Agnostic Prompt Compressioncited by 397
- 2023Adapting Language Models to Compress Contextscited by 390
- 2023LLMLingua: Compressing Prompts for Accelerated Inference of Large Language Modelscited by 324
- 2023In-context Autoencoder for Context Compression in a Large Language Modelcited by 227
12 more
- 2023Compressing Context to Enhance Inference Efficiency of Large Language Modelscited by 208
- 2024Long Context Compression with Activation Beaconcited by 122
- 2024OfficeBench: Benchmarking Language Agents across Multiple Applications for Office Automationcited by 86
- 2026Meta Context Engineering via Agentic Skill Evolutioncited by 65
- 2025Context as a Tool: Context Management for Long-Horizon SWE-Agentscited by 56
- 2025DAST: Context-Aware Compression in LLMs via Dynamic Allocation of Soft Tokenscited by 23
- 2023Context Compression for Auto-regressive Transformers with Sentinel Tokenscited by 13
- 2024Concise and Precise Context Compression for Tool-Using Language Modelscited by 13
- 2026End-to-End Context Compression at Scalecited by 6
- 2026From I/O to Code with Discovery Agentcited by 2
- 2026OpenCollab: A Multi-Agent Coding Framework with Programmable Collaboration and Controllable Runtimecited by 2
- 2026SPROUT: Scaling Agentic Reinforcement Learning for Long-Horizon Software Engineeringcited by 2
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026FOCUS: Training-Free Decision-Preserving Context Compression for LLM Agents
- 2026DMC-5: Dual-Model Collaboration with Cache-aware Context Compression for Long-horizon Agents
- 2025Can Compressed LLMs Truly Act? An Empirical Evaluation of Agentic Capabilities in LLM Compression
- 2026Fix the Structural Bottleneck: Context Compression via Explicit Information Transmission
- 2026Toward Reliable Context Compression for Long-Horizon Agents: An Empirical Study of Execution Instability
- 2026AGORA: Adapter-Grounded Observation-Action Retention for Inference-Free Prompt Compression in LLM Agents
- 2026ACM: Agentic Context Management for Long Horizon Tasks
- 2026Beyond Token Savings: A Systematic Study of Context Compression in LLM Agents