Skip to content
JevDirectory.org
Tools & Integrations#routing#models#coding-agent#gateway

Routing Models, Tools, and Skills with Jev

Every coding agent ships more than one model, and picking between them is a narrow decision. How the routers hand model choice, tool activation, and gateway policy to Jev without breaking the harness.

Every coding agent now ships more than one model, and picking between them is a decision — narrow, repeatable, and exactly the kind of question a language model should not be spending reasoning tokens on. A new cluster of tools hands that choice to Jev.

Route the model, keep the harness

jev-router wraps Claude Code and Codex without replacing them: both commands launch the real upstream CLI, and 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, and the status line shows the decision it made, for example haiku p=0.98 with 8% context. A bundled /jev-explain skill renders the factors behind the last routing decision, which is what makes the router debuggable.

jev-codex-router takes the same idea into Codex with four Choice questions in one request: mandatory policy, capability tier, thinking depth, and a route lease. It relays the native Responses stream verbatim, so tool calls, reasoning, and compaction behave natively, and it logs every routed turn locally for later calibration. Two defaults are worth knowing: it fails open on any Jev error, and a sentinel-file kill switch routes without Jev instantly.

Route at the gateway

The other half of this category sits between an OpenAI-compatible client and many providers. jev-router (prismhq) points any client at a proxy with the model name jev-router, filters candidates on vision, output length, and tool support before any decision is made, and reports the serving model in the response. Transport is LiteLLM, so it routes across OpenRouter or anything LiteLLM supports, and without an API key a rules-based decider picks the cheapest eligible model.

JevRouter separates the decision from the policy around it: Jev owns the probabilities, while JevRouter owns availability, permissions, risk, and confirmation, and filtered candidates are never re-normalized. On ten Toolathlon tasks predicting the first five tool calls, its serial strategy hit 38% of positions against 24% for DeepSeek V4.1 Flash at 1.58 s per task, and a decompose-plus-thread strategy reached 44% hits on MCP-Atlas.

Route tools and skills, not just models

The same judgment applies inside a single turn. pi-jev activates only the tools and skills a prompt needs instead of loading everything, with one shared threshold of 0.65 across the router, tools, skills, and auto mode, plus a gate CLI that exits 0, 1, or 2 so CI can branch on the verdict. Jevonian narrows it further: only the jevonian/auto alias consults Jev, and it errors instead of guessing when no brain is configured or every configured brain is unreachable.

Design notes

  • Keep the harness native. Route the model, then hand the stream back untouched.
  • Show the decision. A status line and an explain command turn routing from magic into something you can tune.
  • Decide the failure mode deliberately: fail open when routing is an optimization, fail closed when it is a gate.
  • Log every routed turn. Thresholds should come from your own traffic, not the README.

The tools category collects the rest, including per-turn routers, gateways, and tool selectors.

From the directory

The resources behind this article.

326GitHub stars
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.
Tools & Integrations#community#javascript#claude-code
Communityjev-router
207GitHub stars
Local Codex Router extension that asks Jev for a model tier and thinking depth on each model call, including continuations after tools, then relays the native Responses request verbatim. Fails open on Jev errors and logs decisions locally.
Tools & Integrations#community#javascript#codex
8GitHub 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.
Tools & Integrations#community#python#routing
Communityjev-router
161GitHub stars
A router that turns models, subagents, skills, MCP tools, CLIs, and plugins into one candidate set Jev answers with a single typed Choice, while the router code owns availability, permissions, and confirmation.
Tools & Integrations#community#typescript#routing
CommunityJevRouter
A Pi coding-agent extension that routes tools and skills with Jev: one pass activates only what a prompt needs, with opt-in model selection, tool-call guards, and compaction.
Tools & Integrations#community#typescript#coding-agent
Communitypi-jev
1GitHub stars
An experimental local proxy for coding agents that sends jevonian/auto turns to Jev to pick a model and thinking level after deterministic compatibility and quota filters, while explicit routes skip Jev.
Tools & Integrations#community#typescript#routing
Communityjevonian
Back to all articles

More articles

TypeSafe publishes evals, but the numbers that matter are the ones measured on your task. A tour of the independent benchmarks, field reports, and the recurring finding that question design dominates.
Practices & Patterns#benchmarks#evaluation#calibration
Read article
Closed weights have not stopped the ecosystem from rebuilding the shape in the open. API-compatible servers, retrained heads on small models, and inference-time tricks that skip generation entirely.
Repos & SDKs#open-models#research#local
Read article

From the community

Posts from builders shipping with Jev right now.

Follow @typesafeai

Browser Use Ultrafast, powered by Jev

A really smart switch statement

hype-free explanation of jev: jev does not replace gpt / claude jev is just a *really* smart switch statement like if 2016 ml classifiers got 2026 levels of intelligence it's a new* type of tool that will make a lot of workloads insanely fast, cheap, and accurate * = and by Show more

Diogo Almeida
Diogo Almeida
TypeSafe AI
@CompleteSkeptic

After co-inventing ChatGPT, I kept asking myself: why have superhuman chat models not led to AGI? I’ve spent the last 2 years in stealth building a new way to train models (RLCD), and a new type of frontier AI model that we are releasing today: Jev • 20-200x faster • 40-400x

Reply

When a designer gets Jev

Full Jev video tutorial

The case against Jev-scored compaction

This is a terrible compaction strategy that fundamentally doesn't understand how compaction and context management work. Seems like a lot of people are confused so let's break this down. 1. Compaction isn't a filter The role of compaction is to clean up history to keep the Show more

tamara
tamara
@tamarajtran

found the perfect use case for @typesafeai Jev: instant compaction in 2026, why is compaction still a summarization prompt? Jev can make it instant by scoring every tool call and dropping what’s irrelevant

Reply

Classifying rows in DuckDB