Agent self-compaction cuts task tokens 37%: dev shares hands-on results
MooncastOnline · x · 2026-11-27
Developer MooncastOnline shares a hands-on take on agent context compaction:
- Most agent-driven compaction systems fail because models aren't trained on the tools: optional tools get ignored, mandatory ones become mechanical decisions.
- Every tool interaction burns output tokens re-processing input while losing information instead of solving the problem — so he stopped fighting it.
- His alternative: let agents manage their own memory dynamically. On the first try, an agent compacted noisy logs mid-task (−37% tokens), discarded them before fixing the bug, and pulled the compacted logs back for the full report.
Repliers note labs will eventually RL-train models on such harnesses, and that current models (e.g. 5.6-sol) can already do this reasonably well from prompting alone.
Related event: Agent Self-Compaction Cuts 37% Tokens Mid-Task(2 posts)→