Jev-powered semantic code search for coding agents — find behavior across repositories via CLI or MCP, with exact source excerpts and line numbers.
# Add to your Claude Code skills
git clone https://github.com/nassim-arifette/jevgrepjevgrep is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by nassim-arifette. Jev-powered semantic code search for coding agents — find behavior across repositories via CLI or MCP, with exact source excerpts and line numbers. It has 118 GitHub stars.
jevgrep's catalog security scan is still queued. You can run an instant dependency and prompt-injection check now with the "Scan for vulnerabilities" button above.
Clone the repository with "git clone https://github.com/nassim-arifette/jevgrep" and add it to your Claude Code skills directory (see the Installation section above).
jevgrep is primarily written in TypeScript. It is open-source under nassim-arifette on GitHub, so you can review or fork the full source.
Yes. AgentsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh jevgrep against similar tools.
No comments yet. Be the first to share your thoughts!
Unlocks once the catalog security scan passes (runs nightly).
The deep catalog scan for this skill is still queued. Run an instant dependency check now instead.
JevGrep finds code from a description of what it does. Ask something like "Where is session expiry handled?" and it returns the source lines that answer it, with file paths and line numbers. You can run it in a terminal or add it to Claude Code, Codex or another MCP client, so your coding agent can look things up instead of opening one file after another.
grep and rg work well when you know the name to search for. Often you only know
what the code is supposed to do:
JevGrep is built for that kind of question. Results are verbatim excerpts with
path:start-end, so you or your agent can open the file and carry on from there. For
an agent, one tool call stands in for a long walk through the repository, and the
answer stays within a token budget you set. Every eligible UTF-8 text file is scored,
configuration and tests included. Nothing is sent until you have authorized the
repository and had the chance to check what would leave your computer.
The recorded comparison used 55 real questions on six open-source repositories (21 in Python, 34 in Go and Rust). Mean evidence recall@5 (R@5) averages the fraction of each question's required evidence units covered by its first five results. Finding one of three required units gives 1/3 recall. Hit rate@5 counts questions with any required unit; complete-evidence success counts questions with every required unit. Those are separate metrics in new benchmark reports.
| Tool | Evidence R@5 Python (21) | Evidence R@5 Go/Rust (all 34) | Go/Rust completed | Recorded cost / question | Recorded time / question |
|---|---|---|---|---|---|
| JevGrep, 8000 tokens + whole declarations | 0.877 | ≈0.778 | 32/34 (94.1%) | $0.005 | 4 s |
gpt-6.1-terra given the whole repository, medium |
0.894 | 0.694 | 34/34 | $0.12–0.23 | 12–15 s |
gpt-6-luna given the whole repository, no reasoning |
0.803 | 0.648 | 34/34 | $0.01–0.02 | 3–4 s |
CodeGraph query |
0.491 | 0.319 | 34/34 | free, needs an index | 1 s |
| BM25 | 0.429 | 0.338 | 34/34 | free | < 0.1 s |
| ripgrep | 0.325 | 0.244 | 34/34 | free | 0.3 s |
All 21 Python searches completed. The Go/Rust column counts JevGrep's two capped searches as zero: ≈0.778 is derived from the rounded completed-search recall 0.827 × 32/34, rather than a newly measured result. On the matching 32-question subset, Terra, Luna and JevGrep scored 0.737, 0.688 and 0.827 respectively.
JevGrep's row comes from the 2026-11-04 offline replay at 8000 response tokens with whole declarations; its original 4000-token live run scored 0.851/0.687 among completed Python/Go/Rust searches (Go/Rust 0.646 including the two failures). See the response budget, whole declarations, CodeGraph and models alone reports. Model-only arms returned up to ten ranges; returned context budgets were not matched. These historical quality figures have not been rerun for the current correctness, cache and response-refill changes.
A separate recorded study searched six repositories of 1 to 7.6 million tokens using 50 questions from real issues, with the held-out half frozen before the run:
| Repository | Language | Tokens per scan | Evidence R@5 | Recorded cost / question | Recorded time / question |
|---|---|---|---|---|---|
| prometheus | Go | 1.1M | 0.83 | $0.05 | 6 s |
| hugo | Go | 1.0M | 0.86 | $0.04 | 20 s |
| lombok | Java | 1.0M | 0.78 | $0.04 | 30 s |
| nushell | Rust | 2.1M | 0.79 | $0.09 | — |
| ruff | Rust | 3.6M | 0.90 | $0.14 | 27 s |
| lucene | Java | 7.6M | 0.88 | $0.25 | 23 s |
Times are through the Vercel AI Gateway at concurrency 16. prometheus, ruff and lucene were measured with the code used in that report (before the local batching, windowing and worker-pool fixes they took 20 s, 3 min and 7 min); hugo and lombok are from before those fixes; nushell was measured on a slower route only. Method, every number and the misses are in the hard set report.
We also kept JevGrep and swapped only the model that scores each fragment, on 65 searches. "No answer" is the share of questions with no answer in the repository where nothing is returned; false-premise coverage is the mean fraction of required counterevidence recovered for questions built on a wrong assumption.
| Judge inside JevGrep | Evidence R@5 | No answer (6 planned) | False-premise coverage (14 planned) | Recorded cost / search | Recorded time / search |
|---|---|---|---|---|---|
| Jev 1.13 / 1.14 | 0.91 | 100 % | 100 % | $0.002 | 6–7 s |
| Luna Decisions | 0.93 | 67 % | 75 % | $0.005 | 4.6 s |
gpt-6-luna, no reasoning |
0.95 | 100 % | 77 % | $0.004 | 8 s |
gpt-6-luna, medium |
0.93 | 67 % | 100 % | $0.004 | 13 s |
gpt-6.1-terra, no reasoning |
0.96 | 50 % | 100 % | $0.042 | 12 s |
gpt-6.1-terra, medium |
0.96 | 33 % | 100 % | $0.043 | 13 s |
The OpenAI judges find slightly more, but they return code when the repository has no answer. Jev is the only judge that passes both checks, at 2 to 20 times lower recorded cost. These are small samples; incomplete searches were excluded from quality, including six searches with invalid JSON for Luna without reasoning. Historical request-time sums may omit retries and backoff; new benchmark reports record every attempt, wall time, and unknown usage separately.
The methodology, every number and the scripts to rerun them are in models alone, CodeGraph and judges. These are single runs on a modest question set, so treat small gaps as noise.
You need Node.js 24 and an API key from one of the supported providers: TypeSafe AI, Vercel AI Gateway or OpenRouter.
npm install -g @nassim-arifette/jevgrep
The unscoped
jevgreppackage on npm belongs to a different project. Install the scoped name above; the command is stilljevgrep.
jevgrep init --global # TypeSafe AI (default)
jevgrep init --global --provider vercel # or Vercel AI Gateway
jevgrep init --global --provider openrouter # or OpenRouter
The key goes in your user configuration directory, never in a repository. Terminal
key entry is hidden. To replace the stored key for the selected provider, run
jevgrep init --global --replace-key; add --provider <name> to choose another
provider. This prompts for a new key even when an old environment key exists.
Environment variables still take precedence when searches run.
cd path/to/my-project
jevgrep init
JevGrep asks before it sends anything:
Allow sending eligible source excerpts from this repository to Vercel AI Gateway? [y/N]
Answer y to start searching. If you would rather check first, press Enter and run
jevgrep inspect to see which files would be sent (more in
Privacy). Then rerun jevgrep init and
answer y; tuned settings and the existing project provider are preserved.
jevgrep search --query "Where is session expiry handled?"
Each matching excerpt is printed with its location and a relevance score. Here is a real run on this repository:
$ jevgrep search --scope src --query "Where is filesystem access controlled, and what prevents path escapes?"
jevgrep: complete
coverage: scope src | files 45/45 eligible | 170 fragments | coverage complete
4 excerpts
src/source/authorization.ts:201-281 score 0.96
#resolveWalk(normalized: string): Walk {
this.assertCurrent();
...
const canonical = fs.realpathSync.native(candidate);
if (!contained(canonical, this.path)) return fail('outside_root', normalized);
...
src/cli-args.ts:57-108 score 0.95
...
# Look only in some folders
jevgrep search --query "How are permissions checked?" --scope src --scope tests
# Machine-readable JSON for scripts and agents
jevgrep search --query "Wh