Strands Decider¶
Strands Decider v2 is StrandsAgents' family of decision models on Gemma 4, from E2B to 31B, the 26B-A4B mixture of experts among them. Flide renders and reads a request as the release's core does.
A prompt is two Gemma 4 chat turns written out. The state part opens the user turn with the state between <state> and
</state>; each question then follows as <question type="..."> with the kind's header line, the instructions and the
options one per line (A. name — description), and closes the turn for the model. The state sees itself both ways, a
question sees the state and itself both ways, and no layer has a window. The state is computed once and forked into the
questions.
A question is read at its last token against readout.safetensors, 255 rows, one per answer code. The logits are soft
capped, divided by the temperature decision_config.json gives and softmaxed over the question's options; a score's
answer is the expected level. Images open the state, one token per 48 x 48 block of the image resized to at most 280
blocks.
Speed¶
On one H200, one request at a time, Flide answers 1.8 to 5.5 times faster than the release's own engine (its
DecisionEngine in transformers, bf16). Each workload is 32 requests (24 for QuALITY multi), each run once on both
sides before timing, and the tables give the median latency of a request.
strands-decider-E2B-gemma4-v2-2611
| Workload | Flide | Release | Speedup |
|---|---|---|---|
| Decision Index | 9.8 ms | 35.9 ms | 3.7× |
| RACE | 6.3 ms | 34.3 ms | 5.5× |
| MultiRC | 58.8 ms | 150.8 ms | 2.6× |
| QuALITY long | 46.0 ms | 88.1 ms | 1.9× |
| QuALITY multi | 136.7 ms | 357.7 ms | 2.6× |
| GQA (images) | 45.2 ms | 109.8 ms | 2.4× |
strands-decider-E4B-gemma4-v2-2611
| Workload | Flide | Release | Speedup |
|---|---|---|---|
| Decision Index | 14.9 ms | 43.4 ms | 2.9× |
| RACE | 9.4 ms | 41.9 ms | 4.5× |
| MultiRC | 105.0 ms | 240.3 ms | 2.3× |
| QuALITY long | 75.5 ms | 135.9 ms | 1.8× |
| QuALITY multi | 216.7 ms | 514.3 ms | 2.4× |
| GQA (images) | 53.4 ms | 127.3 ms | 2.4× |
Start a server¶
flide serve --model StrandsAgents/strands-decider-E4B-gemma4-v2-2611
Send a request¶
curl http://localhost:8000/v1/systemone -H "Content-Type: application/json" -d '{
"state": "Order #1182 arrived with a cracked screen. The customer asks for a refund and attached two photos.",
"questions": {
"action": {"type": "choice", "instructions": "What should support do next?",
"criteria": {"refund": "refund the order", "replace": "send a replacement", "escalate": "ask a human"}},
"urgent": {"type": "noul", "instructions": "Does this need a reply within the hour?"}
}
}'
Limits and options¶
A request takes choice, noul and score questions. A choice takes 2 to 255 options and a score 2 to 10 levels. A
question's prompt, the state and the question, takes up to the length decision_config.json validates (32768 tokens),
and a request up to 262144 tokens; a longer one is refused. Images come as data URLs or base64 PNG, JPEG, WebP or GIF,
up to 16 MiB and 4096 x 4096 pixels each. Audio and video are refused, and so is --batch-invariant for now.