Skip to content

Jev directory

Jgrep — kyu1204

A semantic grep CLI that chunks files or staged diffs into 5-60 line pieces, packs 16 chunks and 16 Jev Noul questions into one request, and prints file:line hits above a probability threshold with grep-style exit codes.
Stars
60
Language
TypeScript
License
MIT
Reading time
4 min
Published by
Community
Author
kyu1204
Last verified
Sep 2026

kyu1204/jgrep

User repository on GitHub

View on GitHub

grep for what code does, not what it's called. Semantic code search powered by TypeSafe Jev.

Forks
5
Last pushed
Updated Oct 2026

Repo stats from the GitHub API, cached Oct 2026.

This is one of several Jev listings for the same project. The canonical entry is Jgrep — keltokhy.

About this project

grep for what code does, not what it's called. Gate PRs on it. Run only the tests a diff can affect. No index. No embeddings. No LLM round-trips. A whole src/ tree in 2 s for about a cent. On five OSS repos, --tests picked 12% of the test files and still caught over 90% of the tests each commit's author changed, for $0.11 across 60 commits (bench). Not @dzhng/jevgrep (jg), a separate code-discovery CLI. This project is jgrep, published on npm as jevgrep.

Quoted from the project's README. Read the full README.

Highlights

  • No index, embeddings, or LLM round-trips: a whole src/ tree searches in about 2 seconds for roughly a cent.
  • Packs 16 code chunks and 16 Noul questions into one request at $0.042 per million input tokens with output free.
  • Works on git diffs too, so rules written in English can gate CI; exit status is grep's (0 matched, 1 nothing, 2 error).
  • --tests selects affected test files in three layers; on a 142-file suite it chose 47 files and 536 cases versus 1,420 in the full run.
  • Also scores CSV/JSONL rows with Noul, Choice, and Score questions from a JSON file; jgrep init can install a Claude Code or Codex skill.

Quickstart

bash
npm i -g jevgrep
jgrep init
jgrep "catches an error and silently ignores it" src/
jgrep --diff origin/main "adds an HTTP endpoint that has no auth check"

Watch out

MIT-licensed. Needs Node.js and a TypeSafe API key; every chunk's text is sent to TypeSafe's API, chunks are judged in isolation so cross-file questions will not match, and accuracy is lower on non-English text.

Questions about this entry

Short answers drawn from the linked project or page.

Reactions & coverage

Posts, threads, and videos about this entry from around the web.

X: Decision outputs in Grep

X: LinkedIn bookmarks search

Hacker News: jevmem keeps Claude Code project memory by asking Jev which turns are worth saving.

avinashjetwani61 pointsJevmem – automatic project memory for Claude Code, built on JevRead the thread on Hacker News

X: 1,066 reaction videos, searchable

From the Jev guides

Original write-ups on what this entry is for.

From the Jev AI model community

Posts from builders shipping with Jev right now.

Follow @typesafeai