SaaS Alternative
JevCategories
Self-hosted OpenAI compatible Anthropic Decision API LLM proxy Local inference Cost optimizationStars
Forks
Watchers
Developer links
Stuntd
If your app asks an LLM the same routing, triage, or moderation question thousands of times a day, stuntd is the local proxy that learns those answers and stops paying for them. It sits in front of OpenAI or Anthropic as a drop-in replacement for the provider base URL, recording typed requests while relaying everything else byte for byte, and distils each decision site into a small head on a frozen Laya encoder. Once trained, the head answers in about 20 milliseconds with no tokens and no round trip; when its calibrated confidence falls below the site threshold, or the novelty gate flags the input, the question goes back to the provider instead of being guessed at. It speaks four protocols on one daemon: Jev System One with choice, score, and noul questions, the OpenAI Decisions API, Chat Completions, and the Anthropic Messages API, and every response carries an X-Stuntd header showing who answered. Run it keyless and the base Laya checkpoint answers zero-shot locally, put the paid Jev API in front to teach from real traffic, or import labelled rows and train directly. A few thousand rows close the gap: in the banking demo, the risk question climbs from 30.0 to 72.5 percent. A shipped Claude Code PreToolUse hook answers "may this command run" in about 50 milliseconds, without sending every command to a provider. Running on a dedicated VPS on RepoCloud with guaranteed CPU, RAM, and SSD, full root SSH access, and a browser serial console. Apache-2.0 licensed.
Benefits
- Same Decisions Answered Locally
- Routing, triage, moderation and gating answers are distilled into a local head: tens of milliseconds, no tokens, no round trip to a provider for the same question again.
- Unsure Questions Escalate Automatically
- The head answers when its calibrated confidence reaches the site threshold and the novelty gate passes; anything else goes back to the provider, so local speed never means guessing.
- Drop In Base URL
- Put stuntd in front of OpenAI or Anthropic as a drop in replacement for the provider base URL; typed requests are recorded and everything else is relayed byte for byte.
- Your Traffic Trains It
- A few thousand rows of your own traffic close the quality gap: in the banking demo the risk question rises from 30.0 percent to 72.5 percent after training.
Features
- Four Protocols One Daemon
- POST /v1/systemone for Jev choice, score and noul questions, plus the OpenAI Decisions API, Chat Completions and the Anthropic Messages API on one local port.
- Frozen Encoder Heads
- Each decision site becomes a small head on a frozen Laya encoder or a stock sentence encoder, served locally with calibrated confidence per site threshold.
- X-Stuntd Answer Header
- Every response carries an X-Stuntd header naming whether the head, the zero shot base or the live provider answered, and how many questions each handled.
- Claude Code Hook
- A shipped PreToolUse hook example answers may this command run in about 50 milliseconds locally, without sending every command you type to a provider.