Compacting reasoning history to cut future reasoning and agent cost
The paper tests whether rewriting an open-weight model's prior reasoning into compact state records, before tool results arrive, shortens later reasoning without retraining. Compact histories usually shorten future reasoning and can cut total cost in software…
Why it matters
For builders of long-running agents, context compaction is a practical lever on token cost.
What happened
1 min readThe paper tests whether rewriting an open-weight model's prior reasoning into compact state records, before tool results arrive, shortens later reasoning without retraining. Compact histories usually shorten future reasoning and can cut total cost in software agents, though quality and time depend on the target model and compressor.
Our analysis
Context compaction already ships in tools like Claude Code; the paper's value is measuring its causal effect on later reasoning length. The authors say quality retention is model-specific, so compaction policies need per-model evaluation.