Who it is forA developer whose agent or other service needs to call a decision model over HTTP for tone or sentiment scores on each request.
The problemEvery service that needs a score would otherwise load its own model or call a slower general LLM for a narrow question.
The outcomeA local server on port 8000 returns JSON with a score and token usage for each question, ready for another service to use.
What you need first
- Python with pip to install the strands-decider package
- A machine that can run a 2B model: a CUDA GPU, an Apple-silicon Mac, or CPU
- Text inputs you want to classify, route, or score
Steps
pip install strands-deciderstrands-decider serve StrandsAgents/strands-decider-2B-qwen3.5-v1-2610 --port 8000curl -s localhost:8000/v1/systemone -H 'content-type: application/json' -d '{"state": "Help! My payouts have been failing for 3 days!", "questions": {"is_urgent": {"type": "noul", "instructions": "Does this convey urgency?"}}}'(inferred, check the README)- Read the answers object in the JSON response and parse the noul value for your caller.
Prompt for your agent
Using the strands-decider repo, start the server with the 2B model on port 8000, then POST a state of <text> and a score question to /v1/systemone. Return the score and confidence from the JSON response. Verify that the response contains an answers object and a latency_ms field.
Caveat. The README describes running the server locally, and says to see its deployment guide before letting other people or services call it from elsewhere.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for strands-labs/strands-decider and "Serve a scorer that other services can call"
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