1/4
Prompts & AI use
Context Compaction
A technique for running AI agents that summarizes a conversation as it approaches the context window limit, then uses the summary to continue work in a fresh context.
CARD NEWS · Prompts & AI use
Four cards for social posts, teaching materials and presentations. Capture the screen or print to a PDF.
A technique for running AI agents that summarizes a conversation as it approaches the context window limit, then uses the summary to continue work in a fresh context.
AI has a limit on how much of a conversation it can hold at once. During long tasks you approach this limit, and if nothing is done, earlier content gets cut off or answer quality drops.
Case 1: Anthropic — Automatic compaction in Claude Code In its context engineering guide published on September 29, 2025, Anthropic defined compaction as summarizing a conversation nearing the limit and starting a new…
Capture these cards or print them to a PDF.