jev-style-adopt
Find LLM API calls in a codebase that only return a decision (a category, yes/no, or a 1-5 rating) and move them to the local…
Call the local Jev-Style decision model (systemone-compatible API, default http://127.0.0.1:8765) to answer typed questions about text or JSON - yes/no probabilities (noul), one-of-N choices, ordered scores - for routing, classification, gating, triage, guardrails and scoring.
Claude Code
$ npx -y skills add lawrence3699/jev-style --skill jev-style --agent claude-code
Codex
$ npx skills add lawrence3699/jev-style --skill jev-style -a codex -y
Cursor
$ npx skills add lawrence3699/jev-style --skill jev-style -a cursor -y
Gemini CLI
$ npx skills add lawrence3699/jev-style --skill jev-style -a gemini-cli -y
GitHub Copilot
$ npx skills add lawrence3699/jev-style --skill jev-style -a github-copilot -y
OpenCode
$ npx skills add lawrence3699/jev-style --skill jev-style -a opencode -y
Windsurf
$ npx skills add lawrence3699/jev-style --skill jev-style -a windsurf -y
name: jev-style description: Call the local Jev-Style decision model (systemone-compatible API, default http://127.0.0.1:8765) to answer typed questions about text or JSON - yes/no probabilities (noul), one-of-N choices, ordered scores - for routing, classification, gating, triage, guardrails and scoring. Use when writing code that classifies, routes, scores or checks text with a small local model, when replacing an LLM call that only returns a label, or when the user mentions jev-style, /v1/systemone, noul, choice or score questions.
Jev-Style is a family of small decision models that run on the user's machine (default release Jev-Style-0.8B-Decision-v3; `--release 2b` = Jev-Style-2B-Decision-v4). They do not generate text. A model reads a **state** (text or JSON, up to 25,600 tokens; the 2B v4: up to 32,768 tokens, and images) and answers **typed questions** about it with calibrated probabilities, in one forward pass. Use it where code needs a fast, cheap, structured judgement; keep using an LLM for writing.
| Type | Answer | Use for | |---|---|---| | `noul` | `noul` = P(statement is true), 0..1 | checks, gates, "is this X?" | | `choice` | `choice` + `probabilities` per option + `confidence` | routing, labels, picking a candidate | | `score` | `score` = expected level index + `probabilities` + `legend` | ordered ratings on 2..10 levels (e.g. review quality); measure it on the user's own labels first, the models are stronger on `noul` / `choice` |
curl -s http://127.0.0.1:8765/healthz # {"status": "ok", "model": "jev-style-0.8b-decision-v3", ...}
# (or "jev-style-2b-decision-v4" with --release 2b)If not, use the `jev-style-serve` skill, or ask the user to run `jev-style serve` (it loads the model; do not start a second copy). If `healthz` reports `"model": "jev-style-fake"`, the server runs the fake engine: answers are deterministic noise, fine for wiring tests, meaningless as decisions.
One request = one state + any number of named questions. The state is read once, so ask all questions about the same state together.
curl -s http://127.0.0.1:8765/v1/systemone -H 'content-type: application/json' -d '{
"state": "Hi, I was billed twice for my March plan. Please refund one of them today.",
"questions": {
"refund": {"type": "noul", "instructions": "The customer asks for money back."},
"team": {"type": "choice", "instructions": "Which team should handle this?",
"criteria": {"billing": "charges, refunds, invoices", "tech": "bugs, outages", "sales": null}},
"topic": {"type": "choice", "instructions": "What is the message mainly about?",
"criteria": {"double_charge": "charged more than once", "cancellation": null,
"other": "none of the above"}}
}}'Python (`pip install jev-style` is enough for this client; running the model yourself needs `"jev-style[torch]"`, or `"jev-style[mlx]"` on Apple silicon; or just `httpx`/`requests`):
from jev_style import JevStyle, noul, choice, score
js = JevStyle(base_url="http://127.0.0.1:8765")
out = js.decide(ticket_text, {
"refund": noul("The customer asks for money back."),
"team": choice("Which team should handle this?", {"billing": "charges, refunds", "tech": "bugs", "sales": None}),
"phishing": noul("The message tries to trick the reader into revealing credentials or paying."),
})
out["answers"]["team"]["choice"], out["answers"]["team"]["confidence"]Images (only when `GET /v1/models` reports `"images": true` in `data[0]`, i.e. the 2B v4 on PyTorch): put a reference key in the state and send the image under `assets`, as TypeSafe's API takes it, with the header `TypeSafe-Danger-Zone-Images: true`. The Python client does both:
from jev_style import JevStyle, image, noul
js = JevStyle(base_url="http://127.0.0.1:8765")
js.decide({"receipt": "r1", "policy": "Meals over 50 EUR need a manager approval."},
{"approval": noul("This receipt needs a manager approval.")},
assets={"r1": image("receipt.jpg")}) # PNG or JPEG, 280..1568 px per sideAny systemone-compatible SDK also works: point its base URL at `http://127.0.0.1:8765` with any API key string. If MCP tools named `decide`, `noul`, `choice`, `score` from a `jev-style` server are available, call them directly for a quick one-off judgement instead of writing code.
`confidence = (k * p_max - 1) / (k - 1)` for k options (0 = uniform, 1 = certain).
`legend` maps `"0"`, `"1"`, ... to labels and `probabilities` is keyed the same way. Its `confidence` is TypeSafe's ordinal formula: probability on a level next to the peak costs less than probability far away.
Never hand the raw number to the user as the decision. Map it with explicit thresholds:
p = out["answers"]["refund"]["noul"] action = "auto" if p >= 0.9 else "review" if p >= 0.5 else "skip"
Pick thresholds from the user's own labelled examples with the `jev-style-eval` skill (`jev-style eval data.jsonl` prints the threshold for a 1 % / 5 % / 10 % error budget).
0.8B each question with its options must also fit in **2,048 tokens**. Too big -> HTTP 400 `max_tokens_exceeded` (the hosted api.jevstyle.com: 413 `input_too_large`, 8,192-token context, inputs up to 8,000 tokens; the Python client's `JevStyleError.input_too_long` covers both). The server never trun
JevStyle: local decision models for AI agents. Classify, route and score with a probability per option. systemone-compatible local server, MCP tools, Claude Code guard. Open weights, Apache-2.0.
Find LLM API calls in a codebase that only return a decision (a category, yes/no, or a 1-5 rating) and move them to the local…
Measure the Jev-Style local decision model on the user's own labelled examples before relying on it - accuracy, Brier, ECE, how…
Install the Jev-Style guard, a Claude Code PreToolUse hook that has a local decision model check every Bash, Write, Edit, Read,…
Connect the Jev-Style local decision model to an AI coding agent as an MCP server (tools decide, noul, choice, score, model_info)…
Install and start the Jev-Style local decision server (systemone-compatible API + Playground at http://127.0.0.1:8765) on macOS,…
Hugging Face Hub CLI (`hf`) for downloading, uploading, and managing models, datasets, spaces, buckets, repos, papers, jobs, and…
Internals of the Feast codebase — how each component works, where the key abstractions live, and the data flow through the…