Skip to content
Machine Learning
Skill

/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, Linux or Windows/WSL, pick the right backend (MLX on Apple silicon, PyTorch CUDA/CPU elsewhere, llama.cpp GGUF optional), verify it answers, and

From plugin
jev-style
1366 skills

Claude Code

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

SKILL.md

jev-style-serve.SKILL.md
name: jev-style-serve
description: Install and start the Jev-Style local decision server (systemone-compatible API + Playground at http://127.0.0.1:8765) on macOS, Linux or Windows/WSL, pick the right backend (MLX on Apple silicon, PyTorch CUDA/CPU elsewhere, llama.cpp GGUF optional), verify it answers, and optionally keep it running at login. Use when the user wants to run Jev-Style, set up a local decision model / systemone endpoint, or when another jev-style skill finds no server on :8765.

Run Jev-Style locally

Goal: a working `http://127.0.0.1:8765/v1/systemone` with the real model, verified by a request. Work through the steps in order and report what you did. Ask before anything that changes the user's login items or installs system packages.

1. Check what is already there

curl -s http://127.0.0.1:8765/healthz || echo "no server"
command -v jev-style && jev-style --version
command -v uv || echo "no uv"
uname -sm; python3 --version

If `healthz` already answers with a `"model"` that starts with `jev-style-` (`jev-style-0.8b-decision-v3` is the default release, `jev-style-2b-decision-v4` the 2B), stop here: it is running. If it says `jev-style-fake`, the server runs the fake engine (meaningless answers): restart it without `--fake`.

2. Install the CLI

Prefer `uv` (installs into its own environment, puts `jev-style` on PATH):

# Apple silicon (MLX backend, fastest on a Mac; text only):
uv tool install "jev-style[mlx]"
# Linux / Windows / Intel Mac (PyTorch on CUDA or CPU), and for images on any machine:
uv tool install "jev-style[torch]"

The MCP server is part of every install. The bare `pip install jev-style` is only the client. No `uv`? Ask first, then install it with a package manager (`brew install uv` or `pipx install uv`; other options: https://docs.astral.sh/uv/getting-started/installation/), or use `pip install "jev-style[mlx]"` / `"jev-style[torch]"` inside a venv of its own (`[mlx]` pins mlx-lm to 0.31.3, which the 2B MLX runtimes require). Needs Python 3.10+. Native Windows runs the PyTorch backend; the Claude Code hook commands are POSIX shell, so the guard needs Git Bash or WSL there.

3. Pick the backend

| Machine | Backend | Flag | |---|---|---| | Apple silicon with `mlx` installed | MLX, bf16 weights (default `auto`) | `--backend mlx` (`--precision 8bit` for less memory) | | NVIDIA GPU | PyTorch CUDA | `--backend torch` (`--dtype bfloat16` for the 2B v4, as it was measured) | | anything else | PyTorch CPU (slower, still works) | `--backend torch --device cpu` | | llama.cpp users | GGUF via the release's scorer | `--backend gguf --scorer /path/to/<scorer>` |

`auto` picks MLX on Apple silicon when installed, else PyTorch. The model is chosen with `--release` (`JEV_STYLE_RELEASE` sets it for every command): the default `0.8b` (= `0.8b-v3`, 1.5 GB), or `2b` (= `2b-v4`, 2.2B parameters, 32,768 tokens; reads images with `--backend torch` only, 4.4 GB; MLX 3.8 GB, 2 GB at `--precision 8bit`), or `2b-v3`. Users who ask for "the 2B", "the newest", or "the one that reads images" want `--release 2b` (images: `--release 2b --backend torch`, also on a Mac).

The GGUF backend needs a scorer binary built once against llama.cpp: `jev-score` for the 0.8B (sources in `chaoliangUNSW/Jev-Style-0.8B-Decision-v3-GGUF`), `jev-score-v2` for both 2Bs (sources in the `Jev-Style-2B-Decision-v3-GGUF` / `-v4-GGUF` repos; one binary serves both). `jev-style download --backend gguf [--release 2b]` prints the model folder; run `sh build_jev_score.sh /path/to/llama.cpp` there and pass the path it prints as `--scorer` (or set `JEV_SCORE_BIN` / `JEV_SCORE_V2_BIN`). `serve` refuses to start the download while no scorer can be found. Only set this up if the user asks for llama.cpp.

4. Download and start

jev-style download                  # ~1.5 GB once, into the Hugging Face cache (optional; serve does it too)
jev-style serve                     # http://127.0.0.1:8765  (--port N, --backend ..., --api-key-env NAME)
jev-style download --release 2b     # the 2B v4 instead (then: jev-style serve --release 2b [--backend torch])

`download` refuses to fetch anything the installed backend cannot run (`error: ... pip install "jev-style[torch]"`), checks every file against the repo's manifest, and prints a one-line `error:` when the download fails (network, `HF_HUB_OFFLINE`); there is no traceback to parse.

Run `serve` in the background or a separate terminal, since it keeps running. Startup takes a few seconds after the first download. Bind to `127.0.0.1` (the default); only use `--host 0.0.0.0` together with `--api-key-env` if the user explicitly wants other machines to reach it. The server answers only requests addressed to loopback names (or its `--host`) and refuses browser requests from other sites, so a web page elsewhere cannot use it; `--allow-any-host` lifts that if the user has a reason.

5. Verify with a real request

curl -s http://127.0.0.1:8765/healthz
curl -s http://127.0.0.1:8765/v1/systemone -H 'content-type: application/json' -d '{
  "state": "I was charged twice for my subscription this month.",
  "questions": {"billing": {"type": "noul", "instructions": "This ticket is about billing."}}}'

Expect a `"model"` starting with `jev-style-` (`jev-style-0.8b-decision-v3` by default, `jev-style-2b-decision-v4` with `--release 2b`) and a `noul` close to 1. Then point the user at the Playground: http://127.0.0.1:8765/ (also demos: agent action approval, Snake, 51 languages).

6. Optional: start at login

Only if the user asks. macOS: write `~/Library/LaunchAgents/com.jev-style.serve.plist` running `$(command -v jev-style) serve` with `RunAtLoad` and `KeepAlive`, then `launchctl load ~/Library/LaunchAgents/com.jev-style.serve.plist`. Linux: write `~/.config/systemd/user/jev-style.service` (`[Service] ExecStart=%h/.local/bin/jev-style serve`, `Restart=on-failure`; `[Install] WantedBy=default.target`), then `systemctl --user

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

jev-style

Call the local Jev-Style decision model (systemone-compatible API, default http://127.0.0.1:8765) to answer typed questions about…

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

Which coding agents can use jev-style-serve?
jev-style-serve 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.