Jev in production › Agent context and memory
Pi Coder extension that groups conversation history into turns and asks Jev which ones the latest request needs, dropping the rest from the next call while saved history stays intact. As much as 75% or more context tokens saved (author).
Give the next model call the context it needs. Keep the history for later.
Pi-Saver is a dynamic context-filtering extension for Pi Coder that intercepts conversation context before each inference. By using Jev by TypeSafe to instantly evaluate and exclude information in the context history that isn't relevant to your current request, Pi-Saver can save as much as 75% or more on context tokens while keeping your complete session history intact.
It groups history into complete turns, runs those chunks through Jev, and judges what is necessary for the latest user prompt—and what can safely be discarded for this specific call.
For the project's own README, linking back here: