Who it is forA developer whose app needs a fast yes/no or pick-one answer on text or images, with no per-call generation cost.
The problemCalling a general chat model for every routing or classification decision is slow and spends tokens on reasoning the task does not need.
The outcomeA local server that returns a probability for each option, plus the layer that answered and its confidence.
What you need first
- Python with pip and git installed
- A GPU with enough memory for the chosen model, or an Apple silicon Mac for the MLX builds
- A 96 GB GPU if you want to serve the 27B model
Steps
- Install the package with
pip install "rsi-jev[fast,vision] @ git+https://github.com/Shanghua-Gao/RSI-Jev" - Start the server with
rsi-jev serve v6.1-vl-4b --effort auto --port 8000 - Send a test question with
curl localhost:8000/v1/systemone -H 'Content-Type: application/json' -d '{"model": "jev-latest", "state": "I was charged twice. Please refund.", "questions": {"refund": {"type": "noul", "instructions": "Does the user request a refund?"}}}'(inferred, check the README) - Check that the response reports the layer that answered and its confidence
Prompt for your agent
In the Shanghua-Gao/RSI-Jev repo, install the package with pip, then run `rsi-jev serve v6.1-vl-4b --effort auto --port 8000`. Send the <question> about the text <input> to localhost:8000/v1/systemone and return the probability for each option. Verify that the response includes the layer that answered and a confidence value.
Caveat. The public Decision Index scores are for full runs of the default configuration, so your own results on different questions will vary.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for Shanghua-Gao/RSI-Jev and "Serve a decision model behind a local API"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer