Hybrid search is worth doing, but it’s oversold. In the small retrieval experiment I ran for this article, combining keyword and fuzzy search made results more consistent without making them more often right first time. That fits the idea behind decision-first tools like Jev: finding candidate evidence is only half the job, and the other half is judging which evidence actually answers the question, and saying “I’m not sure” when none does.
The closest I’ve come to RAG in my own work is uploading files to Claude Projects and asking questions about them. I haven’t built a retrieval pipeline from scratch, which is why I ran the small test below instead of giving opinions.
Retrieval-augmented generation (RAG) puts relevant text in front of a language model before it answers. Most guides stop at “use hybrid search”. This one starts with a test of whether hybrid search really helps, then looks at the step most pipelines skip: deciding whether the retrieved evidence is good enough to answer at all, which is what TypeSafe’s Jev model is built for.

Our Experiment: Does Hybrid Search Actually Help?
Method: on 15 October 2026 we built a small search test in Python. The documents were the real README files of 15 open-source AI projects (n8n, Dify, Langflow, CrewAI, LangGraph, OpenHands, Microsoft Agent Framework, Flowise, AutoGen, MiniCPM, the MCP servers, Codex CLI, Cline, Aider and Continue), split by heading into 254 passages. We wrote 24 questions and decided in advance which project’s README should answer each one. Twelve were “exact” queries such as an install command or package name; twelve were paraphrases that avoid the product’s own wording. We compared three retrievers: BM25 keyword search, character n-gram TF-IDF (which tolerates partial matches), and a hybrid that merges both with reciprocal rank fusion (k = 60). The code was written and run with AI assistance in a cloud sandbox. We did not test Jev itself, which is not publicly available, and we did not use neural embeddings because our environment couldn’t download a model.
| Retriever | Exact: right answer first | Exact: in top 3 | Paraphrase: right answer first | Paraphrase: in top 3 |
|---|---|---|---|---|
| BM25 keyword | 11 / 12 | 11 / 12 | 9 / 12 | 11 / 12 |
| Character n-gram | 12 / 12 | 12 / 12 | 7 / 12 | 10 / 12 |
| Hybrid (RRF) | 11 / 12 | 11 / 12 | 8 / 12 | 12 / 12 |
What I learned from it
- Hybrid was the most consistent, not the best. It was the only method that put the right project in the top three for every paraphrase, but it never won at putting the right answer first: BM25 beat it on paraphrases and the character method beat it on exact queries.
- Fusion can’t rescue a badly wrong retriever. For “pip install agent-framework”, the character method ranked Microsoft Agent Framework first, BM25 ranked it outside the top four, and after fusion it fell out of the top three. The cause was mundane: MiniCPM’s very long README repeats “pip install” many times and outscored the short, correct passage on common words.
- Document cleaning matters as much as the retriever. MiniCPM’s README (about 7,300 words) surfaced near the top for unrelated queries.
- Paraphrases are the hard part. “A coding agent that makes a plan first and then acts” should find Cline, whose README has a “Plan and Act” section. BM25 missed it entirely; the hybrid ranked it third.
It’s a small test (24 questions, 15 documents, one run), so treat it as an illustration, not a benchmark; adding a semantic embedding model would likely help the paraphrases. But the direction is clear: hybrid search improves recall, and something still has to judge whether the top result actually answers the question.
What Hybrid Search Leaves Unanswered
Keyword search wins on exact names, error messages and identifiers; semantic search wins when the user’s wording differs from the source; hybrid combines both, often followed by reranking. None of that answers the questions after retrieval:
- Is this passage actually relevant?
- Is there enough evidence to answer?
- Do the sources agree?
- Should a person review this case?
Those matter most in support routing, compliance checks, document classification and any workflow where the output triggers an action.
What Jev Is
How this section was made: I read TypeSafe’s documentation, Sanity’s glossary entry, explainers from DataCamp and DigitalOcean (DigitalOcean also sells access to Jev), and several public research preprints. I have no access to Jev and haven’t tested it. The RAG designs below are ideas to evaluate, not proven results.
TypeSafe AI released Jev in early access on 15 September 2026 and calls it the first “System One” model. Instead of writing text, it takes text or JSON (the “state”) plus questions you define in code, and returns typed answers with probabilities. All questions in one call are evaluated in parallel and in isolation against the same state.
| Question type | What it asks | What it returns |
|---|---|---|
| Choice | Pick one option from your list | The choice, per-option probabilities and a confidence value |
| Score | Place the state on a rubric you describe | A score, probabilities and a confidence value |
| Noul | Is this statement true? | A probability between 0 and 1 |
Where Jev Could Fit in a RAG Pipeline
Because it answers fixed-format questions, Jev suits the gates around retrieval, not the final written answer. These four roles are my suggestions, not tested designs:
- Evidence gate: “Does this passage contain the answer?” Answer only if the probability clears your threshold.
- Passage selection: a Choice question to pick the best candidate. TypeSafe lists up to 255 options per question; one summary notes the state is limited to roughly 32,000 tokens.
- Claim check: before showing an answer, ask whether a specific claim is supported by the cited passage.
- Routing: use the confidence value to send doubtful cases to a person.
Break big questions down. TypeSafe advises asking each factor as its own typed question and combining the answers in code: for a RAG gate, “does it address the question?”, “does it conflict with another passage?” and “is it current?” rather than one vague “is this good?”. DigitalOcean attributes a rule of thumb to developer Theo Browne: if a person could decide in under ten seconds, it’s a good candidate.
What Independent Evaluations Show So Far
These preprints aren’t peer reviewed, and the model has only existed since mid-September, so treat them as early signals.
- Broad benchmark: zero-shot on 37 datasets (346,009 requests, for under US$10), with 95–99% accuracy on IMDB, SST-2, HellaSwag and ARC and 86.7% on Belebele across 122 languages. Jev beat Qwen3.8-27B on 27 of 37 datasets and Gemma-4-E4B on all 37. All three struggled with low-resource languages, noisy labels and rubric judgments; where Jev was miscalibrated it was almost always overconfident (arXiv 2609.37647).
- Decision gates: Jev trails the best language model on most tasks but costs less and is better calibrated than most comparators (arXiv 2610.00346).
- Agent security: strong overall accuracy, but confident misses on particular attack groups that averages hid (arXiv 2609.33401).
- Medicine: a preliminary benchmark that warns its findings shouldn’t guide clinical care (arXiv 2609.34024).
One preprint reported that tuning the threshold on training data raised micro-F1 on a legal-text dataset from 0.50 to 0.75, so don’t assume a 0.5 cutoff is right.
Claims to Read Carefully
- “Can’t hallucinate” is about format: the output always fits your schema. As Sanity notes, Jev can still choose the wrong option with high confidence.
- Speed and price (70–500 ms; $0.042 per million input tokens, output unmetered) are self-reported. Sanity says the accuracy comparison against frontier models uses agreement with other models as the label, not verified ground truth.
- Vendor-listed weaknesses: unreliable counting, dates treated as text, text-only input, and it needs a bounded answer set.
- It judges only what you show it. A gate can score the passages you retrieved but can’t tell you what retrieval missed, so measure recall separately.
- A number, not a reason. Outputs carry probabilities but no rationale, and the architecture is undisclosed. For audits, log input and decision, and route regulated cases to a person.
What It Might Cost
DataCamp relays a vendor figure of roughly $0.0004 per decision on TypeSafe’s own benchmark. Taken at face value, gating ten passages per query adds about $0.004 per query. That’s arithmetic on a vendor number, not a measured cost; your cost depends on how many tokens each passage adds.
Availability
Sanity reports closed, waitlisted access with no open weights; DigitalOcean also offers Jev through its Model Catalog and Serverless Inference. I found no self-hosted option, and only one build (jev-1.13.0) was published in the sources I read. The medical preprint mentions open-source System One models such as Laya and CLM-8B, so compare before committing.
How to Test This on Your Own RAG System
A test plan, not a result.
- Build a labelled set of 200+ real questions, including ones your documents can’t answer.
- Run your current pipeline as a baseline: retrieval recall, citation accuracy, and how often it answers when it should abstain.
- Compare BM25, embeddings and hybrid on the same set, as in my small test above.
- Add an evidence gate (Jev or an LLM judge) and tune its threshold on a separate validation set.
- Break errors down by document type, language and topic, because averages hide confident misses.
- Record latency and cost per question, and keep a human path for low-confidence cases.
FAQ
Is hybrid search better than BM25 for RAG?
In my 24-question test, hybrid was more consistent (right project in the top three for every paraphrase) but not more often right first time. It’s a recall tool, not a decision tool.
Does Jev replace RAG?
No. RAG supplies evidence; a decision model like Jev could judge it. See System 1 vs System 2 agent harnesses.
Does Jev eliminate hallucinations?
Not wrong answers. Its output always fits your schema, but it can confidently pick the wrong option.
Can I run Jev myself?
Sanity reports it’s hosted only, with no open weights.
Should I use Jev for medical or legal decisions?
Not without independent validation and human oversight.
Related: System 1 vs System 2 AI agents · AI agent infrastructure · Which agent frameworks are still maintained · Which RAG frameworks and vector databases are still maintained
Sources (checked 12 to 15 October 2026)
- TypeSafe documentation: Introduction
- Sanity glossary: Jev (TypeSafe AI model)
- Evaluating and Benchmarking the System One Model Jev (arXiv)
- Benchmarking System One decision models against trained classifiers and language models (arXiv)
- Evaluating System One Models for Agent Security Decisions (arXiv)
- Jev in Medicine: A Benchmark Evaluation (arXiv)
- DataCamp: Jev, TypeSafe’s System One Model Explained
- DigitalOcean: What is Jev?
- README files of the 15 projects listed in the method note, cloned from GitHub on 15 October 2026
