
A small, fast decision model, or system one model, for agentic workflows. Pick between options or ra
A small, fast decision model, or system one model, for agentic workflows. Pick between options or ra
Strands Decider
A small, fast decision model for agentic AI.
Documentation
•
PyPI
•
Hugging FaceStrands decider is one of a new class of decision models, or "system one" models. Unlike an LLM, which can generate arbitrary text, a decision model picks between sets of options and rates things on a scale. This class of model works best for problems that fall between LLMs and traditional classification models: it is a general-purpose classification and scoring model that responds faster than an LLM and does not take the time and expertise to train that a traditional classifier does. That makes it a natural fit for the decisions inside agentic workflows built with the Strands Agents SDK.
Start on your own machine: install the strands-decider CLI, ask the model questions, then run it
as a server and send it HTTP requests. When other people or services need to call it, deploy that
server (Deploying it).
The easiest place to get started is through the strands-decider cli:
pip install strands-deciderThe examples below use strands-decider-E2B-gemma4-v2-2611, the smallest v2 model: it fits on a
24 GB GPU and serves on CPU. The cuda, mps and cpu extras name the devices
(designs/inference.md); on Apple silicon,
--device mlx runs the v1 Qwen3.5 model 1.4 to 1.6x faster than MPS. Example outputs below are
illustrative; other devices and models differ in the last digits.
You can ask the model to choose based on some state and a question:
strands-decider ask StrandsAgents/strands-decider-E2B-gemma4-v2-2611 \
--state "Help! My payouts have been failing for 3 days! " \
--choice "Which team should handle this?=billing,sales,retail" Example Output:
choice_0 -> billing (confidence 0.659)
billing 0.773
sales 0.121
retail 0.106You can also ask the model a Yes/No question:
strands-decider ask StrandsAgents/strands-decider-E2B-gemma4-v2-2611 \
--state "Help! My payouts have been failing for 3 days! " \
--noul "Does this convey urgency?" Example Output:
noul_0 noul = 0.858Closer to 1 is leaning more toward Yes
Or give a question a score:
strands-decider ask StrandsAgents/strands-decider-E2B-gemma4-v2-2611 \
--state "Help! My payouts have been failing for 3 days! " \
--score "How frustrated is the writer?=calm,frustrated,depressed"Example Output:
score_0 score = 1.03 (confidence 0.509)
0: calm 0.196
1: frustrated 0.574
2: depressed 0.230You can combine multiple questions into a single command. This is more efficient as you only need to load the state for the model once:
strands-decider ask StrandsAgents/strands-decider-E2B-gemma4-v2-2611 \
--state "Help! My payouts have been failing for 3 days! " \
--choice "Which team should handle this?=billing,sales,retail" \
--noul "Does this convey urgency?" \
--score "How frustrated is the writer?=calm,frustrated,depressed"Example Output
noul_0 noul = 0.858
choice_0 -> billing (confidence 0.659)
billing 0.773
sales 0.121
retail 0.106
score_0 score = 1.03 (confidence 0.509)
0: calm 0.196
1: frustrated 0.574
2: depressed 0.230You can also run the model as a server, and ask questions via http requests:
strands-decider serve StrandsAgents/strands-decider-E2B-gemma4-v2-2611 --port 8000curl -s localhost:8000/v1/systemone \
-H 'content-type: application/json' \
-d '{
"state": "Help! My payouts have been failing for 3 days!",
"questions": {
"is_urgent": {"type": "noul", "instructions": "Does this convey urgency?"}
}
}'Example Output
{
"model": "strands-decider-E2B-gemma4-v2-2611",
"answers": {
"is_urgent": {
"type": "noul",
"noul": 0.8581
}
},
"usage": {
"input_tokens": 86,
"output_tokens": 1
},
"latency_ms": 489.01
} The server you ran above is what you deploy. To host it beyond your machine, see the deployment guide: it lists where the server can run and links to a guide for each.
v2 is the current version of Strands Decider. Five models on the Gemma 4 instruction-tuned bases
(google/gemma-4-*-it, Apache-2.0), from E2B to 31B. They are more accurate than the v1 models at
every size, read a 32,768-token context, and take images. v2 replaces the v1 pointer head with a
token readout: one linear map with one row for each of 255 single-token option codes (A..IV),
read off the hidden state at the last prompt token. Options come from the request, so no retraining
is needed to add a category. One forward pass, no generation, same three question types
(noul, choice, score) (designs/architecture.md).
| model | Decision Index 0.3 | JevBench | OpenDecisions | DecisionPivot | BEV | GPU to use | median latency per JevBench question, one H100 |
|---|---|---|---|---|---|---|---|
strands-decider-E2B-gemma4-v2-2611 |
57.1 | 87.4 | 77.7 | 23.3 | 74.0 | 24 GB | 62 ms |
strands-decider-E4B-gemma4-v2-2611 |
63.2 | 88.3 | 83.9 | 45.2 | 78.9 | 40 GB | 78 ms |
strands-decider-12B-gemma4-v2-2611 |
64.1 | 92.2 | 85.7 | 58.9 | 79.0 | 48 GB | 80 ms |
strands-decider-26B-A4B-gemma4-v2-2611 |
69.0 | 92.6 | 88.6 | 69.2 | 81.4 | 80 GB | 86 ms |
strands-decider-31B-gemma4-v2-2611 |
71.5 | 93.1 | 92.2 | 84.3 | 84.5 | 80 GB | 99 ms |
Scores are 0 to 100. Every v2 model takes the same request and gives the same kind of answer as
v1, so switching from v1 to v2 is a one-name change in strands-decider ask or strands-decider serve. The v2 training data card is in data/README.md, the training recipes are
in configs/v2/ (training/README.md), and the full per-model
numbers are in the models reference.
Choose a size. The 31B is the most accurate. The 26B-A4B is the best of the mixture-of-experts models and has the lowest latency among the top two. The 12B is the best dense model that fits on one 48 GB GPU. E4B is a good choice when the model must share a GPU; E2B is the smallest and runs on 24 GB or on CPU.
Install and ask.
pip install strands-decider
strands-decider ask StrandsAgents/strands-decider-E2B-gemma4-v2-2611 \
--state "Help! My payouts have been failing for 3 days! " \
--choice "Which team should handle this?=billing,sales,retail" \
--noul "Does this convey urgency?" \
--score "How frustrated is the writer?=calm,frustrated,depressed"Deploying v2. v2 checkpoints serve on SageMaker and on Lambda Managed Instances GPU in addition to the environments that v1 serves on (the deployment guide).
Model names use the pattern strands-decider---v-:
2B, E4B).qwen3.5, gemma4).v counts the releases on one base family: v1 is the first release on each base.
Releases with the same N on different bases can use different recipes; each model card says
what its model trained on.Examples: strands-decider-2B-qwen3.5-v1-2610 (Qwen3.5 v1), strands-decider-E4B-gemma4-v1-2610
(Gemma 4 v1) and strands-decider-31B-gemma4-v2-2611 (Gemma 4 v2). The earlier models keep their
names: strands-decider-2B-hobson-v19 and strands-decider-2B-hobson-v21. A second release in the
same month updates the same Hub repository and adds a revision tag YYMMDD.
designs/naming.md has the full rules.
The models live in the StrandsAgents organization on
Hugging Face, their main home. The five v1 models are also in the
amazon organization, with the same files and the same names:
for example amazon/strands-decider-E4B-gemma4-v1-2610.
v1 models — the Qwen3.5 model (with vision) and the Gemma 4 pointer-head release
strands-decider-2B-qwen3.5-v1-2610
is the reference v1 model: 1.9 B parameters on Qwen3.5-2B-Base, pointer head, JevBench 180 / 231,
Brier 0.280, about 4.5 GB in bf16. It is the only v1 checkpoint that takes images (via the
--vision flag), and the only one that runs through MLX on an Apple-silicon Mac.
Four more v1 models on the Gemma 4 instruction-tuned bases (google/gemma-4-*-it, Apache-2.0),
same pointer head and same three question types, text only:
| model | JevBench (231) | Brier | held-out short tasks | held-out code tasks | Decision Index | GPU memory for the weights (bf16) | median latency per JevBench question, one H100 |
|---|---|---|---|---|---|---|---|
strands-decider-E2B-gemma4-v1-2610 |
180 | 0.313 | 0.652 | 0.773 | 29.78 | about 9 GB | 102 ms |
strands-decider-E4B-gemma4-v1-2610 |
187 | 0.243 | 0.684 | 0.815 | 39.42 | about 15 GB | 139 ms |
strands-decider-12B-gemma4-v1-2610 |
200 | 0.173 | 0.708 | 0.870 | 47.14 | about 23 GB | 136 ms |
strands-decider-26B-A4B-gemma4-v1-2610 |
207 | 0.162 | 0.708 | 0.859 | 48.69 | about 51 GB | 245 ms |
The E2B Decision Index was measured before the E2B attention fix (see designs/inference.md), so it may be off. Every model is a soup of three training runs, calibrated afterwards (evaluation/results.md).
Choose a size. A larger model is more accurate and better calibrated, and needs more memory. The 12B and the 26B-A4B are the most accurate; the 26B-A4B is better calibrated, but needs about twice the memory and twice the latency of the 12B. The E4B is a good choice when the model must share one GPU with other work. The E2B is the s