Skip to content

Jev directory

Jev Router — gargpratyush

Wrappers for Claude Code and OpenAI Codex that ask Jev to choose a model tier for each fresh user turn while preserving each CLI's native interface, tools, sessions, permissions, and authentication. Ships as the jev-claude and jev-codex commands.
Stars
602
Language
JavaScript
License
MIT
Reading time
3 min
Published by
Community
Author
gargpratyush
Last verified
Sep 2026

gargpratyush/jev-router

User repository on GitHub

View on GitHub

Route to the cheapest model in claude code for your task using jev-router

Forks
91
Last pushed
Updated Sep 2026

Repo stats from the GitHub API, cached Oct 2026.

About this project

Automatic per-turn model routing for Claude Code and OpenAI Codex. Jev sends simple work to the fast tier and difficult work to the strong tier, while preserving each CLI's native interface, tools, sessions, permissions, and authentication. Both commands launch the real upstream CLI. Jev only chooses the model for a fresh user turn. Requires Node.js 20.12+ and at least one supported CLI: Claude Code or OpenAI Codex. Get a key from TypeSafe. Then launch either interface from any repository:

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

Highlights

  • Both commands launch the real upstream CLI; Jev only chooses the model for a fresh user turn.
  • No Anthropic or OpenAI API key is required when the CLI is already logged in with a subscription.
  • Shows the last turn's model in the status line, for example haiku p=0.98 with 8% context.
  • Bundles a /jev-explain skill that renders the factors behind the last routing decision.
  • Keeps up to 20 recent routing exchanges per session in mode-700 temp files, deleted after 7 days.

Quickstart

bash
npm install -g jev-router
echo "JEV_API_KEY=YOUR_API_KEY" > ~/.jev-router.env
jev-claude   # or jev-codex

Watch out

MIT-licensed. Needs Node.js 20.12+ and a logged-in Claude Code or Codex CLI plus a JEV_API_KEY; prompt text is sent to TypeSafe, and documented compatibility testing is on Windows with specific CLI versions.

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

Other listings of this project

Forks and copies of this project in the directory. This entry is the canonical one.

17GitHub stars
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.
Jev Tools & CLIs#community#javascript#routing
17GitHub stars
Local pass-through proxy that asks Jev which tier each human turn needs — fast, balanced, frontier, or max — then forwards Claude Code and Codex CLI traffic to that model while streaming responses back unchanged.
Jev Agents & MCP#community#github
14GitHub stars
An OpenAI-compatible LiteLLM proxy where clients send one model id and Jev picks which configured model serves each request, with capability filtering and a cheapest-eligible fallback.
Jev Tools & CLIs#community#python#routing
10GitHub stars
Node router that sends each query to the cheapest capable LLM tier by asking Jev to classify demand against your tier descriptions, with no LLM call spent on routing.
Jev Agents & MCP#community#jevbest#catalog-import
7GitHub stars
Launchers for Claude Code, Codex, Grok CLI, and opencode that ask Jev which model-and-effort tier each human turn needs, rewriting only the model field while the real CLI runs unchanged.
Jev Agents & MCP#community#javascript#routing
3GitHub stars
A Claude Code plugin that picks Haiku, Sonnet or Opus and a reasoning effort for every prompt, step and subagent, with an effort cap, a prompt-cache guard and a status band; the repo is named jev-router and tagged typesafe.
Jev Integrations & Adapters#community#github#typescript
2GitHub stars
A Python CLI that asks Jev which of four coding agents should take a task, optionally waits for your approval, then opens that app or its website and pastes the prompt in.
Jev Agents & MCP#community#awesomejev#catalog-import
1GitHub stars
Zero-dependency Node ticket router that answers routing, priority, urgency, auto-reply, sentiment, and complexity for each ticket in one parallel Jev call.
Jev Integrations & Adapters#community#github
1GitHub stars
A Claude Code and Codex skill with a CLI that answers narrow agent judgments - is this file relevant, which team owns this request, how severe is this - with Jev's calibrated probabilities instead of another LLM call. Zero dependencies, MIT.
Jev Agents & MCP#community#catalog-import#madewithjev
0GitHub stars
System One routing for coding agents where Jev decides and the LLM generates: an OpenCode v2 plugin, Cursor hooks and a skill cover turn steering, tool-call redirects, permission gating, failure advice, subagent routing, code review and on-demand jev_ask decisions.
Jev Integrations & Adapters#community#github#opencode

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