Guide · Context & memory
The case against Jev compaction
Theo on why per-tool-call filtering is not compaction: lost reasoning, higher cache-write costs and agents stuck in loops.
Open x.com ↗This is a terrible compaction strategy that fundamentally doesn't understand how compaction and context management work.
Seems like a lot of people are confused so let's break this down.
1. Compaction isn't a filter
The role of compaction is to clean up history to keep the
How builders describe it
A widely read counterpoint to Jev-based context compaction: compaction is reconstruction, not filtering, and scoring tool calls to drop history misunderstands context management.
The decision Jev makes
Keep or discard a tool result, or answer whether a stopping condition is met.
Where it fits
Agents drown in their own context. These projects use Jev to decide what to keep, what to drop and when a loop is actually finished. All 117 context & memory projects →