Skip to content
System One

prismhq/jev-router

Open-source LLM router that uses Jev to pick a model, built on LiteLLM. Clients send a single model ID and Jev routes each request; it falls through without a TypeSafe API key.

prismhq/jev-router on GitHub

Stars
12
Forks
1
Language
Python
License
MIT
Last push
17 Sep 2026

Read from GitHub on . Counts change daily.

How it uses Jev

from dataclasses import dataclass
from typing import Any, Callable, Protocol, Sequence

TYPESAFE_URL = "https://api.typesafe.ai/v1/systemone"
DEFAULT_JEV_MODEL = "jev-latest"
MAX_SUMMARY_MESSAGES = 8
MAX_SUMMARY_CHARS = 2000


@dataclass(frozen=True)
class Candidate:
    """A model the router may choose. ``name`` must match a LiteLLM model_name."""

    name: str
    description: str

View in jev_router/deciders.py

Open on GitHub

More like this

Use cases this is tagged with