CalibratedDecisions.

Repo · Context & memory

jev-compaction

Context compaction library (jevctx) where Jev only scores—never rewrites—so retained lines stay original, elided text is recoverable byte-for-byte,…

Open github.com ↗

From the repository

A context compactor that can only score, never write — so an agent's memory can't hold a fact the transcript never contained. Working demo, runs offline.

agent-memoryai-agentscontext-compactioncontext-managementjevllmprompt-caching

How builders describe it

A context compactor that can only score, never write — so an agent's memory can't hold a fact the transcript never contained. Working demo, runs offline.
Context compaction library (jevctx) where Jev only scores—never rewrites—so retained lines stay original, elided text is recoverable byte-for-byte, and prompt-cache prefixes can survive. Distinct from fast-jev-compaction / jev-compact / omp variants.
Context manager where Jev scores tool output into keep, pointer, or quarantine classes while kept lines stay verbatim and anything moved out can be expanded back byte for byte.

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 →

Related projects