jevpipe
A Unix-style CLI filter that sends lines or files to the Jev model and returns yes/no, choice, or score decisions for agents to use at scale.
At a Glance
About jevpipe
jevpipe is an open-source command-line tool by fabianboth that lets an agent offload bulk judgments to a fast, low-cost decision model. It reads lines from a pipe or files, asks questions about each record, and prints matching lines or typed JSON. The latest release listed is v0.2.1.
What It Is
jevpipe is a Unix filter that pipes records into Jev, TypeSafe AI's calibrated decision model, accessed through OpenRouter or TypeSafe's own API. Each line, or each file when --read-files is used, is judged on its own. The README frames it as giving an agent a "System 1" so it can decide across thousands of items without reading everything itself. It is an independent project, not affiliated with or endorsed by TypeSafe AI.
Commands and Workflow
jevpipe filter "question" asks one yes/no question and prints the lines answered yes, like grep. jevpipe map asks several typed questions (yes/no, a single choice, or a score) and prints one JSON line per record, which can be piped into tools like jq, sort and uniq. Input can be commit messages from git log, log files, lists of file paths, or inbox exports. Documented use cases include semantic code search, CI failure triage, diff review, issue labeling, support routing, comment moderation, and paper screening.
Setup and Cost Controls
Install the CLI with uv or pipx, store an API key in the system keychain or set an environment variable, and optionally install an agent skill with npx skills add or the GitHub CLI. Each record is one request billed to the user's OpenRouter or TypeSafe credit. Options such as --max-cost and --max-tokens stop a run at a spending limit and report where to resume. Up to 100 records run concurrently.
Benchmarks
The README cites an independent study comparing Jev with general LLMs on classification, and its own code-search benchmark against grep and an LLM; these figures are vendor-cited and should be read as such.
Community Discussions
Be the first to start a conversation about jevpipe
Share your experience with jevpipe, ask questions, or help others learn from your insights.
Pricing
Open Source
jevpipe CLI licensed under MIT OR Apache-2.0 (OSI-approved); users pay separately for OpenRouter or TypeSafe API usage.
- Dual licensed Apache-2.0 or MIT, at your option
- filter and map commands
- Requires your own OpenRouter or TypeSafe API key (external cost)
- --max-cost spending cap option
Capabilities
Key Features
- filter command for yes/no questions that prints matching lines like grep
- map command for typed answers (yes/no, choice, score) as JSON lines
- Reads from pipes, files, or file paths via --read-files
- Concurrent processing of up to 100 records
- Spending caps via --max-cost and --max-tokens with resume info
- Installable agent skill that teaches agents when to use it
- API key stored in system keychain or environment variables
- Per-run summary of records, tokens, cost and time
