AI Glossary

Context compaction

What does “Context compaction” mean?

Context compaction: Reducing conversation or task history while preserving the information needed for later steps.

Context compaction visual guide: Reducing conversation or task history while preserving the information needed for later steps.
Visual guide Open full size (new tab)

What is an example of “Context compaction”?

A coding agent summarizes completed edits and pending tests before continuing.