Repository navigation
stuntd 0.1.0
First release.
stuntd is a local proxy for typed LLM decisions. It records the decisions your app already asks a provider for (OpenAI Chat Completions with a typed response_format, or Jev-protocol questions), trains a Laya head per decision site, serves it in shadow mode, goes live only at your target agreement, falls back to the provider below the confidence threshold, and demotes itself on drift.
- Jev protocol:
POST /v1/systemoneanswered locally by the base Laya checkpoint without a key, or proxied to any Jev-compatible server (the paid API, kev, SemIf, LLM2Jev, laya-server) while learning from its answers. - OpenAI-compatible proxy for typed decisions, byte-exact passthrough for everything else.
stuntd importfor labelled JSONL,learn = falsefor a pure proxy.- Training with the frozen encoder's output cached once per site (3.2x faster than re-encoding every epoch).
- Four demos with measured numbers: Snake, support triage, banking intents and risk, a command gate for coding agents with a Claude Code PreToolUse hook.
Install: pip install "stuntd[train]". Python 3.10+, Apache-2.0.