Skip to content

Jev directory

Jgrep — keltokhy

A grep-style CLI where the pattern is a plain-English description: each line becomes one Jev Noul question, judged concurrently with matches printed in input order, working on tail -f as well as files.
Stars
138
Language
Python
License
MIT
Reading time
3 min
Published by
Community
Author
keltokhy
Last verified
Sep 2026

About this project

grep, but the pattern is a description. Each line becomes one yes/no question to Jev, TypeSafe's decision model. Jev does not generate text. It returns a probability in about 200 ms for about a thousandth of a cent, which is fast and cheap enough to sit in a pipe. jgrep reads lines as they arrive, judges them concurrently and prints matches in input order, so it works on tail -f as well as on files.

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

Highlights

  • Reads lines as they arrive, judges them concurrently, and prints matches in input order, so tail -f works like a file.
  • On 994 Hacker News titles one description took 4.6 seconds and $0.012, and three descriptions at once took the same time.
  • Modes judge paragraphs, whole files, JSONL and CSV fields, diff hunks, and Go, C, or Python functions, with -C to include neighbours.
  • Keys come from TYPESAFE_API_KEY or OPENROUTER_API_KEY, from ~/.config/jev/*.key, or from a gateway or local server selected with --api.
  • A budget defaults to $1.00 or JGREP_BUDGET, -p sets the match threshold, and --stats prints what the run cost.

Quickstart

bash
uv tool install jev-grep
export TYPESAFE_API_KEY=YOUR_API_KEY
jgrep "a user is getting frustrated" app.log
jgrep -o "announces or releases a new AI model" titles.txt | sort -rn | head -3

Watch out

MIT-licensed. Needs Python with uv and a TypeSafe, OpenRouter, or gateway key; records are limited to --max-chars unless --chunks is used, and Go or C parsing needs the code extra.

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: LinkedIn bookmarks search

X: 1,066 reaction videos, searchable

X: Intent-based search in a Chrome extension

X: Margin, bookmark search

Other listings of this project

Forks and copies of this project in the directory. This entry is the canonical one.

60GitHub stars
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.
Jev Tools & CLIs#community#typescript#cli

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