Skip to content

Jev directory

Pi Warden

Pi extension that supervises a coding agent with Jev judgments: it holds risky tool calls, checks writes against project Markdown rules, and feeds most issues back to the agent as a steer instead of interrupting you. The conscience is beta and off by default.
Stars
170
Language
TypeScript
License
MIT
Reading time
3 min
Published by
Community
Author
DevMortimer
Last verified
Sep 2026

DevMortimer/pi-warden

User repository on GitHub

View on GitHub

Guardrails for Pi that steer instead of interrupt: enforces your project rules on every write, holds only hard-to-undo actions (3 per 1,000 calls, measured on real sessions), catches unverified "done" claims and stuck loops, and trims tool output. Built on pi-typesafe.

Forks
31
Last pushed
Updated Oct 2026

Repo stats from the GitHub API, cached Oct 2026.

About this project

Your coding agent says "done". It didn't run the tests. pi-warden catches it, and the agent fixes it without you. 1,168 sessions · 419 risky actions stopped before they ran · 76% of fake "done"s turned into real test runs. Sixteen days of the maintainer's real use across all their projects, not just this one, 2026-09-16 to 2026-10-01. Method and noise: field report. Then /warden enable (paste a TypeSafe key) and /warden init (writes a starter pi-warden.md). That's it. No key? The offline guards still run.

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

Highlights

  • Watches bash, write, and edit calls and holds irreversible actions before they run.
  • The rules guard judges writes against project Markdown rules and quotes the broken rule.
  • In 150 paired agent runs the control violated the tested rule 6 times; with Warden, 0.
  • Across 18,075 guarded calls the action hold fired 48 times, or 3 holds per 1,000 calls.
  • Runs offline without a key with pattern, runaway, sensitive-path, and credential guards.

Quickstart

bash
pi install npm:pi-warden
# then run /warden enable and /warden init inside Pi

Watch out

MIT-licensed. Needs Pi 0.85+ and Node 22.19+; judgments need a TypeSafe or OpenRouter key, the conscience is beta and off by default, and the action guard is calibrated on one user's 17k calls while other guards use synthetic cases.

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: Vercel's fx safety reviewer, measured at 18× faster

Reddit: Early experiments wiring Jev into Pi as a safety layer and model router.

X: Decision outputs in Grep

YouTube: Kubernetes admission control with a decision model, fail-closed.

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