Repository navigation
STROT 1.0.0 — a decision compiler
STROT 1.0.0 is a ground-up repurpose into a decision compiler: give it your real data and a one-line intent, get a specialized decision model that runs locally on CPU at $0.
questions = strot.questions(data, "triage support tickets") # LLM designs the schema
model = strot.decide(data, questions) # distill a model on your data
model(record) # decide locally, typed JSON
model.save("triage"); strot.load_model("triage") # ship + reuse
Breaking
strot.run()and the routing / action-registry API are removed — the single entry point is nowstrot.decide().- The
Battery/ hub-distribution API (strot.load,export_bundle, …) and the Julia runtime are gone. Models save/load as one self-contained.strotfile viamodel.save()/strot.load_model().
Highlights
- Specialized decision models — a calibrated head per typed question (
predicate/choice/score) on a frozengte-modernbertencoder, distilled from LLM-teacher labels on your real data. - Three tiers —
lite(zero-shot, $0, bring no data),head(distilled, default),deep(shared LoRA adapter). - warm-start (
warm=True) —liteserves instantly whileheadtrains in the background, then hot-swaps in. - Calibrated confidence and an OOD / drift gate that refuses records unlike anything in training.
Install
pip install "strot-ai[local,anthropic]"
Status
Benchmark-validated on Banking77 (93% full-data, 87% @10/class). The decide API is stable; validation breadth is still growing — bring your own data.