Local
Run Strands Decider on your own machine or an on-prem box. Good for development, batch classification jobs, air-gapped environments, and anything where you don’t want traffic leaving the host.
- When to pick it: development, batch classification, air-gapped or on-prem workloads, and anything where you don’t want traffic leaving the host.
Serve it
Section titled “Serve it”pip install strands-deciderstrands-decider serve StrandsAgents/strands-decider-E2B-gemma4-v1-2610 --port 8000That’s it — POST /v1/systemone is up on http://localhost:8000. See
Inference server for the request shape, endpoints, and
flags. Point a Strands agent at it the same way you would any other Decider
deployment; see Decision models in the Strands SDK
for the client wiring.
Picking a device
Section titled “Picking a device”strands-decider serve auto-detects the best device (cuda > mps > cpu), or
pass --device explicitly:
--device cuda— NVIDIA GPU; fastest for the Gemma 4 models.--device mps— Apple Silicon GPU through PyTorch.--device mlx— Apple Silicon through MLX, 1.4–1.6x faster than MPS on the Qwen3.5 model. Needs themlxextra.--device cpu— portable fallback; works everywhere, slower on the larger models.
See designs/inference for the full matrix of device × model combinations.
See also
Section titled “See also”- Source:
deploy/README.md— the top-level deploy guide in the SDK repo, covering local plus every other target.