Outputs are real runs, copied from the README. Scenes marked ★ new are new since 0.4.0.
Try it in your browser
The real sys1grep, running in this page on a small sample folder. Jev's answers are a recording, so the examples cost nothing and need no key; a meaning you type yourself finds nothing it was not recorded for. Open it full page.
Why it is different
🌐 Language-agnostic
A Japanese meaning finds French, Russian, Chinese and Korean lines. No translation step, same speed, same cost.
⚖️ Propositions, not topics
Jev reads the line and the question together, so negation and “asked for” vs “already done” change the answer. Embeddings can only measure closeness.
🧮 Real booleans
Each meaning yields an independent probability, so AND / OR / NOT are plain boolean operations. One threshold (0.5) works across queries.
📦 Zero dependencies
Node.js 20.16+ and fetch. 30 lines per request, 8 requests in parallel (1 for a local URL). No index to build.
✂️ Lines, sentences, records new
--unit=sentence-by-jev finds sentences across line breaks and, with --color, colors just the matching sentence inside a line; -z judges NUL-terminated records like git log -z.
🎯 Find the answer new
-Q / --question finds lines that answer X, where -e X finds lines that say X. -q stops at the first match, like grep -q.
🔣 Regex terms new
-P '/ERROR|FATAL/' runs locally for free, prefilters what Jev sees, and hands captures to meanings as $<name>: -a '$<time> is at night' asks each line about its own time.
🗜️ One request per template new
--dedup folds machine logs by skeleton: a 43,071-line system log becomes 550 templates, 1.2% of the bytes.
💸 Send only what matters new
Narrow before you pay: --include / --exclude, --changed-within=7d, .gitignore, binary and secret skips, regex terms, --dedup, --cache (a request sent before costs nothing). --dry-run / -i show the totals first.
♻️ Never pay twice new
--cache keeps Jev’s answers on your machine, so the same search again sends nothing and costs nothing. --cache=only answers from the cache alone.
🌿 git sys1grep new
git sys1grep searches tracked files like git grep. SYS1GREP_OPTS sets default options; --sys1-url / --sys1-model override the endpoint per run.
📜 Commits too new
-g searches git log's commits, one record each; a time, language or author in the meaning becomes git log's own arguments.
🧩 One function at a time new
--unit=function judges each function as one unit and prints its lines. Ask about what a function does, not what one line says.
🧭 Function to function new
--step-to walks the calls from the functions one expression matches to those another matches; --step-reverse-to walks back.
🏅 Best first, or a summary new
--rank prints the results best first, as text, Markdown or an HTML page; --summarize hands the matches to a small model and prints its answer instead (--summarize=ask decides after seeing them).
🏠 Summaries on your machine new
--summarize=ollama or =lmstudio hands the matches to a local model, so the summary step runs on your machine.
🔍 A search page new
--serve opens a page on 127.0.0.1 with the meanings, options and the command line to copy; with no target it searches a small bundled sample.
🔑 Any endpoint
TypeSafe by default; OpenRouter, Vercel AI Gateway or any server that speaks POST /v1/systemone via SYS1GREP_URL.
🤖 Claude Code skill
Describe what you want in plain words; the skill builds the expression, runs it and reports file:line hits.
Get started
# install (or just use npx) npm install -g @uehaj/sys1grep # API key from https://console.typesafe.ai/ export SYS1GREP_API_KEY=your-key # search the files git tracks, like git grep git sys1grep -l -e "customer is asking for a refund" # other endpoints: set the URL and its key together export SYS1GREP_URL=https://openrouter.ai/api/v1/systemone SYS1GREP_API_KEY=sk-or-... # meanings combine: (A and B) or C, and NOT with -v sys1grep -n -e "network or remote connection failure" -v "a retry is happening" app.log
# as a Claude Code skill claude plugin marketplace add uehaj/uehaj-marketplace claude plugin install uehaj@uehaj-marketplace # then, inside Claude Code /uehaj:sys1grep customer is asking for a refund tickets/*.txt
Every line searched is sent to the TypeSafe API (or the endpoint in SYS1GREP_URL).