Skip to content

Jev directory

Pi · Jev Compaction

Decision-driven, extractive context compaction for the Pi coding agent: Jev judges complete read-only tool pairs and ordinary code removes the ones it rates unnecessary, keeping retained records in a JSON-lines transcript packet instead of a generated summary.
Stars
1
Language
TypeScript
License
MIT
Reading time
2 min
Published by
Community
Author
wang-auspicious
Last verified
Oct 2026

Highlights

  • Only uniquely paired, successful read, grep, find and ls calls outside the protected recent span are candidates; each must fit within 8,000 UTF-8 bytes.
  • Each noul question carries the complete candidate call and result, not an ID or an output length; shared state includes the latest three user instructions.
  • A probability below 0.35 removes the call and its result together; higher values retain both, and there is no output truncation.
  • Requires Node.js 22.19+ and Pi 0.84.2, the version actually validated; the release tarball is a self-contained install and no npm publication is required.
  • Inspired by tamaratran/fast-jev-compaction, with a Pi-specific lifecycle adapter and a conservative selection policy.

Quickstart

bash
pi install git:github.com/Wang-auspicious/[email protected]
export TYPESAFE_API_KEY="your-typesafe-key"
pi

Watch out

Copy reviewed against the repo README on 2026-10-15; the README is truncated mid-sentence in the digest and points to docs/verification.md rather than publishing benchmarks inline. It states that older Pi versions and the former @mariozechner package namespace are not claimed as supported.

Questions about this entry

Short answers drawn from the linked project or page.

From the Jev guides

Original write-ups on what this entry is for.

From the Jev AI model community

Posts from builders shipping with Jev right now.

Follow @typesafeai