Context compression and compaction

Aa Appearance
Text size
Reading width
Contents

Context compression reduces the space taken by prior messages or retrieved material while retaining information useful to the current task.[1][2][3][4]

Anthropic documents context compaction for long-running agents

Anthropic described summarizing an ongoing interaction as its context window fills, then carrying that summary into a fresh window. Its guide also covered external notes and focused subagents.[1][4]

Timeline

Documented milestones by year
20231
20252
  1. LongLLMLingua compresses and reorders long prompt context[2]

    The researchers targeted information relevant to the question while reducing input length and evaluating sensitivity to the position of the evidence.

    Chronoscope
  2. OpenCode adds compaction for long sessions[3]

    The early terminal agent added automatic session summarization and language-server discovery.

    Chronoscope
  3. Anthropic documents context compaction for long-running agents[4]

    Anthropic described summarizing an ongoing interaction as its context window fills, then carrying that summary into a fresh window.

    Chronoscope

Connections

Covered in

View connections on the graph
Graph neighborhood · Open full Graph Explorer
AI EngineeringContext selectionLong-context failure…AnthropicOpenCodeReranking search res…Context compression an…

References

  1. ↑Context compression and compaction in Chronoscope chronoscope.hopperlabs.ai
  2. ↑LongLLMLingua compresses and reorders long prompt context arxiv.org
  3. ↑OpenCode adds compaction for long sessions github.com
  4. ↑Anthropic documents context compaction for long-running agents www.anthropic.com
Revision history
  • 2026-11-25 Publish the illustrated encyclopedia and connect verified public subject catalogs 405c0d310 · View changes
Time view Latest revision

Event dates describe the subject. The knowledge cutoff controls which editorial revisions you can see.