Skip to content

Jev directory

SemDecide

A CLI that turns Jev into Unix pipeline primitives: is, choose, score, filter, and guard commands return typed verdicts, stable exit codes, and versioned JSON without prompt or parsing glue.
Stars
80
Language
Python
License
MIT
Reading time
4 min
Published by
Community
Author
sharziki
Last verified
Sep 2026

About this project

Typed semantic decisions for Unix pipelines and CI, powered by TypeSafe AI Jev. SemDecide is grep for meaning and jq for judgment. Pipe in text or JSONL and get a predicate, route, score, filtered stream, and stable process exit code without writing prompt, parsing, retry, or confidence-handling glue. Exact string rules cannot express concepts such as: “This customer is likely to churn.”. “This change introduces a breaking API behavior.”. “This record may describe account takeover.”.

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

Highlights

  • Commands cover semantic predicates (is), routing among named options (choose), ordered rubrics (score), JSONL filtering (filter), and agent safety (guard).
  • With --json, results carry a schema_version, probability, threshold, model id, and token usage; failures emit a versioned error object on stderr.
  • Input is rejected before Jev if it is empty, binary, invalid UTF-8, oversized, or malformed; defaults are 1,000,000 bytes, a 10 s timeout, and 2 retries.
  • The guard recipe checks authorization, destructiveness, ambiguity, secret exposure, and consequence, then local code returns allow, escalate, or block.
  • The runtime is dependency-free and installs from the signed-off GitHub release wheel because it is not yet on PyPI.

Quickstart

bash
printf '%s' 'Login from a new country, followed by payout changes.' \
  | semdecide is 'This describes a plausible account takeover'

Watch out

MIT-licensed and independent, not an official TypeSafe product; needs Python 3.10+ and a TYPESAFE_API_KEY, and the README warns it is not an authorization system, sandbox, or security proof.

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.

Facebook: Intake Router keeps diagnosis out of the answer space at the front desk.

FacebookClinicnotes

YouTube: Kubernetes admission control with a decision model, fail-closed.

X: OpenRouter Decision Model Rankings

X: herdr + jev, an agent router

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