Jev scores tool calls KEEP/DROP to cut coding agent context 156k→62k — but deletes can backfire

Moretti_a · reddit · 2026-09-18

Coding agents die from 150k-token histories of Read/Bash/Edit/retry noise. Instead of lossy self-summarization, a new approach uses TypeSafe's Jev to score each tool call KEEP/DROP, keeping user/assistant text verbatim — demo shrinks context from 156k to 62k in seconds (repo: tamaratran/fast-jev-compaction). Caveats: dropping failed attempts can cause retry loops; mid-history deletes blow the KV cache and may cost more than the noise; and chopping hidden reasoning traces can make Claude Code dumber, not cheaper. It's a fast classifier over history, not a compressor.

Original post →

More from coding & agent

coding & agent channel →