{
 "schema_version": 1,
 "generated": "2026-10-20",
 "id": "rizzo-ai-academy-rizzo-flow--point-jev-code-at-localhost",
 "repo": "Rizzo-AI-Academy/rizzo-flow",
 "repo_url": "https://github.com/Rizzo-AI-Academy/rizzo-flow",
 "repo_slug": "rizzo-ai-academy-rizzo-flow",
 "title": "Run existing TypeSafe Jev API code against localhost",
 "page_title": "How to run existing TypeSafe Jev API code against localhost with Rizzo Flow",
 "summary": "Change one URL so code written for the TypeSafe API calls a local model instead.",
 "who": "A developer whose app already calls the TypeSafe Jev API and who wants to test it offline or avoid hosted calls.",
 "problem": "Hosted Jev calls cost money per use and send data to a closed service, which blocks some local or private testing.",
 "outcome": "Your existing Jev-style code returns decisions from a model on localhost after a one-line base URL change.",
 "steps": [
  "Set up the server by running `uv sync --locked`, `uv run rizzo download` and `uv run rizzo serve` from the Rizzo Flow folder.",
  "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.",
  "Run your existing tests or a sample call and compare the returned decisions with your expected results.",
  "Note that the base model answers 'cannot determine' often with abstention on, so the Jev-compatible endpoint always disables abstention."
 ],
 "agent_prompt": "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.",
 "agents": [
  "any"
 ],
 "difficulty": "Advanced",
 "time": "60 minutes",
 "basis": "readme",
 "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.",
 "category": "Software and DevOps",
 "tags": [
  "Software and DevOps"
 ],
 "lang": "python",
 "requirements": [
  "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"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": false,
 "score": 0.8,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/rizzo-ai-academy-rizzo-flow/point-jev-code-at-localhost/",
 "md": "https://dedupedai.com/use-cases/rizzo-ai-academy-rizzo-flow/point-jev-code-at-localhost/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/rizzo-ai-academy-rizzo-flow--point-jev-code-at-localhost.json",
 "api_version": "v1"
}
