TypeSafe AI System One and Jev — Mission
Sections
Reading settings
No voice for this language in this browser.
More voices
Code and English terms
Off: the page’s voice reads everything, with no pause between two voices.
No voice for this language in this browser.
More voices
More voices: Microsoft Edge has natural online voices, and Windows (Settings › Time & language › Speech), macOS and Android install others.
Why I am learning this
Section titled “Why I am learning this”Coding agents are good at producing text, plans and patches. Our repositories also contain smaller decisions that software must consume repeatedly: classify a Gaia candidate, score a GA search result, flag a Demerzel governance record, route an IX experiment, or identify a TARS grammar ambiguity. An LLM can answer those questions in JSON, but the surrounding program still has to parse it, reject invented values, measure uncertainty and keep authority out of prose.
Jev takes a narrower approach. It accepts a state plus typed questions and returns closed, structured answers. The model chooses among values we defined; our code still owns thresholds, composition and effects. That makes it interesting for high-volume judgment inside workflows, but it does not make a decision correct merely because its shape is valid.
The safety thesis
Section titled “The safety thesis”This course uses one rule throughout:
A model may estimate; deterministic code validates, gates and acts.
The distinction matters for every repository in our ecosystem:
- a valid
Choicecan still choose the wrong option; - a high confidence is a model signal, not authority;
- a moving alias can change behavior without a code change;
- low cost can make a bad decision cheaper and more frequent;
- a provider response must never mint a Gaia grant, merge a pull request, or mutate governance by itself.
What you will build
Section titled “What you will build”The course’s Python lab has two paths:
- Mock first: replay a saved response, validate its closed shapes and probability distributions, then apply the real routing policy with no network and no key.
- One optional live probe: read
TYPESAFE_API_KEYfrom the environment, estimate the input budget, make exactly one request, never retry automatically, never print the key, and record the request digest, concrete model, usage, latency and decision.
Outline
Section titled “Outline”| # | Lesson | Outcome |
|---|---|---|
| 1 | Decisions, not strings | Choose among Choice, Score and Noul without confusing types with truth |
| 2 | A reproducible, cost-bounded experiment | Run the offline baseline and understand the optional one-call probe |
| 3 | Use cases across our repositories | Select useful seams in Gaia, GA, Demerzel, IX and TARS while preserving authority |
| 4 | Token-cost benchmark | Test the 50% saving hypothesis against quality, retries and shifted cost |
| 5 | Confidence-gate stress test | Measure false support and review load on a deliberately wrong offline fixture |
| — | Journal | Measured facts, open questions and live work still to verify |
Prerequisites
Section titled “Prerequisites”- Python 3.10 or later; the lab uses only the standard library.
- JSON and ordinary branching logic.
- An optional TypeSafe account and API key only for the live probe. Put the key in
TYPESAFE_API_KEY; never paste it into a lesson, source file, terminal transcript or chat.
Primary resources
Section titled “Primary resources”- Introduction and quick start
- Primitives, confidence, and patterns
- Models and pricing and the HTTP API reference
- Introducing System One Models & Jev, including the authors’ own caveats about early access and evaluation bias