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 with one yes/no ( noul ) question per unit : "Is this unit likely essential to completing a f…
- Units Jev rejects are permanently discarded from what the model sees — the removal is re-applied on every subsequent context event (pi itself only lets extensions transform the pe…
- Every newly removed unit is also written as a durable, session-scoped pi entry. It appears in the transcript as a collapsed [jev removed] record and can be expanded to inspect the…
- Language
- TypeScript 100%
- License
- MIT
- Latest release
- v1.1.0 — Session Removed Context
- Last activity
- Sep 2026
- Added
- 2026-09-21
- Stars at snapshot
- 5
- Status
- Community listing
Source: community catalog. Details and metrics reflect the published community snapshot and are not a performance endorsement. Documentation details extracted from GitHub · the README.