kapynResearch

Self-Compacting Language Model Agents

Self-Compacting Language Model Agents introduces SELFCOMPACT, a scaffold that lets a language model decide when to compact its own trace. The method pairs a compaction tool with inference-time decisions, preserving partial results and avoiding stale context that outgrows the window. This improves long‑form agent reasoning and tool‑call efficiency for developers.

Apple ML Research·Oct 12, 2026

Opening Kapyn…