Overview & Result
pi-warden provides guardrails for AI agents that steer rather than interrupt. Operating on the Pi framework, it checks every file modification against project conventions, blocks destructive or hard-to-undo actions (measured at only ~3 per 1,000 calls in real sessions), catches stuck retry loops, and prevents unverified completion claims.
How Jev fits in the loop
- Monitors tool invocation requests before execution in the Pi agent harness.
- Jev evaluates proposed tool actions against safety policies and recent execution history.
- Permits benign actions automatically while holding high-risk commands for confirmation.
How to reproduce
- Clone https://github.com/DevMortimer/pi-warden and link into your Pi project.
- Configure project guardrail rules in your repository root.
- Run agent workflows and observe pi-warden intercepting destructive edits and infinite retry loops.
Why this build matters
Provides high-confidence agent security and prevents repetitive loops without slowing down standard benign tool calls.
Limitations
- Designed specifically for agents built on the Pi framework.
- Interrupts only actions flagged as hard to undo.