Skip to content
Machine Learning
Skill

/jev-style

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.

From plugin
jev-style
1366 skills

Claude Code

$ npx -y skills add lawrence3699/jev-style --skill jev-style --agent claude-code

SKILL.md

jev-style.SKILL.md
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: local typed decisions

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` |

1. Make sure a server is running

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.

2. Call it

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 side

Any 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.

3. Read the answer

  • `noul`: `answers.<id>.noul` is P(true).
  • `choice`: `choice` is the argmax; `probabilities` keep the option order and sum to 1;

`confidence = (k * p_max - 1) / (k - 1)` for k options (0 = uniform, 1 = certain).

  • `score`: `score = sum_i i * p_i` with level 0 = the first level, so it can land between levels;

`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.

4. Turn probabilities into actions in code

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).

5. Limits (do not work around them by trimming silently)

  • State + question must fit in **25,600 tokens** (2B v4: **32,768**, image tokens included); with the

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

Read more
@lawrence3699
Ships withjev-style

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.

Stars on GitHub

Momentum

stars in total
136
Star history of lawrence3699/jev-style on GitHub, a chart by star-history.com

Other skills on jev-style.

jev-style-adopt

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…

jev-style-eval

jev-style-eval

Measure the Jev-Style local decision model on the user's own labelled examples before relying on it - accuracy, Brier, ECE, how…

jev-style-guard

jev-style-guard

Install the Jev-Style guard, a Claude Code PreToolUse hook that has a local decision model check every Bash, Write, Edit, Read,…

jev-style-mcp

jev-style-mcp

Connect the Jev-Style local decision model to an AI coding agent as an MCP server (tools decide, noul, choice, score, model_info)…

jev-style-serve

jev-style-serve

Install and start the Jev-Style local decision server (systemone-compatible API + Playground at http://127.0.0.1:8765) on macOS,…

More skills from other plugins.

analyze-ci

analyze-ci

Analyze failed GitHub Action jobs. Takes one or more GitHub URLs (job, workflow-run, or PR) and summarizes each failure with root…

mlflow4d29k
@mlflow@mlflowInstall Skill
hf-cli

hf-cli

Hugging Face Hub CLI (`hf`) for downloading, uploading, and managing models, datasets, spaces, buckets, repos, papers, jobs, and…

skills2w11k
@huggingface@huggingfaceInstall Skill
feast-architecture

feast-architecture

Internals of the Feast codebase — how each component works, where the key abstractions live, and the data flow through the…

feast8d7.4k
@feast-dev@feast-devInstall Skill
add-ecosystem

add-ecosystem

Add a new ecosystem and base model to basemodel.constants.ts. Use when onboarding a new model family from providers like Baidu,…

civitai5d7.3k
@civitai@civitaiInstall Skill

Questions about jev-style.

Which coding agents can use jev-style?
jev-style installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.