By Jack Gross. Originally published November 12, 2026 on Jack Gross.
A classifier at the intervention point
Strands Decider returns choices, yes/no probabilities or scores instead of free-form text. This review read the public repository and its Strands weather example. Before a proposed tool call executes, the example asks whether the arguments came from the user and whether clarification is still needed. The package was not installed, its weights were not loaded and the demo was not run. This is a source review of an experimental extension to an agent workflow.
The code owns the branch
The example implements InterventionHandler.before_tool_call. Its two noul questions return probabilities of true. The Python policy sends Guide feedback when arguments are insufficiently grounded or the call is premature; otherwise it returns Proceed. YES = 0.45 is an illustrative threshold chosen by the example's authors. It is not a measured production recommendation. Even the weather tool returns a fixed fictional temperature, so a successful demo would not validate weather retrieval.
Read each output type separately
The schema defines noul as a yes/no probability with no separate confidence field. Choice includes a selected option, probabilities and a confidence value derived from how concentrated the distribution is. Score uses an ordered rubric and a different confidence calculation based on its spread. These fields should not be collapsed into one universal probability of correctness. The repository's benchmark and calibration numbers are project-reported measurements, not an assurance for a new tool, language or task.
Local scoring has a wider dependency chain
The package requires Python 3.10 or later and dependencies including PyTorch, Transformers and FastAPI. The worked agent example also needs strands-agents and AWS credentials with Bedrock access; a locally served decider does not make that whole agent local or free. The repository's LICENSE is Apache 2.0, with notice conditions and an explicit warranty disclaimer. Review the selected checkpoint and its terms separately. SECURITY.md points vulnerability reports to AWS's disclosure channels; its presence is not a security audit.
An evaluation before authority
For an invented support tool, freeze examples with explicit arguments, missing arguments and a plausible value inserted by the assistant. Label expected outcomes before choosing thresholds. Measure incorrect proceeds and unnecessary clarification separately, and test timeouts and malformed replies. Keep permission checks, destination allowlists and spending limits in deterministic code even when a classifier is confident. The weather example is not a production access-control policy, and these cases have not been measured.
An illustrative record to inspect
The record below separates model observations from an independent authorization check. It is an invented review fixture, not the upstream request format, executable policy or a reproduced result. The first useful deployment decision would be whether the classifier catches errors that existing validation misses at an acceptable cost. That needs task-specific evidence and an approved test environment before any real calls.
# Invented review record. Not an upstream request or runnable policy.
review = {
"classifier_observations": {"args_grounded": 0.83,
"premature": 0.12},
"independent_authorization": "not_checked",
"expected_action": "hold_for_review",
}
# Invented numbers; confidence cannot supply missing permission.
Proposed review flow
- Classify the proposed call
- Apply an independent permission check
- Measure wrong proceeds and needless questions
Sources and scope
- https://github.com/strands-labs/strands-decider
- https://raw.githubusercontent.com/strands-labs/strands-decider/main/examples/strands/tool_call_intervention.py
- https://raw.githubusercontent.com/strands-labs/strands-decider/main/examples/strands/README.md
- https://raw.githubusercontent.com/strands-labs/strands-decider/main/src/strands_decider/schema.py
- https://raw.githubusercontent.com/strands-labs/strands-decider/main/LICENSE
- https://raw.githubusercontent.com/strands-labs/strands-decider/main/pyproject.toml
- https://raw.githubusercontent.com/strands-labs/strands-decider/main/SECURITY.md
Optional tools for your own projects
Advertisement / referral links. We may receive referral credit. For your next coding project, try ZCode free through this invitation. Complete the invitation onboarding steps and check current eligibility.
Check the Coding Plan referral discount. Confirm included models, eligibility and the final discount at checkout. Standard API usage is billed separately.






Latest comments
0