Jevgrep
dzhng
A CLI that lets coding agents find relevant files and source excerpts by asking a question, powered by the hosted Jev model.
What is Jevgrep?
Jevgrep (the jg command) takes a question about a repository, explores folders, files and declarations, and returns relevant files, reading leads and verbatim source excerpts in one response. Relevance is judged by Jev, a model reached through a provider key (Vercel AI Gateway, TypeSafe, OpenRouter, OpenCode Zen or a custom endpoint). A skill installer teaches Claude Code, Codex, OpenCode and other agents when to call it.
| Fact | Value |
|---|---|
| Maintainer | dzhng |
| GitHub stars | 3,286 (as of 2026-12-02) |
| Forks | 251 |
| License | MIT |
| License type | OSI-open |
| Category | Coding agents and context efficiency |
| Status | Rising |
| Edition | 2026-11 |
| Last verified | 2026-12-02 |
Jevgrep in depth
Coding agents spend a surprising share of every unfamiliar task simply finding the right files. Jevgrep, built by David Zhang (dzhng), is a command-line tool that tries to shorten that phase: you ask where or how something happens in a repository, and it returns relevant files, reading leads and verbatim source excerpts in a single response that an agent can use as a starting point.
Under the hood the jg command explores the repository hierarchy, previews files, and asks a model called Jev to judge relevance across folders, files and declarations. Declaration parsing exists for Python, TypeScript and JavaScript, Go and Rust, with a fallback for other text. The code is a TypeScript monorepo with a written architecture document, an evals folder and an installer that adds a skill for Claude Code, Codex, OpenCode and other agents. Default filtering respects ignore files and skips hidden, dependency, binary and credential-looking files.
It fits teams that already pay for coding agents and work in large or unfamiliar repositories, where exploration cost is visible on the bill. It is less useful when you already know the exact symbol or path, which the README itself says. Everyone else should read the data-flow section first: searches send eligible source content to Jev through the provider you choose, such as Vercel AI Gateway, OpenRouter or OpenCode Zen, and a jg files command previews what would be read without any network call.
The most important caveat for an open-source directory is that the MIT-licensed CLI is only useful together with a hosted model. The repository does not present Jev as open weights, so you depend on a provider key and a third-party service. The cost claim needs care as well: the headline of about 30% lower agent cost comes from ten tuned Python SWE-bench tasks and leaves out Jev's own cost, while the project's later notes report 25.8% lower total cost and then a 2 to 3% higher combined cost for version 0.5.0. Activity has also slowed, with the latest release on 2026-10-01 and the last commit on 2026-11-12.
The verdict: Jevgrep is a carefully engineered and unusually honest piece of tooling around a closed hosted dependency. Adopt it as an experiment if you can measure agent cost on your own repositories and accept sending code to a provider. Skip it if you need offline operation, fully open components, or savings you can take on faith.
Pros & Cons
Pros
- MIT TypeScript monorepo with a documented architecture, an evals folder and written-up benchmark methodology, not just a README
- Careful defaults for what leaves your machine: ignore files respected, credential files and high-entropy secrets excluded, plus a jg files command to preview scope without any network call
- Honest self-reporting: later evaluation notes in the repository revise the headline cost claim downward
Cons
- Needs a provider key and sends source content to a hosted model, so it is not usable offline or with fully local models
- The headline of about 30% lower agent cost comes from ten tuned Python SWE-bench tasks and excludes Jev cost; the project's own later runs show 25.8% lower total cost, then a 2 to 3% higher combined cost for 0.5.0
- Development has slowed: the latest GitHub release is v0.8.0 from 2026-10-01 and the last commit is from 2026-11-12, with 9 open issues
License
MIT (OSI-open)
The CLI is MIT, but searches only work with a paid provider key: relevance is judged by Jev, a hosted model that the repository does not present as open weights, and eligible source content is sent to that provider.
When it is interesting
Teams already paying for a coding agent on large or unfamiliar repositories who want to test whether a retrieval step reduces exploration cost.
When it is too early
Air-gapped or privacy-strict setups, or anyone who expects the savings claims to hold without measuring them on their own codebase.
Commercial alternative & related
- Commercial counterpart: Sourcegraph
This repo featured in the 2026-11 edition of the Open-Source AI Radar.
RTK
rtk-ai
CLI proxy that compresses shell command output before your AI coding assistant sees it, cutting tokens 60-90%.
TOON
toon-format
Token-Oriented Object Notation - a compact serialization format that uses ~40% fewer tokens than JSON.
planning-with-files
OthmanAdi
Crash-proof markdown planning for AI coding agents - persists task state across context loss and /clear.