[KongchangAI]
Concept上下文压缩

context compaction

A mechanism in an agent runtime framework that, when the conversation approaches the model's maximum context window, automatically summarizes or discards earlier messages to free up space. Different harnesses use different trigger thresholds and strategies.

Timeline (last 90 days)

Nov 10

Context compression may lose fine-grained original content (such as the complete output of a certain command, exact line numbers or variable names), and tasks that rely on early details for subsequent reasoning may be affected.

Unverified50%
Oct 12

Tool outputs are repeatedly read and repeatedly billed in every subsequent round of conversation until the context is compressed.

Unverified50%
Oct 10

Summarization middleware is commonly used to compress long conversation histories or large documents in order to fit content within a model's limited context window.

Unverified70%
Oct 5

The fundamental flaw of summarization compression is that summaries are written before knowing which information is important, potentially losing information that later becomes critical.

Unverified50%
Oct 4

This process of context summarization and compression is called context compaction in Claude's Agent mode.

Unverified50%

All Facts (5)

Source Articles