Claimed result
- Hassan's (@nutlope) anti-fraud pipeline: 100 emails classified in 1.42 s; the 31 below 95% confidence go to Kimi K3. Result: 96/100 correct in 16 s for ~$0.07, of which Jev is a third of a cent.
- TypeSafe (the producer): 193.6× faster and 444.6× cheaper on its own tests (declared as the maximum to expect); a cascade estimate of $6,480 instead of $30,400 per million tickets.
- Fan-out: 13 questions on a 53,777-character document in a single call = 12.2× cheaper and 10× faster than 13 calls.
Proof: medium. Numbers from public cases (Hassan's GitHub repo) and from the producer; no savings case measured by the author on a system of his own.
The key idea
Open an agent's transcript and count the moments when the model isn't creating anything: which tool next, is this source relevant, did the test pass, is the command safe, is the task finished. They're the majority and each one is paid for like a full generation from a frontier model. Jev (trained with RLCD, learning for calibrated decisions: answers given at 90% are right about 9 times out of 10) takes these calls; the big model stays for creating and for uncertain cases.
Step-by-step playbook
- Sort every agent step into 4 buckets: create (stays with the LLM), exact rule (stays in code), choose among known answers (→ Jev), irreversible (stays with you). The third is always bigger than expected.
- Three question types: Choice (pick from a list), Score (ordered scale), Noul (yes/no, probability of yes).
- All related questions in one call ("speculative fan-out"): they're evaluated in parallel on the same state, which travels only once. Limits: questions don't read each other's answers; questions on different states go in separate calls.
- Writing questions well is the real skill:
- the question ID doesn't reach the model: the meaning goes in the instructions;
- one judgment per question; combined cases are joined in code;
- describe situations, not degrees ("mentions a cancellation or a chargeback", not "very angry");
- each level of a scale must stand on its own;
- Noul questions phrased so that "high" means "yes";
- always an exit ("other"/"none") in every Choice;
- point to the exact field with backticked paths (
order.charges); - filter the state in code: too much irrelevant text lowers accuracy; - turn extraction into selection (give the list of known suppliers and ask which one). - Know where it fails (TypeSafe's "jaggedness" page): Jev can't return an off-schema value, but it can choose the wrong valid value. That's what thresholds and a second model are for.
- A 4-level cascade, stopping at the first confident one: code → Jev → Kimi K3 (1M-token context at a fixed price, reads PDFs and images that Jev doesn't, open weights) → a person. K3 receives Jev's hypothesis as context; if both are uncertain, you see the two answers side by side.
- Integrate into the framework you already have: LangChain (
langchain-typesafe: ModelRouterMiddleware picks the cheapest suitable model, AutoModeMiddleware checks the risk of each tool call), Pydantic AI (Agent("typesafe:jev-latest", output_type=...)with FallbackModel), Vercel AI SDK (experimental_evaluate). - Thresholds per action, not per model: e.g. 0.5 as the minimum for human review, 0.9 before any destructive action.
- Shadow week: Jev labels while the old system decides; compare by confidence band; the 0.9+ band becomes automatic first.
- Pin the version (
jev-1.13.0, notjev-latest) and log everything: model, distribution, threshold, level that answered, outcome. The log becomes the evaluation set. Treat questions like code (versioned and tested). - Swarm: with Kimi K3 Agent Swarm (up to 300 sub-agents) Jev decides between turns which role starts, which results to keep and whether the goal has been reached; the "are we done?" check after each turn costs fractions of a cent.
Tools and costs
| Item | Cost / data |
|---|---|
| Jev | $0.042/M input tokens, output free; 70–500 ms |
| 10,000 decisions of 1,000 tokens | $0.42 |
| Limits | ~64k tokens per request (state + longest question ≤ 32k, about 150,000 characters of English); text only (strings, JSON, arrays); 1,200 requests and 250,000 tokens per second on jev-1.13 |
| Kimi K3 | Moonshot API, Together or self-hosted |
| Example repo | github.com/Nutlope/jev-fraud |
The author's math ("The Math" section): 10,000 emails a month, assuming ~1,000 input tokens per email with Jev, versus 1,500 in + 300 out for a call to a full model, with 10% of cases escalated to the big model: the cascade costs a fraction of the full call on every email (the table is an image). TypeSafe's estimate reaches the same point at scale: ~$6,480 instead of $30,400 per million tickets.
In short: split every step into create / exact rule / choose among known answers / irreversible; move the third bucket to Jev; all related questions in one call; criteria written as situations with an exit option; confidence routing action by action; whatever Jev isn't sure about goes to Kimi K3; irreversible actions stay with you. Start from a decision your agent makes fifty times a day.
What sells, according to the author: the fastest is the agent cost audit (showing a team which calls to move to Jev).
Limitations
Many numbers come from the producer; direct access was suspended due to excess demand; Italian performs worse than English; the real savings depend on how much of your agent is truly "decision".