Who it is forAn agent or developer building a queue that should surface urgent messages first.
The problemUrgency is a judgement that depends on wording, not on a fixed keyword, so simple filters miss many urgent messages.
The outcomeEach message gets a noul score between 0 and 1, where values closer to 1 lean more toward Yes.
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! " --noul "Does this convey urgency?"(inferred, check the README)- Read the noul_0 value. Treat values near 1 as urgent and values near 0 as not urgent.
- Put messages above your chosen cutoff at the top of the queue.
Prompt for your agent
Using the strands-decider repo, run the ask command with --state set to <message text> and --noul set to "Does this convey urgency?". Return the noul value. Verify that the value is between 0 and 1 and that a clearly urgent test message scores higher than a routine one.
Caveat. The README gives no fixed cutoff for urgency, so you need to pick and test your own threshold on your own messages.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for strands-labs/strands-decider and "Flag messages that convey urgency"
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