The Cognitive Revolution artwork

The Cognitive Revolution

What Is Jev? TypeSafe AI's System 1 Model Explained

Jev, the System 1 Model: TypeSafe AI's Diogo Almeida on Maximizing Intelligence/$, from Latent.Space

▶ Listen to the full episode More from The Cognitive Revolution

The brief

Diogo Almeida, co-founder and CEO of TypeSafe AI, built Jev: a 'System 1' AI model that returns a typed choice with a calibrated probability for code to consume, not text for humans to read. He argues model refusal is a programming bug, rejects public benchmarks as gameable, and trains Jev on synthetic data using a new objective he calls RLCD.

Diogo Almeida left a job at OpenAI because of a number that would not sit still in his head. InstructGPT, the model that taught chatbots to follow instructions, grabbed roughly half the market for large language models almost as soon as it shipped (01:54). It was so good at doing what people asked that Almeida wondered, for a moment, whether it counted as general intelligence. Then he watched what people actually did with it: marketing copy, blog filler, what the industry now calls slop. The team worried they had made the internet a worse place.

That worry turned into a question Almeida could not put down: if an AI-driven economic revolution ever arrives, who is actually calling the AI, a person typing into a chat box, or a line of code? He decided the answer was overwhelmingly code (02:18), even though every lab, including his own, was pouring its effort into the human-facing chat experience. He thought fixing that mismatch would take a week. It took years, and it eventually became a company.

That company is TypeSafe AI, and its model is called Jev. Jev does not write sentences. It returns what Almeida calls a typed choice, an option picked from a fixed list, along with a calibrated probability, a number that tells a program how confident the model really is (00:58). The idea is that software, not a person, reads the output, which is where the company's name comes from. Almeida calls this new category of models "System 1," after the fast, automatic kind of thinking from behavioral psychology, as opposed to the slow, step-by-step reasoning that today's "reasoning models" are built for.

A Refusal Is a Type Error

Much of the conversation turns on a single, almost comic complaint: Almeida hates it when a model says no. In ordinary chat use, a refusal is just annoying. In software, he argues, it is something closer to a bug.

"Refusal is just, like, obviously a type error." (Diogo Almeida, [18:50])

A type error, for anyone outside programming, is what happens when a piece of code expects one kind of information, say a number, and gets a different kind instead, say a sentence, and the program stops working. Almeida's point is that an API built for other code to call needs a predictable output every time. If a model refuses instead of returning the expected answer, whatever program depends on it can break without warning, and nobody downstream knows why (18:27).

He draws a line between two things people lump together: capability alignment, which means doing what the user asked, and safety alignment, which means following rules a lab has layered on top of that (20:40). He thinks the second kind makes sense for a consumer product like ChatGPT, where a company reasonably wants control over what its brand produces. He thinks it is close to useless, and even anti-user, inside an API, where a developer needs the software to behave the same way every time. His preferred comparison: "I think intelligence will be more like a database than a coworker." (23:00) A database does not decide whether a query is appropriate. It answers, and responsibility for what happens next sits with the programmer, not the database.

He does not pretend this is free of tension. Asked directly about weapons, he concedes that a company can reasonably decide its API should not be used to help people kill each other, and that this is a legitimate business choice. What he resists is building that judgment into the core of the model itself, because every carve-out, in his view, fractures the model's intelligence a little more and makes it worse at everything else.

Zero Percent of the Economy

TypeSafe AI's other unusual stance is about measurement. Almeida says the company refuses to chase public benchmarks, the standardized tests like MMLU that labs use to compare models, because they are too easy to game. "Every lab had a team to collect data that looks like MMLU to make it look better, which is just benchmarking, benchmarking with extra steps." (29:42) The stance cost the company real money. Before launch, TypeSafe had almost no revenue, fundraising was hard, and more than half of the people who tried an early version of Jev did not get what it was for (02:39). What the company built internally instead is a new training objective Almeida calls RLCD, reinforcement learning for calibrated decisions, which he frames as a North Star alongside the two ideas that shaped today's chatbots: RLHF, which optimizes for what humans say they prefer, and RLVR, which optimizes for answers that can be automatically checked, like a math solution (34:56). To keep Jev from overfitting to whatever questions happen to be popular right now, the company trains it entirely on synthetic data rather than real user queries, on the theory that real-world data follows a power law that would bias the model toward common cases and leave it fragile everywhere else (33:41).

The bet paid off commercially, at least by one measure: within about a week of launch, Jev was processing more than a trillion tokens, the small chunks of text or data a model processes, every single day (47:11), and the launch video passed 38 million views (50:30). But Almeida is careful not to overclaim what any of this means for the economy. By the standard OpenAI once used to define artificial general intelligence, doing the majority of the world's economically valuable work, he thinks every model, including his own, is "roughly tied right now at zero," with maybe one percent of that work automated so far (90:05). His own goalpost is specific: he wants total factor productivity, a standard economic measure of how much output an economy gets from its existing labor and capital, to grow by three percent within five years, which he treats as the signature of a genuine AI-driven economic revolution (89:18).

He is also honest about where Jev's own approach runs out of road. It is strong, by Swix's account, at single-hop reasoning, a single decision drawn from the information directly in front of it, and it degrades as a task requires chaining several of those decisions together, what Swix calls multi-hop reasoning (94:16), an assessment Almeida agrees with. That is a real limit, not a marketing gap, and it is part of why he still sees a role for the slower, step-by-step reasoning models that RLVR produces, even as he argues they are fragile in their own way.

That same skepticism shows up in how he talks about AI safety debates. He pushes back on what he calls the "pace the frontier" argument, the idea, publicly endorsed by multiple labs, that AI development should slow in step with safety research. His objection is narrower than it sounds: the argument, he says, assumes the only way to make AI more powerful is to keep doing more reinforcement learning on verifiable rewards, the training method behind today's reasoning models (115:45). If that is not the only path to powerful AI, he argues, the pacing debate is really a debate about one narrow method, dressed up as a debate about AI itself (114:05).

His most practical piece of advice has nothing to do with training objectives. He tells developers to stop writing one enormous system prompt, the block of instructions handed to a model, that tries to cover every rule a product needs. "System messages are like disgusting global variables where you just put everything in there." (72:58) His alternative is to break a job into many small, separately testable questions, so that when something goes wrong, a developer can add a new question and a confidence threshold, the point at which a probability counts as a decision, rather than rewriting the whole prompt and hoping (73:14). He extends the same logic to coding agents, the AI tools that write and run code on their own, arguing that they are currently stuck repeating one long, growing conversation because of how a technical cache called the KV cache works, a bottleneck he says prevents a task from being cleanly handed off to smaller, cheaper sub-agents (141:17).

Underneath all of it sits a fairly plain wish. Almeida says he left OpenAI partly out of guilt, worried that if an AI winter, a period when enthusiasm and investment in AI collapse, ever arrived, he would hold himself personally responsible for not doing everything he could to prevent it (131:52). What he wants instead is software that quietly gets smarter without anyone noticing, the way a database does its job without anyone thinking about it. "I'm really tired of AI always being the foreground character." (90:30) The claim is not that Jev has solved intelligence. It is that intelligence, done right, should stop being the main character in the story at all.

Ask this episode anything

Pod's AI answers from the episode itself, with the minute mark so you can hear it yourself.

Or start with one of these

Key takeaways

  • Jev returns a typed choice with a calibrated probability instead of text, built for code to consume
  • Diogo Almeida calls model refusal in an API a type error that can silently break dependent software
  • TypeSafe AI trains Jev with RLCD, a new objective alongside RLHF and RLVR, using only synthetic data
  • The company rejects public benchmarks like MMLU as gameable and relies on internal calibration instead
  • Almeida estimates AI automates only about 1% of economically valuable work today, with a 3% TFP goal in five years
Jev's Three Output Types, Mapped to Code — "The Cognitive Revolution" : Jev, the System 1 Model: TypeSafe AI's Diogo Almeida on Maximizing Intelligence/$, from Latent.Space

The episode in cards

Chat-First Models vs. Jev, TypeSafe AI's System 1 Model — "The Cognitive Revolution" : Jev, the System 1 Model: TypeSafe AI's Diogo Almeida on Maximizing Intelligence/$, from Latent.Space

By the numbers

  • 50% market share share of the large language model market InstructGPT captured almost immediately after launch [01:54]
  • 3% TFP growth total factor productivity growth rate Almeida sets as the five-year goal for an AI-driven economic revolution [89:18]
  • 1% percentage share of the world's economically valuable work Almeida estimates AI has automated so far [90:05]

In their words

“Refusal is just, like, obviously a type error.”

Diogo Almeida [18:50]

“I think intelligence will be more like a database than a coworker.”

Diogo Almeida [23:00]

“Every lab had a team to collect data that looks like MMLU to make it look better, which is just benchmarking, benchmarking with extra steps.”

Diogo Almeida [29:42]

“System messages are like disgusting global variables where you just put everything in there.”

Diogo Almeida [72:58]

“I'm really tired of AI always being the foreground character.”

Diogo Almeida [90:30]

Protocols

  1. Decompose prompts into small, testable questions [73:14]

    Diogo Almeida tells developers building on Jev to break a complex task into many small, separately structured questions instead of one large system prompt. When a model gets something wrong, he says to fix it by adding a new question and a confidence threshold rather than rewriting the whole prompt. The catch is that this only works if each question is specific enough to test on its own, otherwise the developer is back to guessing.

    Apply whenever a model output is wrong or a new edge case appears

  2. Train only on synthetic data [33:41]

    Almeida says TypeSafe AI trains Jev entirely on synthetic data and refuses to train on real user queries, even though the company could. The catch is that real-world data follows a power law, so training on it would bias the model toward common questions and make it fragile everywhere else.

    Ongoing company policy for every model version

  3. Do not rely on built-in model refusal inside an API [18:27]

    Almeida argues that developers should not depend on a model's built-in refusal behavior inside an API, because an unexplained refusal works like a type error that can silently break any software downstream. The catch is that handling sensitive edge cases, like uses a company does not want its API tied to, has to be built as explicit, testable questions in the application rather than left to the model to decide.

    Whenever designing an API where other code depends on the model's output

Questions this episode answers

What is TypeSafe AI's Jev model?

Jev is a 'System 1' AI model built by TypeSafe AI that returns a typed choice with a calibrated probability instead of generating text, so that software, not a person, reads the output (00:58). Co-founder and CEO Diogo Almeida says it is optimized for intelligence per dollar rather than raw benchmark scores (28:56).

What does RLCD mean in AI training?

RLCD stands for reinforcement learning for calibrated decisions, a training objective Diogo Almeida describes as a new goal alongside RLHF (optimizing for human preference) and RLVR (optimizing for verifiable, checkable answers) (34:56). TypeSafe AI trains Jev entirely on synthetic data rather than real user queries to avoid overfitting to common questions (33:41).

What is a System 1 AI model?

A System 1 model, as TypeSafe AI defines it, is built for fast, single-step decisions that code can consume directly, rather than open-ended text generation or multi-step reasoning (00:58). Diogo Almeida says these models are strong at single-hop reasoning but degrade on tasks that require chaining several decisions together, what he calls multi-hop reasoning (94:16).

How is Jev different from OpenAI's InstructGPT?

InstructGPT, which Diogo Almeida helped ship at OpenAI, generates text and took roughly half the LLM market shortly after launch, but ended up used mostly for marketing copy (01:54). Jev instead returns a typed, programmatic decision meant for other software to call, because Almeida concluded most future AI usage would come from code calling code rather than humans chatting with a model (02:18).

Why does Diogo Almeida call AI refusal a type error?

Almeida argues that when a model refuses a request inside an API, it behaves like a type error, a programming bug where code receives a different kind of data than it expected, because the refusal can silently break any software depending on a predictable response (18:27). He distinguishes this from safety alignment in consumer products like ChatGPT, which he says is reasonable for a first-party product but 'anti-user' in an API (20:40).

What does 'intelligence per dollar' mean in AI benchmarking?

Intelligence per dollar is TypeSafe AI's framing for how much useful decision-making a model delivers relative to its cost, which Almeida argues matters more for background software automation than raw capability or speed alone (28:56). The company says it avoids public benchmarks like MMLU because labs can game them, relying instead on internal calibration tests (29:42).

The full read, in cards

Go deeper

  • InstructGPT (OpenAI) — The instruction-following model Almeida helped ship, which took roughly half the LLM market shortly after launch but was mostly used for marketing copy [01:54]
  • Learning to Summarize from Human Feedback (OpenAI) — Early reinforcement-learning-from-human-feedback work applying PPO to language models, cited as a precursor to what people now call RLHF [35:52]
  • Jan LeCun's error-accumulation slide — A chart LeCun uses to argue autoregressive text generation compounds errors over longer sequences, which Almeida calls mathematically intuitive but empirically wrong [13:24]
  • KV Cache Rules Everything Around Me — Almeida's own essay explaining how the KV cache, a model's working memory of the conversation so far, locks coding agents into one long thread [141:38]

Mentioned

Diogo Almeida · TypeSafe AI · Jev · OpenAI · Jan LeCun · RLCD · InstructGPT · Deepgram · Swix · Anthropic · Sam Altman