Get the daily emailDaily email
  1. Home
  2. Research
  3. This story

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…

Published Read the original
Compacting reasoning history to cut future reasoning and agent cost

Why it matters

For builders of long-running agents, context compaction is a practical lever on token cost.

What happened

1 min read

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 agents, though quality and time depend on the target model and compressor.

inscraper analysis

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.

More in Research