Jev and typesafe AI: judgment, not text
Most "AI feature" plans end at the same place: prompt a chatbot, ask for JSON, and write a parser robust enough to survive the days it doesn’t. Jev — TypeSafe AI’s first System One model — does something different: it returns typed judgments and probabilities your code can branch on.
Here is a pattern we encounter frequently: a team wants to integrate AI into a product — route this ticket, triage this lead, check whether this document supports that claim — and the solution always leads to the same conclusion. Prompt a chatbot, ask it to respond in JSON, and create a parser robust enough to handle the inconsistencies. We have developed that parser. You have likely developed that parser too. However, it is fragile because the underlying model is designed for writing, whereas the task at hand is about making decisions.
01What Jev is
Jev is the flagship model from TypeSafe AI and represents the first of what they call System One models — a reference to Daniel Kahneman’s "Thinking, Fast and Slow," where System 1 is the fast, intuitive thinker. Like a large language model (LLM), Jev processes natural language input in the form of text and JSON. Unlike an LLM, it does not generate text responses. Instead, when you ask it a question, it provides a precise answer along with a probability rating, never a verbose paragraph. For example, "Which team should handle this ticket?" would yield "billing," and "Does this message request a refund?" would result in 0.95. There is no prose, no code, and no improvised explanations. The decision itself is the product.
02Three primitives instead of a prompt
You define the answer options beforehand using one of three question types:
- —Choice — Select one option from a defined set. The output includes the selected option, probabilities for each choice, and a confidence score. For example, "Which handler fits this request: billing, technical, or account?"
- —Score — Rank something on a predefined scale. For instance, "How frustrated is this customer: calm, frustrated, or very frustrated?"
- —Noul — The probability that a yes/no claim is true. For example, "Does this message request a refund?" would yield 0.95.
The answers are typed, guaranteeing a consistent interface: your code branches on "billing," rather than whatever the model decided to produce that day. Furthermore, Jev ingests your state once and evaluates all questions against it in parallel. You can therefore batch independent judgments into a single call — asking questions about refunds, duplicate charges, and policies together, then combining those results using standard deterministic logic. Priced per input token with output tokens being free (about four cents per million today), these judgments are cost-effective enough to be included in high-demand processes.
03Probabilities you can actually act on
The key distinction lies in calibration. LLMs are trained to generate plausible text, making their stated confidence levels somewhat decorative. Jev, on the other hand, is trained for decision-making — its probabilities are optimized against actual outcomes. This provides software with a dual axis: the answer indicates what to do, while the confidence score suggests whether to act. For example, auto-refund at 0.98 confidence or hold for a human at 0.72 confidence. This approach allows for confidence-gated routing, aligning with our agent autonomy policy: deterministic code manages the workflow, the model provides judgment, and uncertain cases are referred to a person who can resolve them.
04Where we would use it tomorrow
- —Routing and triage: For support tickets, inbound leads, and internal requests — any scenario where a growing rules engine is burdensome.
- —Guardrails around LLMs: Monitor every message entering and leaving a chatbot — detecting jailbreak attempts, prompt injections, and severity — and setting thresholds in the code based on probabilities.
- —Verification: Confirm whether a quote truly supports the claim it's cited for; validate extracted fields against their source before relying on them downstream.
- —Reranking: Retrieve candidates through inexpensive keyword searches, then enable Jev to select what is actually relevant — TypeSafe’s own system increases top-1 accuracy from 5% to 18% on legal-retrieval benchmarks.
05Honest caveats
- —A typed answer guarantees interface consistency, but not necessarily accuracy. Jev can be mistaken even when it provides well-formed output — you should still verify conclusions based on your own data and establish thresholds with consequences in mind.
- —Text in, text out: Jev processes text but cannot handle images, audio, or video; any such data must be pre-processed into structured fields.
- —Language limitations: English is its strongest language. Other languages can be managed but require testing on your own content before you can depend on them.
- —Not a reasoning model: For genuinely complex analysis, you will still need a System Two model — either a reasoning LLM or a human. Jev specializes in the quick, narrow judgments that most software systems require.
We use Jev internally for precisely this type of work — selecting the best option from live web pages or checking a page against acceptance criteria. The pattern is consistent: exact tasks are handled in code, semantics are assigned to the model, and the answers are returned as actionable probabilities, rather than ambiguous interpretations we would need to trust.
The bigger point is that the industry shorthand for an "AI feature" often implies a chatbot because generation is the primary function of LLMs. However, most software doesn't need more text — it requires small, trustworthy judgments in countless areas where today, you would rely on a regex, a heuristic, or a lengthy rules engine. TypeSafe AI treats judgment as a primitive you invoke like a function. This division of labor is the right approach: code manages the workflow, humans retain accountability, and the model does the one thing code cannot — understand.
Follow The Third Way Company on LinkedIn ↗ for new essays and field notes on shipping software with AI agents.