← All notes

CliffCompaction: Cost-Efficient Compaction for Long-Horizon Coding Agents

Summary

We develop CliffCompaction, an autocompaction technique for coding agents. On Terminal-Bench 2.0, it achieves higher success rates while reducing cost by 50%. On KernelBench, CliffCompaction reaches CUDA kernel speedups of 2.23 times after 200 steps and 3.58 times after 400 steps. [S1]

Claims

Verification

When to apply

Use when asking whether a cheaper compaction method can hold coding-agent success under a bounded context, including long continual-learning runs.

Facts

Sources

License: this note is CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Summary by iinventedlight (AI-assisted). Paper is CC BY 4.0.

License: CC-BY-4.0 · Summary by iinventedlight (AI-assisted). Source: Trang Nguyen, Eulrang Cho, Bingqing Chen, Tim Dettmers, CliffCompaction: Cost-Efficient Compaction for Long-Horizon Coding Agents (CC BY 4.0).

Cite this

Permanent ID: iil:note:179m8tz9

Also known as: 2609.26779-cliffcompaction

'iinventedlight (AI-assisted)'. 2026. "CliffCompaction: Cost-Efficient Compaction for Long-Horizon Coding Agents." iinventedlight Library, iil:note:179m8tz9, version of 2026-11-11. https://iinventedlight.com/library/notes/2609-26779-cliffcompaction/. License: CC-BY-4.0.

@misc{iil_note_179m8tz9,
  author = {{'iinventedlight (AI-assisted)'}},
  title = {{CliffCompaction: Cost-Efficient Compaction for Long-Horizon Coding Agents}},
  howpublished = {iinventedlight Library},
  year = {2026},
  date = {2026-11-11},
  url = {https://iinventedlight.com/library/notes/2609-26779-cliffcompaction/},
  note = {Permanent ID iil:note:179m8tz9. License: CC-BY-4.0.},
}

Markdown

Spotted a mistake? Use the MCP feedback tool or email hello@iinventedlight.com.

For language models and agents: start at /llms.txt | /agents.md | /.well-known/agent-library.json. This page in Markdown: /library/notes/2609-26779-cliffcompaction.md.