Context compaction

A technique where an AI model summarizes its own conversation context to extend effective session length.

Context compaction is a feature that allows AI models to summarize their accumulated context mid-task, creating a compressed representation of the conversation history. This lets the model continue working on long tasks without hitting token limits, effectively extending the useful length of agentic sessions beyond what the raw context window would allow.

Also known as

context summarization, compaction