jevbooks

← All projects

pi-typesafe-router

jekozyra/pi-typesafe-router

Typed Jev decisions route Pi coding-agent requests to the right model.

Classification & Routing100%Runner-up: Verification & Guardrails

What it is

A Pi extension for coding agents that classifies incoming requests with Jev and routes each one to a configured provider/model. It ships config examples for TypeSafe, Cloudflare, Vercel, and OpenRouter, and is meant to be the only automatic router enabled.

How it uses Jev

The README says Jev classifies requests, but does not specify which typed questions are asked, what state is projected, or how the returned probabilities drive the routing policy in code. It only notes that src/classifier.ts holds transport adapters and response validation, and src/routing.ts holds the deterministic policy.

Technique worth stealing

Bounded text projection plus a deterministic routing policy kept separate from the Jev transport adapter.

Try it

pi install npm:pi-typesafe-router, then /typesafe-router setup typesafe, /typesafe-router doctor, /typesafe-router on

View on GitHub

judged by Jevjev-1.13.0

Evidence

Each line is one question put to Jev about the README. ≥ 0.60 reads as yes, ≤ 0.40 as no; in between Jev is not making a call.

  • Jev-centricunclear0.42
  • Shows a System One patternno0.35
  • Handles uncertaintyno0.06
  • Measuredno0.04
  • Runnableyes0.98
  • Worth recommendingno0.23
  • Model replicano0.04
  • Problem scopescore on a 0–2 scale1.03
  • About Jevyes0.97

Signals by Jev jev-1.13.0, card written by DeepSeek V4.1 Flash from the README on 20 Sept 2026.