Jev, episode 3a
Some information, a few questions.
And a probability back.
A short one on the machinery behind the series: the route, what I sent Jev, and what came back. No sentences involved.

Across three episodes I’d shown what Jev got right and what it got wrong. This is a short one about the machinery behind them: how I actually called it, what I sent, and what came back.
One route for both models
Every call in the series went through the Vercel AI Gateway. I chose it for a plain reason: it had free access to Jev.
What it gave the tests was one key and one route for both models. Jev and the chat model it raced went through exactly the same door, from the same machine, so neither got a shorter journey. The key lives in a settings file, never in the code and never on screen. And one usage page shows what every call cost.
The whole of one call
Here’s a call from the email test in episode one, as the test script ran it. It has three parts.
const r = await evaluate({
model: jevModel,
state: { subject: email.subject, body: email.body },
questions: {
team: { type: 'choice', instructions: INSTRUCTIONS, criteria: TEAMS },
},
});
The model: TypeSafe’s Jev. The state: the information to judge, here one email’s subject and body. The questions: each has a name, a type and one line of instruction. This one is a choice, “Which team should handle this customer email?”, and the options are five teams, each with a one line description.
const TEAMS = {
billing: 'Charges, invoices, refunds, receipts and payment methods',
technical: 'Bugs, errors, outages, slow performance and broken integrations',
account: 'Login, passwords, users, permissions, profile and data requests',
sales: 'Pricing, plans, upgrades, add-ons, demos and pre-purchase questions',
other: 'Anything that does not fit the other teams',
};
That’s it. No long prompt and no worked examples.
What comes back
No sentence. A probability for every team. For that email: billing, one. Everything else, zero. It arrived about a quarter of a second after I asked. Jev’s answer is simply the most likely option, and how sure it is.
Five questions in one call
Asking more is just more entries. In episode 3 I asked five things about each email. The team is a choice. Urgency and mood are scores, on a scale I describe in words. Refund and outage are plain yes or no.
urgency: {
type: 'score',
instructions: 'How urgent is this for the customer?',
criteria: [
'Low: no time pressure',
'Medium: wants it sorted soon',
'High: blocked or losing money now',
],
},
refund: {
type: 'boolean',
instructions: 'The sender is asking for money back or a credit',
},
That’s two of the five, spread over more lines than the script uses. All five come back from one call, against one read of the email. That’s why five questions took no longer than one.
The chat model, for contrast
The chat model got the same email through the same gateway. But it has to be told what to write back: a message listing the teams, and a strict format for the answer so its reply can be checked. Then it writes the answer out, a piece at a time. Jev never writes anything at all.
Some information, a few typed questions, and a probability back.
That’s the machinery, and it’s why I keep saying that with this model, the question is the programming. Get the state and the questions right and there’s very little else to write. Get them wrong and, as episode 2 showed, the answers go wrong with them.
Episode 4 is the one for the boss: should your company use it?
About the video: the narration uses an AI clone of my own voice, and the presenter is an animated avatar of me. The code shown is from the test scripts as they ran on 21 September 2026, and the API key is never shown. TypeSafe’s own documentation is at docs.typesafe.ai.