rajivkuriakose/typesafe-jev-examples
User repository on GitHub
Worked examples for TypeSafe's Jev System One decision model, runnable today through OpenRouter
- Forks
- 1
- Last pushed
- Updated Sep 2026
Repo stats from the GitHub API, cached Oct 2026.
Two worked Jev examples you can run today through OpenRouter without an early-access key: seven-question ticket triage batched into one request, and a re-ranker that fans one question out per candidate and sorts on the returned probability.
rajivkuriakose/typesafe-jev-examples
User repository on GitHub
Worked examples for TypeSafe's Jev System One decision model, runnable today through OpenRouter
Repo stats from the GitHub API, cached Oct 2026.
Worked examples for Jev, TypeSafe's first System One model — runnable today through OpenRouter, without an early-access key. System One models do not generate prose. You send state and a map of named questions; you get back typed answers with calibrated probabilities. There is no parsing step and no free-text-to-struct failure mode, so the interesting work moves out of prompt engineering and into ordinary code. TypeSafe's direct API is behind an early-access waitlist. OpenRouter serves the same model today:
Quoted from the project's README. Read the full README.
Watch out
Everything here is verified against the OpenRouter path. The direct api.typesafe.ai path is written against the SDK's documented surface but has not been run, because it needs an early-access key, so treat that branch as untested code. OpenRouter serves Jev on a dedicated decisions endpoint and /chat/completions returns an explicit error, which is the first thing that will bite you wiring this yourself. The headline re-ranking figures - top-1 and top-3 at 100% against a keyword baseline of 67% to 83%, over 156 calls, 69,474 input tokens, roughly $0.0029 and 15.2s - come from 26 help-center articles and 6 queries, and four of the six were already correct. The keyword baseline does no length normalisation, so longer articles match more, and all six gold passages sit at or above the mean length; the README calls that conservative rather than neutral. The queries and passages were authored before any run and not changed after, which the README flags as a deliberate choice rather than a neutral fixture. This README copy is cut off mid-request-example, so the sections after the OpenRouter endpoint detail were not visible. Copy reviewed against the repository README on 2026-10-04, not from running it.
Original write-ups on what this entry is for.
Posts from builders shipping with Jev right now.