Review API
Call it from your code.
Send the question, the answer and the context; get the assessment back. One-file TypeScript and Python clients, no dependencies. Get them.
Reasoning, independent of the model
And everyone was wrong. Some of history’s costliest mistakes were made by experts who agreed, and AI is making agreement easier than ever. Lemma is reasoning your AI can call: a mind built to disagree when it should.
↗Everyone. Agreeing. As usual.
Act I · Vienna, 1847
Ignaz Semmelweis worked in a maternity hospital where many new mothers were dying of fever. He noticed far more deaths on the ward run by doctors, who often came straight from examining dead bodies, than on the ward run by midwives. So he had the doctors wash their hands first. On his ward, deaths fell from nearly 1 mother in 10 to about 1 in 80.
The other doctors were offended, and the idea was not accepted in his lifetime. Being right turned out to be very different from being believed.
Pause for a second. How could they have known?
Mothers who died, for every 1,000 births
Nearly 1 mother in 10.
Act I · United States, 1989
After a heart attack, an irregular heartbeat is a warning sign. Doctors had drugs that calmed it, and on the heart monitor the patients looked much better. Then a large trial tested what really mattered: did people live longer? It was stopped early. More people died taking the drugs than taking a dummy pill, called a placebo.
Everyone had been watching the heart monitor. What mattered was whether people lived.
Pause for a second. How could they have known?
What everyone watched: the heart monitor
Act I · Now the crowd is a machine
AI chatbots learned from much of the same writing, so they often share the same blind spots. One study looked at more than 350 AI models. When two of them got a question wrong, they gave the same wrong answer 60% of the time, and the most accurate models were the most alike.
Ask ten of them and you may hear one opinion, ten times over, very confidently. And it reaches our own thinking, towards what we call an epistemic monoculture, everyone knowing things the same way: in one experiment, stories written with ideas from an AI were rated more creative one by one, but came out more alike as a group.
Pause for a second. How could they have known?
When two AIs got the same question wrong
0%
of the time, they gave the very same wrong answer. From a study of more than 350 AI models, on one set of test questions.
Act II · Why we think it will work
In 1785 the Marquis de Condorcet showed that a majority of judges, each right more often than not, becomes almost certain to be right as the group grows, but only if they err independently. Share the errors and the crowd stops improving, however large it gets. So we are building a reasoner that does not learn the way language models do.
This is a bet, stated as one. Below are the three reasons we think it will pay, and the test that will tell us if we are wrong.
Condorcet’s result holds only when errors are independent. Move the shared error below: even a little of it caps what any number of voices can reach. Models trained on much the same text share their errors, so adding more of them adds votes, not evidence.
It never reads text. It practises in worlds whose answers are known exactly and is rewarded only for getting them right, so its blind spots should fall in different places from a language model’s. Should: that is the bet, and what the tests are for.
AlphaGo paired a learned network with search and practice against itself (Silver and colleagues, Nature, 2016). AlphaGeometry paired a language model with a symbolic engine that checks every step (Trinh and colleagues, Nature, 2024). A model that writes, beside a system that checks.
If every voice erred independentlyWith shared error ρvoices in the panel →
An illustrative model of independent judges: with probability ρ (rho) the whole panel shares one judgement, otherwise each voice errs on its own. It is not a measurement of any product, ours included.
What would prove us wrong
The same real questions, answered all three ways and judged blind by people who don’t know which is which, against a bar written down before it runs. If the third doesn’t beat the second, Lemma’s critic hasn’t earned its place, and we will say so here. The test is being designed; how we test.
Act III · Teaching a machine to check
Most AI learns by reading the internet, so it picks up the internet's habits and blind spots too. Lemma learns another way: by practising on millions of made-up puzzles where we already know the right answer. Many of them hide a trap, like a study with a missing piece. Before it decides, Lemma can pay to run checks. It is rewarded for getting the answer right while paying for as few checks as it needs.
This part of Lemma, its critic, is still in the lab. It joins the review only if it passes a fair test that we have written down in advance.

How often each version judged a puzzle correctly, on puzzles it had never practised on.
Version 29 · right 95.8% of the time · 2.2 checks per puzzle · Kept: better on fresh puzzles drawn to judge it, though 0.2 points lower on this chart’s fixed set.
Point at a dot to see what happened to that version. We only keep a new version if it does better than the best so far, and has not got worse at anything it could already do.
Pluck a petalJust believing a study is about as reliable as this: right about half the time.
Fewer checks for a better answer means less time and money spent before you know.
From a coin toss (50%, left) to always right (100%, right). Tap one to read what it is about.
Where the critic stands
Six gates, each a test written down before it runs. It is at the first. What each gate asks.
Its first cases, in public · version 29
Built in: A slow month before the change, so the next month was likely to be better anyway, and no stores left without the redesign to compare against.
Can’t tell yet. Suspects too few cases to tell.
Built in: A validation sample that is half people with the condition, unlike the general population the test is meant for, where the condition is rare.
Can’t tell yet. Suspects it was validated on half cases, ignoring how rare the condition is.
Built in: The pattern publication bias leaves: the smaller the study, the bigger the effect, as if small studies that found nothing were never published.
Holds. Suspects no flaw in how the evidence was gathered.
Made-up figures, each with a trap built in; where its answer misses the trap, that is shown as it happened. The figures and what it would check first.
What it will do inside the review, if it passes
It gives you an answer, fluently and confidently.
Like an independent reviewer, it finds where the answer could be wrong.
It chooses the one check that would settle the question, and tells you when you have checked enough.
These are results from the lab, on practice puzzles, not on real research yet. “Judged right” counts true and false claims equally, so tossing a coin would score 50%. Lemma’s critic is in the lab and is not yet part of the review; it joins only if it passes a fair test written down in advance. Figures from Lemma’s lab records (6c80e4c).
Act IV · What you can use today
Reasoning that plugs into the AI you already use, as an API, an MCP server or a gateway. Your application sends Lemma a question, an answer and its context; Lemma returns a structured assessment: what to challenge, how serious it is, on what basis, and what to do about it. Your application decides what happens next.
Not another model to chat with. Not another interface. Not a platform to move to.
Your application · one call, after your model answers
import { Lemma } from "./lemma"; // or POST /api/v1/review, or MCP
const lemma = new Lemma();
// Your app already has an answer from its own model.
const assessment = await lemma.review({
question,
response: answer,
context: [{ label: "Finance notes", text: notes }],
drafted_by: "claude-sonnet-5-5",
});
// You decide what happens next.
if (assessment.recommended_action === "revise") {
answer = await reviseWithYourModel(assessment.revision_prompt);
}The same call works from Python, over plain HTTP, or as a tool your AI calls through MCP. Lemma never touches your model or your interface.
An example, not a real conversation or response.
Claude, GPT, Gemini, Cohere or your own: the application you already have, unchanged.
One request: the question, the answer and the context it should respect.
An independent reviewer reads the reasoning and returns structure: an assessment, findings with their severity and basis, a recommended action.
Accept it, have your own model revise it, show the findings to a person, or log them. Lemma never takes over your workflow.
What comes back
Sound, challenge or uncertain; a recommended action (accept, revise or qualify); each finding’s type, severity, basis and the method behind it. Structure any application can act on, log or show. And never a made-up probability: when the honest answer depends on something unknown, Lemma says what.
Review API
Send the question, the answer and the context; get the assessment back. One-file TypeScript and Python clients, no dependencies. Get them.
MCP server · five tools
Review reasoning, evaluate claims, identify assumptions, explore alternatives, test an argument: for Claude, OpenAI and any MCP client.
Gateway
Point an OpenAI-compatible client at Lemma: each answer is drafted, assessed and, when needed, revised by your model before your app receives it.
On-demand or enforced
On-demand
Through MCP or tool use, in Claude, OpenAI and other clients. The easiest start, but the model decides, so not every answer is assessed.
Enforced
Through the API or the gateway, after every answer or every answer of a kind. Dependable coverage, for answers people act on.
Works with any model, because Lemma reads the reasoning, not your model. Claude and Cohere are hosted for the gateway and the playground; GPT and Gemini work with your own key. Which way in.
Act V · What comes next
Richard Feynman, the physicist we are named after, liked to say that the first rule is not to fool yourself, because you are the easiest person to fool. We built Lemma to help with that.
The critic judges real studies whose ending is now known, beside a language model and a careful checklist.
It runs beside today’s reviewer on real traffic, its findings logged privately and never shown, to measure what it adds.
The same questions with and without Lemma, judged blind. We publish the result whichever way it goes.
The people in this story who checked
Every fact in this story has its source beside it. The pictures are collage illustrations: none of them is evidence for anything on the page. Lemma’s critic is in the lab and is not yet part of the review.


Get API access
The API is in private beta. Leave your email and we’ll send a key when there’s room. We use your address for that and nothing else.
Have an invitation code? Try the playground. Building already? Read the docs, with pricing and more questions answered.