Repository navigation
Source Strands Decider
The Strands blog post Introducing Strands Decider 2B (dated 2026-10-01), read 2026-10-09 together with the repository's README, its inference guide and its Strands example. Nothing here is adopted.
It earned a page for three reasons:
- It offers a cheap, live judge, a shape that P5 never anticipated (see Concept-Personality-Gate).
- It is pitched for guardrails, which Bedrock does not support on Nova Sonic.
- The seam it plugs into, Strands interventions, already ships in our pinned TypeScript SDK.
A decision model, which the post also calls a "system one" model. It answers multiple-choice and scoring questions about a piece of text. It does not generate text.
-
Architecture.
- The torso is Qwen3.5-2B-Base with its language-model head removed.
- A pointer head of about 1M parameters scores each offered option in one forward pass.
- The torso is adapted with rank-16 LoRA.
-
Question types.
-
noul: yes or no. -
choice: pick one option. -
score: an ordered rubric. - Each answer carries a confidence. The README claims that answers at 0.9 confidence or above are right about 95% of the time on unseen short tasks.
-
- Many questions about one state are nearly free. The prompt prefix is cached and forked. In the repo's own measurements on an older v7 model, 1 question and 6 questions both take about 218 ms.
- What it cannot do. The post itself says it is "significantly worse at solving complex problems than reasoning models", and unsuited to chat or summarisation.
| Item | Value (checked 2026-10-09) |
|---|---|
| Home |
strands-labs/strands-decider, an experimental Strands Labs repository, Apache-2.0 |
| Package |
strands-decider 0.1.0 on PyPI, published 2026-10-01, Python ≥3.10 |
| Weights | Hugging Face StrandsAgents/strands-decider-2B-hobson-v19 (2026-09-30), -hobson-v21 (2026-10-05), -qwen3.5-v1-2610 (2026-10-09) |
| Base weights |
Qwen/Qwen3.5-2B-Base, about 4.5 GB, downloaded from Hugging Face on first load. The published checkpoint does not include them |
| Serving |
strands-decider serve <model> --port N returns verdicts at HTTP POST /v1/systemone, with answers, usage and latency_ms
|
Model names drift. The post's example uses hobson-v19. The README now
names qwen3.5-v1-2610, which follows the pattern
<size>-<base>-v<N>-<YYMM>. All three remain published.
Every repository in the Strands Labs organisation is Python, apart from one C++ audio library. Labs is AWS's sandbox for experimental approaches, and its February 2026 launch post was read and deliberately not ingested because it has no bearing on Max Height. The decider's only client code is Python; the post says the team is "working on libraries for decision model integration". The HTTP server is language-neutral, so a TypeScript agent could call it today.
These are vendor claims, and the latency figures are tied to specific hardware.
| Claim | Source | Hardware |
|---|---|---|
| "Tens of milliseconds" | Post, introduction | None stated |
| Median ~115 ms | Post, latency section | Nvidia RTX 3090 |
| Median ~153 ms, small tasks | Post; inference guide | Apple M3 Pro (36 GB) |
| Warm median 234 ms; p95 2,628 ms across JevBench | Inference guide | Apple M3 Pro |
| 1.6 s per question (v21) | Inference guide | Intel Xeon 8375C, 8 threads, CPU only |
| JevBench public set: accuracy 0.779, Brier score 0.280; easy tier 100%, hard tier 0.586 | README, model v1 | None (accuracy figures) |
The two latency claims in the post disagree. Its opening promises "tens of milliseconds", but its own figure is a median of about 115 ms on a desktop GPU. The only CPU figure anywhere is the repository's, and it is about 14 times slower than the GPU median. JevBench and its ranking come from a third party (TypeSafe AI) and have not been checked here.
The post's example is Python: an InterventionHandler with a
before_tool_call method asks two yes-or-no questions. Are the tool arguments
grounded in what the user said, and is the call premature? A few if
statements then turn the probabilities into an action. The same seam exists
in our pinned TypeScript SDK, under different names:
| Python, per the post | TypeScript, @strands-agents/sdk 1.19.0 |
|---|---|
Agent(interventions=[...]) |
new Agent({ interventions: [...] }) (agent/agent.d.ts:151) |
InterventionHandler.before_tool_call |
abstract InterventionHandler.beforeToolCall, plus beforeInvocation, afterToolCall, beforeModelCall and afterModelCall
|
Proceed, Deny, Confirm, Guide
|
the same four, plus Transform. Each is a { type: '...' } value built by the InterventionActions factories |
| (not described) |
onError sets what happens if the handler itself throws: 'throw' (the default), 'proceed' or 'deny'
|
Import trap. The package root exports InterventionHandler,
InterventionActions and the OnError type only (index.d.ts:53-54). The
action types, such as InterventionAction and Deny, are not re-exported,
even though the .d.ts JSDoc examples use them by name.
Guide is what makes the post's example more than an allow-or-deny gate. On
beforeToolCall, it cancels the call and hands the model its turn back with
the feedback. packages/agent/src uses no interventions today.
1. P5 does not clearly cover it. P5 says personality evaluation uses offline golden sets, and "a live LLM MUST NOT score live outputs in the hot path". It gives three reasons:
- Doubled cost.
- Added latency.
- A feedback loop, in which the judge influences what it judges.
A decision model weakens the first two arguments, but only on a GPU. Its
Guide action is the third hazard: the verdict is written back into the
model's turn. Two questions follow, and the constitution answers neither:
- Is a 2B model with no text-generating head an "LLM" under P5?
- Does a tool-argument check count as scoring "live outputs", or only as personality evaluation?
Resolve them by amendment or a spec. Do not settle them inline in code.
2. Hosting is a new resource and a new cost. P1 allows it only server-side on AWS. That means new compute, which trips the Spec Kit rule.
- Source-AgentCore-Pricing records CPU and memory rates for the Runtime, and no GPU option.
- At the repo's CPU figure, each check adds about 1.6 s to a turn.
- A scale-to-zero runtime would also have to load 4.5 GB of weights on every cold start.
- Fetching those weights from Hugging Face at runtime is an outside download in the hot path, so it needs a P6 supply-chain decision too.
None of this fits Concept-Budget-Ceiling without a cost model.
3. P1's wording reaches further than its intent. "All LLM inference" makes no distinction between the product and developer tooling. Running the decider on a laptop to pre-screen golden-set runs offline is the use P5 actually permits. But it is still model inference outside AWS, so ask before assuming it is allowed. See Concept-Cloud-Only-Inference.
4. It is not a substitute for a managed guardrail. Source-Nova-Sonic counts the lack of Bedrock Guardrails as one of the arguments against it. The decider could score text, but it would be an unvalidated classifier that we would have to evaluate ourselves. Bedrock Guardrails is AWS's managed, policy- configured safety service, and the decider replaces none of that.
The closest fit is the post's own example. A grounding check before a web-search call would stop searches the user never asked for, and each search costs money. But a deterministic per-session search cap does more of that job, and costs nothing.
- A TypeScript client, or a decision-model integration library in the SDK.
- A measured CPU latency on hardware we would actually rent.
- Independent accuracy figures on tasks shaped like ours.
- The repository graduating out of Labs, which is AWS's experimental sandbox.
- The post was read via its raw-markdown twin (
index.md). - The README,
docs/inference.mdandexamples/strands/README.mdwere read through the GitHub API. - Release dates come from the Hugging Face model API and PyPI's JSON API.
- The TypeScript names were checked against
packages/agent/node_modules/@strands-agents/sdk/dist/src/interventions/*.d.tsanddist/src/index.d.ts, version 1.19.0.
See also: Source-Strands-Harness-SDK-Docs, Decision-Testing-Strategy.
- Concept-Cloud-Only-Inference
- Concept-Budget-Ceiling
- Concept-Personality-Gate
- Concept-IP-And-Legal-Posture
- Concept-Supply-Chain-Discipline
- Concept-Graceful-Degradation
- Concept-Observability
- Concept-Testing-And-TDD
- Concept-Credential-Hygiene
Editing in the browser? Wiki edits are live and bypass wiki:lint. Read
Guide-Wiki-Contributing first.