SelfCompact paper lets LLM agents decide when to compact context, cutting token cost 30-70%
DanielKhashabi · x · 2026-12-03
Researchers from JHU and Meta propose SelfCompact, a scaffold where the LLM agent itself decides when and how to compact its context via a compaction tool plus a lightweight rubric for firing/suppression timing. Unlike fixed-interval compaction, it avoids discarding partial results mid-derivation. Across 6 benchmarks (competitive math, agentic search) and 7 models, it matches or beats fixed-interval summarization, improving over no-summarization by up to 18.1 points on math and 5-9 on agentic search at 30-70% lower per-question cost, with no fine-tuning.
More from coding & agent
- Anthropic explains agent memory: 'dreaming' keeps the top of the hierarchy small — hugobowne · 2026-12-03
- Neon's refreshingly unique personality is a step-change over converged Claude and Codex — jxmnop · 2026-12-03
- User claims Neon reverse-engineered 60% of GTA 6's functions, shares agent screenshot — JasonBotterill · 2026-12-03
- Agent pro tip: set a Flesch–Kincaid reading level to control your agent's writing style — 0xkarasy · 2026-12-03
- Hermes desktop redesign merges to main — try it via Every commit channel — testingcatalog · 2026-12-03
- Nous Research's Hermes desktop gets full redesign centered on AI agents — testingcatalog · 2026-12-03