Skip to content

Jev directory

Jev Router — mejiasd3v

A Pi plugin that has Jev pick one model and one reasoning-effort level from a configured list at the start of a session, then keeps both pinned for the rest of it.
Stars
17
Language
JavaScript
License
MIT
Reading time
4 min
Published by
Community
Author
mejiasd3v
Last verified
Sep 2026

mejiasd3v/pi-jev-router

User repository on GitHub

View on GitHub

Automatic model routing for Pi using TypeSafe's Jev through Vercel AI Gateway

Forks
1
Last pushed
Updated Sep 2026

Repo stats from the GitHub API, cached Oct 2026.

This is one of several Jev listings for the same project. The canonical entry is Jev Router — gargpratyush.

About this project

Jev Router Choose once. Stay pinned. Let TypeSafe's Jev choose a model and reasoning effort for Pi. The model stays fixed for the session. Effort stays fixed too, unless you enable adaptive effort for Codex Astra. Generation uses your existing Pi providers and credentials. Requires Pi 0.85.1+, Node.js 22.19+, and a Vercel AI Gateway key. Git also works: pi install git:github.com/mejiasd3v/pi-jev-router. Keep only one installation.

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

Highlights

  • Requires Pi 0.85.1 or newer, Node.js 22.19 or newer, and a Vercel AI Gateway key; installs with pi install npm:pi-jev-router.
  • Model and effort are chosen in one evaluation: task fit picks the model first, then Jev selects the lowest sufficient allowed effort within it.
  • Only listed, authenticated models are eligible and the fallback must be listed too; routes replace the default list rather than merging.
  • The model stays pinned for the session; adaptive effort for Codex Astra is opt-in and uses append-only configuration_update items.
  • Routing reads up to eight recent messages within 192,000 UTF-8 bytes; oversized tasks use the fallback instead of a partial task.

Quickstart

json
{
  "jevRouter": {
    "options": {
      "openai-codex/gpt-5.6-luna": {
        "description": "Small fixes, tests, and routine implementation.",
        "thinking": "auto"
      }
    },
    "fallback": "openai-codex/gpt-6-astra",
    "timeoutMs": 5000
  }
}

Watch out

MIT-licensed. Needs Pi 0.85.1+, Node 22.19+, and a Vercel AI Gateway key; selected conversation text is sent unredacted to Vercel/TypeSafe and evaluations are billed separately.

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.

Facebook: Intake Router keeps diagnosis out of the answer space at the front desk.

FacebookClinicnotes

X: OpenRouter Decision Model Rankings

X: herdr + jev, an agent router

X: A group chat bot with decision room routing

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