Who it is forAn engineer building a Strands agent who wants a fast check on each tool call, using a model that runs on a local GPU or CPU.
The problemAgents can call the wrong tool or run a risky action, and a second full model call on every step adds latency and cost.
The outcomeA probability for each allowed action on each proposed tool call, so the agent can block or ask for approval on low-probability actions.
What you need first
- A web browser to open the repo's README and the linked provider docs
- An account and API key for the hosted provider you choose (for example TypeSafe console, OpenRouter, or Microsoft Foundry)
- For local runs: Ollama installed, or a Python environment with the package named in the model's own page
- A list of your own options (labels, tool names, or rubric levels) to score
Steps
- Open the Open Models section and read the Strands Decider 2B entry, which describes checking Strands agent tool calls before they run.
- Clone the project from the strands-labs/strands-decider GitHub link and read its setup instructions.
- Define your allowed actions as the options and the pending tool call as the state.
- Add a check in your agent loop that reads the option probabilities and blocks calls below your threshold.
- Log blocked and allowed calls and review them against real runs.
Prompt for your agent
Using github.com/strands-labs/strands-decider linked from github.com/AnotiaWang/awesome-decision-models, set up the Strands Decider 2B model and score the pending tool call in <tool-call-file> against the allowed actions in <allowed-actions-file>. Expected output: a probability per allowed action and a block or allow decision. Verify that a call outside the allowed list gets a low probability on every option.
Caveat. The README describes this model's tool-call use only through the launch post, so confirm the setup steps in the strands-decider repo itself before wiring it into an agent.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for AnotiaWang/awesome-decision-models and "Check agent tool calls before they run"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer