Who it is forA support or operations lead, or an agent that triages inbound messages, when each message needs an owner and nobody has time to read every one.
The problemManual triage is slow, and a keyword rule misses messages that describe a problem without naming the team.
The outcomeEach message gets one of the listed teams plus a confidence value, so confident routes can go straight through and low-confidence ones go to a person.
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 ask StrandsAgents/strands-decider-2B-qwen3.5-v1-2610 --state "Help! My payouts have been failing for 3 days! " --choice "Which team should handle this?=billing,sales,retail"(inferred, check the README)- Read the line that starts with choice_0 and the confidence in brackets.
- Send answers at confidence 0.9 or more straight through. Send lower ones to a person to confirm.
Prompt for your agent
Using the strands-decider repo, run the ask command with --state set to <message text> and a --choice question listing the team names <teams>. Return the chosen team and its confidence. Verify that the confidence is a number between 0 and 1 and that the chosen team is one of the listed options.
Caveat. The README says answers at confidence 0.9 or more are right about 95% of the time on short classification tasks it has never seen, so routing on lower confidence needs a human check.
Get 5 new use cases every morning. Free, one short email, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Disclaimer
Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked "Seen in the wild", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email [email protected] and we will look at it promptly. Full disclaimer page