Skip to content

Jev directory

Pi Jev Auto Mode

Jev-backed auto mode for the Pi coding agent: semantically approves bash, write, and edit tool calls, and fails closed whenever a decision cannot be made.
Stars
32
Language
TypeScript
License
MIT
Reading time
3 min
Published by
Community
Last verified
Sep 2026

About this project

Auto mode for the Pi coding agent backed by Jev (TypeSafe System One, a decision-only model). Pi has no built-in permission system, so a gate either exists as an extension or it does not exist at all. This one judges bash, write, and edit tool calls semantically and fails closed whenever a decision cannot be made. The gate has two layers, in this order: Deterministic policy — hard-deny commands, your allow/deny patterns, dangerous-command detection, protected paths. Hard-deny is never handed to the semantic layer.

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

Highlights

  • Two layers: deterministic hard-deny and pattern rules run first, and only escalated calls reach Jev.
  • gateScope defaults to all, judging everything the fast paths do not vouch for; matched restores pattern-only behavior.
  • A judged call costs roughly half a second — measured 193-642 ms across eleven ordinary commands.
  • Thresholds are two-sided (0.5 < t <= 1), and the middle band blocks by default; uncertain deny|ask|allow changes that.
  • It sends command text and target paths but never file contents or diffs, and redacts credentials on the way out.

Quickstart

bash
pi install npm:pi-jev-auto-mode
pi -e npm:pi-jev-auto-mode          # try without installing
pi --jev-auto-mode                  # start with auto mode enabled

Watch out

Thresholds are calibrated on just twelve fixtures and meant as a starting point, and Jev accounts may be waitlisted, though the deterministic layer still runs without a key.

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

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