DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to get typed LLM decisions from text on your own machine with Rizzo Flow

Run a local decision API and get yes/no, choice and score answers as JSON with probabilities.

Short answer: Install Python 3.11 or newer, git and uv; then run git clone https://github.com/Rizzo-AI-Academy/rizzo-flow && cd rizzo-flow; run uv sync --locked. All steps.

Who it is forA developer who wants an LLM to classify or score messages, tickets or records, and does not want the data to leave their machine.

The problemLLM answers are free text that must be parsed, and hosted decision APIs send your data to a third party.

The outcomeA running local server at http://127.0.0.1:8017 that returns typed decisions with probabilities for any state you send.

What you need first

  • Python 3.11 or newer
  • git
  • uv (https://docs.astral.sh/uv/)
  • About 4.4 GB of free disk space for the default 4B model, plus the llama.cpp runtime (about 11 MB on a Mac, 30 MB with Vulkan, about 570 MB with CUDA)
  • A machine that can run llama.cpp: an Apple, NVIDIA, AMD or Intel GPU, or no GPU at all

Steps

  1. Install Python 3.11 or newer, git and uv.
  2. Run git clone https://github.com/Rizzo-AI-Academy/rizzo-flow && cd rizzo-flow
  3. Run uv sync --locked
  4. Run uv run rizzo download and wait for the model and runtime to finish.
  5. Run uv run rizzo serve, then open http://127.0.0.1:8017/playground to try a state with questions.
  6. Send the curl example from the Quickstart to http://127.0.0.1:8017/v1/systemone with your own state and questions.

Prompt for your agent

In the rizzo-flow repo, start the server with `uv run rizzo serve`, then POST a JSON body with the state from <path-to-text-file> and one yes/no question to http://127.0.0.1:8017/v1/systemone using model rizzo-latest. Return the typed decision and its probabilities. Verify that the response contains a probability for each option.

Caveat. Probabilities are uncalibrated unless you calibrate them on your own data, and the fine-tuned model is still below TypeSafe Jev in accuracy (0.648 against 0.727 on the typed-decisions benchmark in the README).

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for Rizzo-AI-Academy/rizzo-flow and "Get typed LLM decisions from text on your own machine"

Add Deduped to Claude Code once

claude mcp add --transport http deduped https://dedupedai.com/mcp

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer