Strot
STROT compiles a decision task (e.g., routing tickets, scoring feedback, classifying text) into a standalone pipeline: a large LLM is used once at compile time to synthesize labels, input projection, and handlers, while a small local model (144M, CPU) makes every runtime decision at ~60ms/record with zero LLM calls and bounded typed-JSON output. It includes compile-time measurement/benchmarking, conformal-calibration abstention, a golden-record compile gate, a browser Pac-Man demo, and a quickstart; MIT licensed with a pure-stdlib core.
What it addresses
LLMs are expensive, slow, and nondeterministic at inference time (e.g., costly batch inference over large volumes); STROT moves the expensive LLM work to build time so runtime decisions are frozen, cheap, local, and auditable.
Shared over time
Each entry reflects what was shared on that date. Details may have changed since then.
Strot
STROT compiles a decision task (e.g., routing tickets, scoring feedback, classifying text) into a standalone pipeline: a large LLM is used once at compile time to synthesize labels, input projection, and handlers, while a small local model (144M, CPU) makes every runtime decision at ~60ms/record with zero LLM calls and bounded typed-JSON output. It includes compile-time measurement/benchmarking, conformal-calibration abstention, a golden-record compile gate, a browser Pac-Man demo, and a quickstart; MIT licensed with a pure-stdlib core.
Problem: LLMs are expensive, slow, and nondeterministic at inference time (e.g., costly batch inference over large volumes); STROT moves the expensive LLM work to build time so runtime decisions are frozen, cheap, local, and auditable.
Posted by @solohunter001 · Original source ↗
Story title · @solohunter001 · · Source ↗
Show HN: Strot – Compile an LLM's intent once, run decisions locally
Submitted URL · @solohunter001 · · Source ↗
https://github.com/strot-ai/Project-STROT
Source text · @solohunter001 · · Source ↗
STROT compiles a decision task — "route these tickets", "score this feedback", "classify this text" — into a standalone pipeline. A large LLM is used once, at compile time, to synthesize the labels, the input projection, and the handlers. At runtime a small local model (144M, CPU) makes every decision: ~60ms/record, $0 marginal, zero LLM calls, bounded typed-JSON output.
Source text · @solohunter001 · · Source ↗
The goal was to move the expensive, nondeterministic part (an LLM) entirely to build time and keep runtime frozen, cheap, local, and auditable — the way a compiler moves work off the hot path.
Source text · @solohunter001 · · Source ↗
It scores candidate labelings on a teacher-labeled sample and keeps the winner; on the identical model that's +18pp on a routing benchmark (92.5% vs 74.8%) and +14pp on text classification (86.7% vs 72.7%) over naive integration.
Source text · @solohunter001 · · Source ↗
It fits a conformal-calibration threshold at compile time, so low-confidence records abstain with a marginal error guarantee rather than guessing.
Source text · @solohunter001 · · Source ↗
There's a browser demo (a 144M model ( which is changeable ) playing Pac-Man, one decision per frame) and a quickstart that runs in a few lines. MIT licensed, pure-stdlib core.
Source text · @solohunter001 · · Source ↗
I was working with a large entries on Batch inference, and yes LLMs are quite expensive to process Billions of contracts at latency, so I in my orignial paper was on the expensive thinking once, run the cheap deterministic result forever.