The non-obvious finding is that compaction policy is a model-dependent design choice, not a framework default — the same API that tripled one model's score left another barely engaging with it. Teams building agents under tight context budgets should expose self-compaction hooks and run per-model evaluations before committing to automatic summarization. The comparison across GPT-6.1 Sol, Claude Opus 5.5, Kimi K3 and DeepSeek V4 Pro gives practitioners a concrete starting matrix for picking models for long-running agent workloads.
#context compression
The interesting move is giving the model agency over its own memory: compression happens only when the model judges old turns are disposable, which reduces the accuracy loss typical of aggressive auto-summarisation. Developers building long-horizon agents or coding assistants that run for weeks on 100K-token models can drop it in as a proxy layer rather than rewriting prompts. The GitHub release makes it directly testable against naive summarisation baselines.
Compacting aggressively changes the cost calculus for long-running agents: short state summaries can outperform full transcripts on both accuracy and spend, since late-token generation runs up to 7x pricier. Builders running multi-step coding or tool-use agents can test end-of-conversation compaction before paying for million-token runs. The gains were measured on Claude Opus 4.5, so teams using other frontier models should verify the effect on their own stacks.
Idle compaction quietly solves a real cost problem: long sessions that sat untouched were losing their prompt cache and forcing full reprocessing on the next message. Teams running self-hosted runners or managed deployments get the most out of this release, from drain-time controls to attribution-header toggles behind a Claude apps gateway. Admins should review the new managed-settings hooks before rolling it out.
Compression damages run-to-run reliability before it makes tasks unsolvable, so single-run evals will miss the problem — repeated-run consistency is the metric to watch. Builders of long-horizon agent systems can use PAIR's replay-and-compare approach to pinpoint which compression events break their workflows. The paper's benchmarks, AppWorld and tau-Bench Retail, offer concrete testbeds for comparing compression prompts.
The counterintuitive takeaway is that a compaction policy tuned to minimise tokens can raise total latency and cost, since extra model calls eat the savings. Agent builders should measure latency and cost per model before adopting a policy, rather than copying one that worked elsewhere. The paper is on arXiv (2609.32961) with a companion Chat-with-Paper tool at academy.dair.ai.
This approach solves a critical real-world problem where AI agents degrade performance as interaction history grows. Developers working with closed-API models can implement FOCUS as a separate layer to optimize performance without retraining. The method's effectiveness across multiple benchmarks makes it immediately applicable for production agents handling complex, multi-turn conversations.
LatentPress processes context 5-9× faster than raw methods, offering significant efficiency gains for developers working with large language models.