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

How to run existing TypeSafe Jev API code against localhost with Rizzo Flow

Change one URL so code written for the TypeSafe API calls a local model instead.

Short answer: Set up the server by running uv sync --locked, uv run rizzo download and uv run rizzo serve from the Rizzo Flow folder; then if you need Bearer auth on the Jev-compatible endpoints, set RIZZO_API_KEY before starting the server; in your app, change the TypeSafe API base URL to http://127.0.0.1:8017. All steps.

Who it is forA developer whose app already calls the TypeSafe Jev API and who wants to test it offline or avoid hosted calls.

The problemHosted Jev calls cost money per use and send data to a closed service, which blocks some local or private testing.

The outcomeYour existing Jev-style code returns decisions from a model on localhost after a one-line base URL change.

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. Set up the server by running uv sync --locked, uv run rizzo download and uv run rizzo serve from the Rizzo Flow folder.
  2. If you need Bearer auth on the Jev-compatible endpoints, set RIZZO_API_KEY before starting the server.
  3. In your app, change the TypeSafe API base URL to http://127.0.0.1:8017.
  4. Run your existing tests or a sample call and compare the returned decisions with your expected results.
  5. Note that the base model answers 'cannot determine' often with abstention on, so the Jev-compatible endpoint always disables abstention.

Prompt for your agent

In the rizzo-flow repo, start the server with `uv run rizzo serve`, then point the existing TypeSafe API client in <path-to-app> at http://127.0.0.1:8017 and run its test suite. Return the failing or passing tests. Verify that each decision response has the same shape the client expects.

Caveat. Rizzo Flow is not affiliated with TypeSafe and does not reproduce Jev's architecture, so expect different answers and probabilities from the hosted service.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for Rizzo-AI-Academy/rizzo-flow and "Run existing TypeSafe Jev API code against localhost"

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