'Compaction amnesia': how context compression quietly erases agent memory in long sessions

malliktwts · x · 2026-11-11

The author shares a newly coined term, "compaction amnesia": when AI agents in long multi-turn sessions compress their context to fit the window, the summarization discards earlier details, causing the model to forget already-established information — repeatedly asking the same questions or losing task state. It's a common pain point in coding agents and long-term memory system design.

Original post →

More from coding & agent

coding & agent channel →