Product feature · models-context
Automatic context compactionCommon product term
Continue long sessions by automatically summarizing or pruning older context.
Terminology basis: Common product term. Anthropic — Manage Claude Code costs
Automatic context compaction: 5 supported, 0 partial, 0 unsupported, 26 unreviewed across 31 cataloged products.
Current evidence by product
Can my agent use Automatic context compaction?
Read across for the answer. 5 of 31 current product columns have reviewed evidence; unreviewed does not mean unsupported.
Web
9 productsDesktop
13 productsCLI
9 productsDefinition and scope
What this capability means
This row requires a documented mechanism that summarizes, prunes, or otherwise reduces earlier context so work can continue. Silent truncation without a continuity mechanism is not compaction.
Evidence should record the trigger, whether the operator is warned, what state is preserved, whether instructions and tool results are treated specially, and whether the compacted summary is inspectable. Reliability tests should probe commitments, file paths, pending tasks, citations, approvals, and negative constraints across the boundary.
Traceable compatibility
Assertion ledger
Documentation evidence only. No runtime conformance test is implied.
- Target
- current Claude Code documentation · dated-documentation
- Environment
- local-default
- Observed
- 2026-08-28
- runtimeauto-compaction summarizes history when approaching context limits; retained-state reliability still requires boundary testing
- Anthropic — Manage Claude Code costsdocumented · reviewed 2026-08-28
- Target
- current Gemini CLI documentation · dated-documentation
- Environment
- local-default
- Observed
- 2026-08-28
- runtimethe core automatically compresses chat history near the model limit; model.compressionThreshold controls the trigger and defaults to 0.5
- Google — Gemini CLI coredocumented · reviewed 2026-08-28
- Google — Gemini CLI settingsdocumented · reviewed 2026-08-28
- Target
- current GitHub Copilot CLI context-management documentation · dated-documentation
- Environment
- local-default
- Observed
- 2026-08-28
- runtimebackground compaction begins at approximately 80% of the selected model's context window and the run can pause near 95% until compaction finishes
- GitHub — Managing context in Copilot CLIdocumented · reviewed 2026-08-28
- Target
- current VS Code agent-session documentation · dated-documentation
- Environment
- local-default
- Observed
- 2026-08-28
- policyautomatic compaction occurs when context fills and can be disabled with github.copilot.chat.summarizeAgentConversationHistory.enabled
- Microsoft — Manage agent sessions in VS Codedocumented · reviewed 2026-08-28
- Target
- current Cursor chat-summarization documentation · dated-documentation
- Environment
- local-default
- Observed
- 2026-08-28
- runtimeCursor summarizes older messages as chats exceed the model context window and separately condenses oversized files and folders
- Cursor — Summarizationdocumented · reviewed 2026-08-28
- 1. Evidence checked 2026-08-28: Claude Code documents auto-compaction that summarizes conversation history as context limits approach.
- 2. Evidence checked 2026-08-28: Gemini CLI documents automatic chat-history compression near the configured model's limit and exposes a configurable compression threshold.
- 3. Evidence checked 2026-08-28: GitHub Copilot CLI documents automatic background compaction beginning at roughly 80% context usage and waiting for completion if usage reaches roughly 95%.
- 4. Evidence checked 2026-08-28: VS Code documents automatic conversation-history compaction when the context window fills.
- 5. Evidence checked 2026-08-28: Cursor documents automatic summarization of older messages when a conversation exceeds the selected model's context window.
No sourced issues are attached to this row.
- Methodology note
- Anthropic — Manage Claude Code costs documented · Anthropic · reviewed 2026-08-28
- Google — Gemini CLI core documented · Google · reviewed 2026-08-28
- Google — Gemini CLI settings documented · Google · reviewed 2026-08-28
- GitHub — Managing context in Copilot CLI documented · GitHub · reviewed 2026-08-28
- Microsoft — Manage agent sessions in VS Code documented · Microsoft · reviewed 2026-08-28
- Cursor — Summarization documented · Cursor · reviewed 2026-08-28
Found a wrong or incomplete result?
Name the exact product, describe what happened, add the date, and link public evidence when available. A community report starts a review. It does not change the support state by itself.