pi-jev-context-curator
A Jev based context curator for pi
How it uses Jev
A pi extension that curates the context sent to the LLM before each call — using TypeSafe AI's Jev model to decide which context is actually needed.
Highlights
- Groups messages into units — an assistant tool-call message plus its tool results stay together as one atomic unit, so curation never orphans a tool result.
- Checks each unit against the judgment checkpoint : every unit Jev has already judged is recorded by content fingerprint, so past decisions are reused and the same data is never se…
- Sends only the new units (those after the checkpoint) to Jev's /v1/systemone endpoint. One primary yes/no ( noul ) question decides keep/remove, alongside two native choice questi…
- Units Jev rejects are omitted from the current model context and that decision is re-applied on subsequent context events (pi itself only lets extensions transform the per-call pa…
- Every newly removed unit is also written as a durable, session-scoped pi entry. It appears as a collapsed [jev removed] record and can be expanded to inspect the removed text. The…
Source: community catalog. Details and metrics reflect the published community snapshot and are not a performance endorsement. Documentation details extracted from GitHub · the README.