jev
Answer questions about a codebase without reading it into the agent's context.
A Claude Code plugin backed by TypeSafe's Jev — a small
model that returns calibrated probabilities instead of prose, at $0.042 per
million tokens. It reads your files so the agent doesn't have to.

Every turn is checked. Only searches and large reads are taken over — an
Update, a Bash, a file under 400 lines pass straight through. The panels
in it are a diagram, not the UI: the plugin is a hook and draws nothing.
$ jev find "where is the register flow"
127 files scanned, 4 match:
0.95 internal/app/api.go:81
0.95 mobile/lib/screens/join.dart:71
0.95 internal/app/app.go:341
0.91 web/templates/join.html
That repository contains the string register zero times. The flow is called
signup, and the UI is in French.
Install
Needs Go 1.22+ and a TypeSafe API key.
claude plugin marketplace add BorisLeMeec/jev
claude plugin install jev@jev
Then, once:
export TYPE_SAFE_AI_KEY=... # put this in your shell profile
To use jev from your own terminal too (the plugin only puts it on PATH
inside Claude Code):
make install # builds and copies to ~/.local/bin/jev
jev probe # verify the API contract, prints raw + decoded response
Why
An agent does not pay for context once. Every file it reads is re-sent with every
later request. Measured across nine real Claude Code sessions:
| tokens |
|---|
| cache reads — context re-sent | 422,164,852 |
| cache writes | 14,899,661 |
| output | 2,989,998 |
| all tool results combined | 196,317 |
Average context re-sent per turn: 183,740 tokens. Tool output was 0.04%
of the total.

So shrinking tool output is not where the savings are. A 3k-token file read with
100 turns to go costs ~300k tokens before the session ends. Keeping those bytes
out of context in the first place is the lever.
Results
| quality | tokens | wall-clock |
|---|
jev find | P@1[^p1] 0.96 vs 0.33 for BM25, 0.08 for grep | −30% billed | ≈ 0 |
jev ask | precision 1.00, F1 0.97 vs 0.81 for grep | −38% billed, −70% context | ≈ 0 |
| Read hook | 50 narrowed windows, 0 lost targets | −41% billed, −78% context | +1.25 s/read |
On queries whose wording never appears in the code — the case this exists for —
grep and BM25 both collapse to 0.08 P@1 while jev holds 0.92. Each tool
carries its full evidence below, and every
number links to the file it came from.

These tools save tokens, not time. Wall-clock is a wash: the ~13 s a find
costs roughly cancels the turns it removes. The tokens those turns would have
parked in context are gone for good; the clock barely notices. Full numbers in
bench/.
What you get
jev find — locate code by describing it
jev find "where is the register flow"
jev find "the code that rotates uploaded photos" internal/
jev find "rate limiting" --min 0.8 -n 5
Every file is screened from its declarations, the leading candidates are
re-scored against their full contents, then the winners are split into chunks to
find the line. A score marked ~ skipped verification.

Measured — 30 queries, 3 repositories, 2 of them never opened during
development (RESULTS.md):
| grep | BM25 | jev |
|---|
| P@1, 24 answerable queries | 0.08 | 0.33 | 0.96 |
| P@1, vocabulary gap (12) | 0.08 | 0.08 | 0.92 |
| P@1, ordinary phrasing (12) | 0.08 | 0.58 | 1.00 |
| R@5[^r5] | 0.29 | 0.43 | 0.84 |
| MRR[^mrr] | 0.23 | 0.46 | 0.98 |
A vocabulary gap query is one whose key noun appears in zero files. Both
lexical methods drop to 1 correct answer in 12 — chance — and no amount of
lexical cleverness reaches those queries. On ordinary phrasing BM25 is a real
competitor for nothing per query.
no match in N files is a real answer. On six queries asking for a feature the
repository genuinely lacks, jev returned nothing 6 times out of 6; grep and
BM25 offered 5 files every time, because a lexical method cannot report absence.
What that saves is measured on agents, not rankings — 7 tasks, each run twice
with an identical prompt except for one line
(TOKENS.md):
| grep arm | jev arm | |
|---|
| billed input tokens (mean) | 212,799 | 149,620 | −30% |
| turns | 12.4 | 9.1 | −26% |
| correct answers | 7/7 | 7/7 | equal quality |