Jev: a boring classifier that unlocks a lot
Jev is a classifier: it picks an answer from a list. That sounds boring. But it is fast, cheap and accurate at the same time, and that opens up new uses. Here is how it works, what people built with it in two days, and what happened when we used it to check our own AI assistant.
- Author
- Nexus Agent Team
- Published
- Sep 17, 2026
- Last revised
- Sep 17, 2026
- Reading time
- 27 min
- Jev is a classifier. You give it some text and a list of possible answers. It picks one, and tells you how sure it is.
- That sounds boring. Classifiers have been around for decades: spam filters, fraud flags, ticket routing.
- The twist. Old classifiers were fast and cheap but not very smart. Big AI models are smart but slow and expensive. Jev is fast, cheap and smart at the same time.
- Why that matters. Any decision that has to be made thousands of times, in a fraction of a second, can now use real understanding.
- On our own data. We tested Jev against rule based guardrails and against LLM based guardrails, on the same 469 test cases. When it decides, Jev makes 3.8x to 7.5x fewer mistakes than an LLM judge, answers about 9x faster, and costs 79x to 214x less.
1What is Jev?
Jev is an AI model released by TypeSafe on . It does exactly one job:
- It reads a situation. Any text: an email, a web page, a price feed, a conversation.
- It answers questions about it. Each question comes with its own fixed set of possible answers.
- It says how sure it is. Every answer comes with numbers that show its confidence.
A classifier, in one minute
A classifier is a program that sorts things into boxes. You have used many without noticing:
- Your spam filter sorts email into "spam" and "not spam".
- Your bank sorts card payments into "normal" and "suspicious".
- A help desk sorts tickets into "billing", "technical" and "sales".
Jev is a classifier too. Here are questions it can answer:
- "Is this email urgent?" → yes or no.
- "Which button should the robot click next?" → A, B or C.
- "How frustrated is this customer?" → calm, annoyed or angry.
So why is it a big deal?
Until now, you had to choose between two kinds of tool.
| Classic classifier | Big AI model (chatbot style) | Jev | |
|---|---|---|---|
| Understands messy language | Poorly | Well | Well |
| Speed per answer | Very fast | Seconds | Fraction of a second |
| Cost per answer | Almost free | Adds up fast | Almost free |
| Needs training data first | Yes, lots | No | No, you write the question |
That last column is the point. Jev gives you the understanding of a big model at the speed and price of a small one.
2How it works
Every call to Jev has two parts:
- The state. The text describing the situation.
- The questions. What you want to know, each with its possible answers written out.
The three kinds of question
| Type | What it asks | Example | What comes back |
|---|---|---|---|
| Choice | Which option fits best? | Which team handles this ticket: billing, technical or sales? | The option picked, a probability for every option, and a confidence |
| Score | Where does this sit on my scale? | How frustrated is the customer, from calm to very angry? | A position on your scale (), and a confidence |
| Noul | Is this statement true? | The message sounds urgent. | One number from 0 (surely false) to 1 (surely true) |
A real example
This is the example from TypeSafe's own quickstart.1 The state is a customer message:
"Hi, I've been trying to connect my Stripe account for 3 days and it keeps failing. I'm losing sales. Please help ASAP."
Three questions are asked about it, all at once. Jev answers:
- Department (Choice): "technical", with a probability of . Billing got , sales .
- Frustration (Score): on a scale from . So: "frustrated but civil".
- Urgent? (Noul): . Almost certainly urgent.
The raw answer looks like this. No sentences to read, just values your software can use directly:
{"department": {"choice": "technical","probabilities": { "billing": 0.159, "technical": 0.84, "sales": 0.001 },"confidence": 0.596},"frustration": { "score": 1.035, "confidence": 0.842 },"is_urgent": { "noul": 0.999 }}
What "how sure" means
Probability and confidence are what make Jev safe to use in real software.
- Probability says how likely each answer is. Above, "technical" was 0.84: likely, not certain.
- Confidence summarises how clear cut the whole question was. TypeSafe computes it from the spread of the probabilities.2
- Calibration means the numbers are honest on average. If Jev says "90% sure" on 100 different questions, about 90 of those answers should be right.
- The catch: that holds over many answers, not for any single one. TypeSafe says so plainly: it "does not guarantee that an individual answer is correct."2
So the usual pattern, which TypeSafe recommends and we use, is:
- High confidence: act automatically.
- Medium confidence: act, but carefully (for example, only warn).
- Low confidence: do not act. Hand it to a person or a simpler rule.
Many questions, one call
- You can ask many questions in one call. Jev answers each one separately, as if it were the only question, and all at the same time.
- So adding questions barely slows it down. In TypeSafe's own test, was and than 13 separate calls, with the same answers.3
- This changes how you design. Instead of one big vague question ("Is this reply good?"), you ask five small sharp ones ("Is it in the user's language?", "Does it make a promise?", and so on). Then your own code combines the answers.
3Why it is different
To see why Jev is fast, you need to know how chatbot style models answer.
How a chatbot style model answers
- It works with tokens. A token is a small piece of a word. "Unbelievable" might be three tokens: "un", "believ", "able".
- It writes one token at a time. Each new token needs a full pass through the model, and it cannot start the next one until the last is done.
- Even a one word answer is written. To answer "yes", the model still reads your whole question, then writes. Often it writes an explanation first, because you asked for one or because it "thinks" before answering.
- Then your software has to read the text. It must find the answer inside the sentence and hope it is spelled the way you expected.
How Jev answers
- It never writes. TypeSafe describes its engine as producing "all outputs in a single query".4
- The answer is already a value. A choice from your list, a position on your scale, or a number. Nothing to parse.
What that gets you
According to TypeSafe:4
- Speed. per call (a millisecond is a thousandth of a second). TypeSafe puts this at than big models on the same kind of question, and says its best numbers sit "on the higher end of real world gains".
- Price. of input. The answers themselves are free. On its own demo, TypeSafe measured than big models. It also admits it "can't prove it isn't subsidized" yet.
- No made up answers. An AI "hallucination" is when a model confidently invents something: a fact, a name, an option that does not exist. Jev can only return one of the answers you listed, so it cannot invent a new one. TypeSafe calls this "zero hallucinations", and says openly that this is a guarantee of the format, "not empirical".
One thing it does not mean: Jev can still pick the wrong option from your list. That is exactly why the confidence numbers exist.
4How it was made
TypeSafe says Jev needed three new pieces:4
- A new model design (architecture), built for deciding, not writing.
- A new sampler, the part that turns the model's calculations into answers. Jev's produces all answers at once.
- A new training method, called RLCD.
The training method, from zero
Modern AI models are shaped by "reinforcement learning": the model tries, gets a reward or a penalty, and adjusts. TypeSafe describes three generations:5
- RLHF, learning from human feedback. People rate answers; the model learns to please them. This produced chatbots. The downside, per TypeSafe: it can reward "confident-sounding hallucinations", because a confident answer pleases people.
- RLVR, learning from verifiable rewards. The model is rewarded when its answer can be checked as correct, like a maths result. This produced reasoning models, which are smarter but "slower and more expensive".
- RLCD, learning for calibrated decisions. The model is rewarded for picking the right answer and for giving honest confidence numbers. It never writes text. This produced Jev.
Who is behind it
- The founder: Diogo Almeida. TypeSafe credits Almeida as a co inventor of RLHF, the method behind modern chatbots.5 The launch post opens: "At OpenAI, I helped build the methods that made language models useful."4
- The name: Jev belongs to a family TypeSafe calls System One, after the book Thinking, Fast and Slow. "System 1" is your fast, intuitive judgment, the kind you use to spot a face or feel that something is off. That is the job Jev is built for.
5What people built in 48 hours
Within two days of launch, builders had put Jev into five very different products. Each one needs the same thing: a decision, made again and again, faster than a big model can manage.
5.1 A robot that uses websites
- Who: Gregor Zunic, co founder of Browser Use, a company that makes AI agents which use websites like a person would.6
- The problem: a web agent makes a decision on every page: where to click, what to open. With a big model, each decision takes seconds, so a simple task takes minutes.
- Where Jev fits: on each page, the page content is the state and the clickable actions are the options. Jev picks the next action. A small writing model steps in only when text must be typed, because Jev cannot write.
- The reported result: a flight search done in 7 seconds, for , with the video playing at normal speed.
5.2 An AI that plays Doom
- What: a demo of Jev playing the classic video game Doom, live.7
- The problem: a game moves on every fraction of a second. A player that thinks for two seconds is already dead.
- Where Jev fits: the game situation is described as text. Jev answers questions like "Should the player's trigger be held down right now?", with a bar for each possible answer, and the answers steer the player.
- Why people noticed: Ziwen, sharing the demo, estimated that for an hour, , would cost . "Anything that has to keep up with a person was off the table before this."
5.3 Sorting a thousand research papers
- Who: Hassan, who built 1kpapers.com.8
- The problem: needed to be grouped into topics so people can browse them.
- The pipeline:
- A writing model (DeepSeek V4 Flash) writes a short summary of each paper.
- Jev reads the title and summary and picks .
- The site shows the papers by topic.
- The result: . in total, with a typical (median) wait of .
- The lesson Hassan draws: use "different models for different parts of the workflow, instead of using one model for everything." Hassan is still checking Jev's labels before switching the live site over.
5.4 A trading bot
- Who: Jarrod Watts.9
- The problem: on the Monad blockchain, a new block (a batch of trades) is produced . A decision that arrives later misses the block.
- Where Jev fits: on every block, the latest prices are the state and the question is "buy or sell?". The screen shows each decision with its confidence and response time, in the frame shown.
- Note: this is a demo, not trading advice.
5.5 Picking the right AI for each request
- Who: eve.10
- The problem: some requests need a powerful, expensive model; others are simple and should go to a cheap, fast one. Something has to decide, instantly, for every request.
- Where Jev fits: each model is described in one plain sentence, for example "Complex reasoning and engineering tasks" and "Routine tasks where speed matters". Jev reads the request and picks the model. It is a Choice question.
6Our case: guardrails for AI agents
The setup
- We run AI agents that do real work: they read files, run commands, write plans and build things, over many steps.
- Around those agents we run safety checks, technically called hooks or guardrails. A hook is a small program that runs automatically at a fixed moment: when the user sends a message, before the agent uses a tool, or when the agent finishes a turn.
- Each hook asks one question. If the answer is bad, it blocks the action or nudges the agent to fix it.
What the hooks ask
Some examples, in plain words:
- When the user writes: Is this new work that needs tracking, or just a thank you?
- Before an action: How risky is this action? Is this ticket a duplicate?
- When a task is closed: Does the proof actually match what "done" was supposed to mean?
- When the agent replies: Is the reply plain enough? Is it in the user's language? Did it promise something without doing it?
The problem with today's hooks
Most of these hooks are fixed rules today: they count words, look for keywords, measure length.
- They are fast and free. They run in milliseconds and cost nothing.
- But the questions are about meaning. A rule that measures message length cannot tell a new request from a long thank you.
- So they make two kinds of mistake:
- A wrong alarm blocks or nudges the agent for nothing, which wastes a whole turn.
- A missed alarm lets a real problem through.
A big AI model would understand the meaning. But a hook runs on every single action, and a check that adds seconds and cents to every step is not usable. Jev, in theory, is fast and cheap enough. So we tested it properly.
7How we tested it
The goal was a result we would trust enough to switch the old rules off. Here is the method, step by step.
1. Collect real cases
- from our agents' past work: user messages, tool calls, finished turns and task board changes.
- Secrets removed first. Passwords and keys were masked before anything was sent to Jev.
2. Write an answer key
For each check, we need the right answer for a sample of cases. That is called a label, and the full set is the answer key.
- Two separate AI reviewers labeled each case, following a written guide. Neither saw Jev's answer or the old rule's verdict. This is called blind labeling.
- A third reviewer settled every case where the first two disagreed.
- The person who runs these agents also . This is the strictest test we have.
3. Split the cases, like an exam
- Tuning set. The cases we used to improve each check's questions and settings.
- Test set. Cases kept aside and used only once per version, at the end. A check that did well only on the cases it was tuned on would be like a student who memorised last year's exam.
- Split by conversation. A conversation's cases all sit on the same side, so the test never contains a near copy of a tuning case.
4. Let Jev pass when unsure
- Each check has a confidence bar. Above it, Jev decides. Below it, Jev stays quiet and the old rule decides.
- We count Jev's mistakes only where it decided. The share of cases where it decided is called coverage.
- Both numbers matter. Zero mistakes means little if Jev almost never decides.
5. Respect real time limits
- A hook cannot wait forever. Any Jev answer counts as "no answer", and the old rule decides, exactly as it would live.
8Results
8.1 Jev vs rules vs an LLM judge
We ran three kinds of guardrail on exactly the same 469 test cases, with the same answer key:
- Rule based: today's fixed rules.
- LLM based: a small model (Claude Haiku 4.5) and a mid size model (Claude Sonnet 5), each given the same situation and the same questions, and asked for the same answers.
- Jev: deciding when it is sure, and handing the rest to the rules.
| System | Mistakes when it decides | Decides on | Total mistakes, with rules as fallback | Typical answer time | Cost per answer |
|---|---|---|---|---|---|
| Rules only | |||||
| Haiku 4.5 (small LLM) | |||||
| Sonnet 5 (mid size LLM) | |||||
| Jev |
What it shows:
- When it decides, Jev is the most accurate. , , per decision.
- Jev decides less often. It ; .
- So the total is close. With the rules catching what each one passes on, Jev ends at 90 mistakes, Sonnet at 92, Haiku at 99, and rules alone at 148.
- Speed and cost are not close. Jev at the median, and costs and per answer.
How we measured, briefly:
- Same inputs. Each LLM received exactly the text and questions Jev received, and its answers went through the same decision code.
- Same scoring. An answer outside the allowed options counted as a mistake. Haiku produced one; Sonnet and Jev none.
- Honest timing. LLM times include starting the command line tool; the models' own reported time was about 4 s, still 6x slower than Jev. Extended thinking was off, which makes the LLMs faster and cheaper than their defaults.
- One tilt in Jev's favour. Jev's "sure enough" bars were tuned on separate cases; the LLMs used the same bars untuned. That can lower their coverage, not their accuracy when they decide.
8.2 Fewer wrong alarms than the rules
How to read this chart:
- Black bar: wrong alarms raised by the old rule.
- Striped bar: problems the old rule missed.
- Orange bar: Jev's mistakes, out of the cases where it decided.
What it shows:
- Overall: . , .
- Best case, "Is this message new work?": the old rule . .
- "Does the proof match the finish line?": the old rule . .
- "Is a promise left unbacked?": . .
- Not ready yet: "What kind of request is this?" and "Who must act on this task?" . These stay on the old rule until they pass.
8.3 Checked against a human
- The test: 923 messages labeled by hand, never used for tuning.
- Version 3 .
- Version 4 decided on 646 and was wrong on 15.
- The newest version, tuned after this chart was drawn, .
- What this teaches: each extra point of coverage has to be earned without extra mistakes. That trade off is still being worked on.
8.4 How often Jev decides
How to read this chart:
- Left to right: how often the check decides (coverage).
- Bottom to top: how often it is wrong when it decides.
- The best place is bottom right: decides often, rarely wrong.
What it shows:
- Some checks sit bottom right. They decide on most cases with few mistakes.
- Some sit bottom left. They are rarely wrong, but only because they rarely decide. The old rule still does most of their work.
- Four checks never decided on a test case yet.
8.5 Speed
Two terms first:
- Median: half of all answers were faster than this, half slower.
- 95th percentile: 95% of answers were faster than this.
What we measured, :
- Median: 0.68 seconds.
- 95th percentile: 1.79 seconds.
- Too slow: . The old rule decided instead, and nobody waited.
Why this is slower than TypeSafe's 70 to 500 milliseconds:
- Bigger questions. Each call carried the full context of the conversation: the user's message, the agent's previous reply, the tools used, the task board and the rule being enforced.
- Plain internet. Calls went from one laptop in Europe, usually 8 at a time.
- Cold connections. Each call opened a new secure connection. Reusing one brought single calls down to .
8.6 Cost
- One Jev answer cost . The difference comes from how much context each check sends: more text means more tokens.
- One wasted agent turn, caused by a wrong alarm, was .
- So one avoided wrong alarm , depending on the check.
9What we learned
- Use a deciding model when you only need a decision. Paying a model to write a paragraph that your code then throws away is waste, in time and in money.
- Confidence is the real feature. It is what makes AI safe to put in the path of every action: act when sure, fall back when not. The fallback is part of the design, not a failure of it.
- Ask small, sharp questions. Five narrow questions beat one broad one. Plain code combines them, and the logic stays easy to read and to fix.
- Context helps, and it costs. More context makes answers better on some checks and slower and pricier on all of them. We now measure every check with and without it, and keep it only where it helps.
- A test is only as good as its answer key. Several early "mistakes" turned out to be errors in the labels, not in Jev. Checking the key is part of the work.
10The fine print
- One company, one assistant. These results come from our own agents' hooks. Other systems will have other questions.
- Small test sets for some checks. Several checks decided on . A rule of thumb: zero mistakes in n cases still allows an error rate of . Treat small numbers as early signals.
- Some settings saw the test. For a few checks, the confidence bar was raised after looking at test answers. The chart's details say which; those figures are not a fair test.
- Mostly AI labels. Apart from the 923 hand labeled messages, the answer key comes from AI reviewers. A human review of the hardest cases is still to come.
- TypeSafe's numbers are TypeSafe's. Section 3 quotes its own benchmark; we did not rerun it.
- Community numbers are the builders' own. Section 5 reports what each builder posted; we did not rerun their demos.
- Prices can change. TypeSafe says it cannot yet prove its price is not subsidized.
11Glossary
- Answer key (labels)
- The correct answers for a set of test cases, used to score a check.
- Blind labeling
- Writing the answer key without seeing what the system being tested said.
- Calibration
- When confidence numbers are honest on average: "90% sure" is right about 90% of the time.
- Choice, Score, Noul
- Jev's three question types: pick an option, place on a scale, or give the probability that a statement is true.
- Classifier
- A program that sorts things into boxes, like "spam" or "not spam".
- Confidence
- A number summarising how clear cut a question was for Jev.
- Coverage
- The share of cases where Jev was sure enough to decide.
- Hallucination
- When an AI model confidently invents something that is not true or does not exist.
- Hook
- A small program that runs automatically at a fixed moment around an AI assistant, and can block or nudge it.
- Median, 95th percentile
- Half of the values are below the median; 95% are below the 95th percentile.
- Millisecond
- A thousandth of a second.
- State
- The text Jev reads: everything it needs to know about the situation.
- Token
- A small piece of a word. AI models read and write in tokens, and are priced per token.
- Test set, tuning set
- Cases used to improve a check (tuning) and cases kept aside to score it fairly, once (test).
- Wrong alarm, missed alarm
- A check that fires when it should not, or stays silent when it should fire.
- TypeSafe documentation, quickstart (request and response example). docs.typesafe.ai, read 17 September 2026.
- TypeSafe documentation, System One and confidence. docs.typesafe.ai.
- TypeSafe cookbook, parallel questions. docs.typesafe.ai.
- TypeSafe, Introducing System One models and Jev, 15 September 2026, and the typesafe.ai homepage, read 17 September 2026.
- TypeSafe documentation, machine learning primer. docs.typesafe.ai.
- Gregor Zunic, post on X, 17 September 2026.
- Ziwen, post on X, 16 September 2026.
- Hassan, post on X, 17 September 2026.
- Jarrod Watts, post on X, 16 September 2026.
- eve, post on X, 17 September 2026.
Tell us where the work piles up.
We build the first procedure with your team and run it with you.
Talk to our team








