Skip to content

Jev directory

Fuzzy Jev

A CLI, Rust library and Python package that asks Jev typed Noul, Choice and Score questions through OpenRouter, then turns the probabilities into decisions with fuzzy rules — AND, OR, NOT and hedges into a support score per decision, or a crisp amount — and can draw the rule base as SVG.
Stars
1
Language
Rust
License
MIT
Reading time
3 min
Published by
Community
Author
dsaad68
Last verified
Oct 2026

Highlights

  • One request answers every question in parallel: each sees the same state, so an extra question costs a few tokens and no extra round trip.
  • rules.toml reads each probability as a degree of truth and combines them with AND, OR, NOT and hedges; a support score is the policy's, not a probability.
  • The sample run judges a payouts complaint: is_urgent 0.95, department billing at 0.84 confidence, frustration 1.04 of 2 — 427 input tokens for $0.000018.
  • Ships as a jev CLI, a Rust library that also compiles for wasm32-unknown-unknown, a Python package imported as jev, and an Agent Skill written by jev add skill.
  • Talks to the OpenRouter decisions endpoint by default and to any compatible endpoint via --url; --svg draws the whole rule base.

Quickstart

bash
export OPENROUTER_API_KEY=sk-or-...

jev 'Help! My payouts have been failing for 3 days.' \
  --noul 'is_urgent=Does this message convey urgency?' \
  --choice 'department=Which team should handle this?|billing:Payments, invoicing, refunds|technical:Bugs, outages, integrations|sales:Pricing, upgrades, new accounts' \
  --score 'frustration=How frustrated is the customer?|Calm|Frustrated|Very angry'

Watch out

Grounded on the truncated README and GitHub metadata read on 2026-10-15; the capture stops inside the installation section right after a cargo line, so the exact cargo install command is not quoted and only the PyPI route is shown in full. The token and cost figures are the README's own sample output, not a benchmark.

Questions about this entry

Short answers drawn from the linked project or page.

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