Skip to content

Jev directory

Pi Jev — y0usaf

A Pi coding-agent extension with Jev as a decision layer: a gate judges bash, write, and edit calls before they run, and an output judge flags leaked secrets and classifies failures.
Stars
165
Language
TypeScript
License
MIT
Reading time
3 min
Published by
Community
Author
y0usaf
Last verified
Sep 2026

About this project

TypeSafe Jev as a decision layer for the Pi coding agent. Jev answers typed questions about a piece of state. Ask whether something is true and you get a probability. Ask it to pick from a list and you get the option plus a distribution over the alternatives. It does not write prose, so nothing here parses sentences. The answers arrive as numbers your code branches on.

Quoted from the project's README. Read the full README.

Highlights

  • Gate thresholds: destructive 0.90, exfiltration 0.70, beyond_scope 0.85, and impact score 2.50.
  • All four gate judgments ship in one request of roughly 300 ms.
  • The output judge checks for leaked secrets and classifies failures into six classes.
  • Identical input is cached for 120 seconds by default, and shadow mode is the default.

Watch out

The gate defaults to shadow mode and every error path fails open, so enable enforcement deliberately.

Questions about this entry

Short answers drawn from the linked project or page.

Reactions & coverage

Posts, threads, and videos about this entry from around the web.

X: Decision outputs in Grep

Hacker News: jevmem keeps Claude Code project memory by asking Jev which turns are worth saving.

avinashjetwani61 pointsJevmem – automatic project memory for Claude Code, built on JevRead the thread on Hacker News

X: A usage router for Grok Bot

X: The compaction plugin, in Chinese

Other listings of this project

Forks and copies of this project in the directory. This entry is the canonical one.

14GitHub stars
Pi extension that pairs a local coding model with hosted Jev judgments for skill hints, file retrieval, and evidence ranking, with caching and failure bounds on every call.
Jev Agents & MCP#community#jevbest#catalog-import
10GitHub stars
Two pi extensions driven by Jev judgments: one replaces summary-based context compaction with keep, drop and shorten calls, the other scores each prompt for difficulty and switches pi's model before the turn runs.
Jev Agents & MCP#community#jevbest#catalog-import

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