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…
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
Claude Code
$ npx -y skills add lawrence3699/jev-style --skill jev-style-serve --agent claude-code
Codex
$ npx skills add lawrence3699/jev-style --skill jev-style-serve -a codex -y
Cursor
$ npx skills add lawrence3699/jev-style --skill jev-style-serve -a cursor -y
Gemini CLI
$ npx skills add lawrence3699/jev-style --skill jev-style-serve -a gemini-cli -y
GitHub Copilot
$ npx skills add lawrence3699/jev-style --skill jev-style-serve -a github-copilot -y
OpenCode
$ npx skills add lawrence3699/jev-style --skill jev-style-serve -a opencode -y
Windsurf
$ npx skills add lawrence3699/jev-style --skill jev-style-serve -a windsurf -y
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.
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.
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`.
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.
| 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.
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.
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).
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
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)…
Call the local Jev-Style decision model (systemone-compatible API, default http://127.0.0.1:8765) to answer typed questions about…
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…