Jev Model Router
A Claude Code module that uses Jev to route model tier, reasoning effort, and risky-action judgment for agent tasks.
A Claude Code module that uses Jev to route model tier, reasoning effort, and risky-action judgment for agent tasks.
A Claude Code hook classifies a submitted coding task before its turn, asking Jev for a model-tier Choice, a reasoning-effort Score, and a risky-action Noul. It maps the typed answers and confidence to model/effort settings and separately routes spawned agents. Provider errors keep the original engine request.
Choose the cheapest model tier that can complete this task well.
Current submitted task text and routing context provided by the Claude Code function hook.
Score how much step-by-step reasoning is needed.
Current submitted task text and routing context provided by the Claude Code function hook.
Judge whether carrying out the task changes production, moves real money, or alters unrestorable data.
Current submitted task text and routing context provided by the Claude Code function hook.
A Claude Code prompt submission triggers the router hook before the model turn.
Jev returns typed tier, effort, and risk judgments in one request.
The hook checks confidence and risk overrides, then sets the requested model and effort for the turn.
Subagent spawn events can be classified separately; provider failure leaves the original request in place.
The hook separates cost routing, reasoning effort, and real-world action risk into three typed judgments. Its confidence gates are asymmetric, and a high-risk answer can override the cheaper tier; it also avoids a mid-session main-model switch by default.