- Category
- Developer Tools
- Rank
- No. 4051Tools index
Previous survey · No. 3899 ·
- Pricing
- Open Source
- Type
- TOOL
- Use case
- Data Processing · Models: Train & Run
- GitHub
- 59 stars
- Latest release
- v2.2.0
- Date
About
STROT is a Python library that uses an LLM once, at compile time, to generate a frozen decision artifact for tasks such as classification, scoring and routing. At runtime a small local decision model (144M parameters, CPU) handles each record, returns typed JSON with probabilities and confidence, and abstains when confidence is low. This avoids per-record LLM calls and their cost and latency.
At a glance
STROT uses a language model to prepare a fixed decision pipeline, then runs individual decisions through a small local model. It is worth evaluating if you have a stable routing task and currently pay for a model call on every record.
Good fit
Teams with a fixed set of labels and a representative test set for classification or routing.
Consider something else when
Skip it if each request needs open-ended judgment or the allowed outcomes change too often to maintain a compiled pipeline.
Start here
Use the published demo with synthetic support messages. Check an obvious match and a borderline one, then compare the labels with your expected routes.
Cost and requirements
The MIT-licensed Python project uses an LLM during compilation. Its documented runtime runs on CPU without per-record API calls. Budget for compile-time model use and local compute.
Limits to know
A bounded JSON result can still choose the wrong label. Measure errors on examples outside the setup set and repeat the evaluation when changing labels.
Related work
- Jeffy (alternative)
Sources checked 2026-11-05. Source-based assessment.
Similar tools
Tags
Tech Stack
Editorially curated, with community endorsements as a secondary signal. Corrections welcome.