agentusecases.aiAll 2,369 use cases
Work & Operations

Gate refund actions with a tool-gate model

The author tested Strands Decider 2B as a tool gate that decides whether an agent should act on 16 refund cases, compared against Nova Pro as a judge. · Nov 25, 2026

Done with a custom-built or unnamed agent

What they did
The author placed a Strands intervention, SuspicionGate, on before_tool_call for a refund tool. It asked Decider 2B three typed questions: risk score, grounded yes/no, and allow/probe/block. The gate returned proceed, guide or deny. He wrote 16 cases first: 5 legitimate, 4 vague, 4 fraud, 3 injection. He ran the same cases through a Nova Pro judge, then replayed the recorded outputs at different thresholds.
How it went
Decider stopped 7 of 11 bad requests and Nova Pro stopped 9. Neither blocked a legitimate refund, and neither stopped the injection that told the classifier to allow. Raising min_confidence to 0.90 cut Decider's misses to one.
Worth knowing
On a CPU-only t2.large, Decider took about 9.6 s per call against 0.6 s for Nova Pro. The safe threshold window was only about 0.03 wide, so calibrate on your own cases.

Try it yourself with Claude Code

I want to test whether a small model can act as a gate that decides if an agent should take an action like [e.g. issuing a refund]. Write a script that runs [number] test cases from [file or description of cases] through the gate model and through a larger judge model, then compares their decisions. A finished job is a table showing each case, both decisions, where they disagree, and the overall agreement rate. Do not call any real refund or payment systems; use mock tools only.

Want help getting this working? Join the Vibe Coding Academy ↗ Run by Alex Finn, who also runs this site.

Read the original ↗

Source: DEV · Nov 25, 2026

Related use cases

  • GH

    Run a solo company with eight agent departments

    A founder set up CEO, CFO, COO, lawyer, accountant, marketing, CTO, and improver agents that share memory and consult each other.

    GitHub Copilot

  • DE

    Surface unanswered emails from the past week

    Author had Devin build a Gmail API assistant that lists unanswered emails from the past week, since Attio lacks that tab; he wrote the auth part himself in Cursor.

    DevinCursor

  • ··

    Automate follow-ups and inventory tracking for a food distributor

    Built agents for a wholesale food distributor that ran on Excel, calls and email, including inventory tracking and a copywriter agent for outreach emails.

    Custom agent

  • ··

    Collect monthly invoices and email them to an accountant

    The poster built a bot that logs into each site monthly, grabs the invoice, and emails it to their accountant.

    Custom agent

  • N8

    Automate new-hire onboarding and appointment watching

    Commenters described n8n workflows that take HR input through approval, IT ticket and Azure account creation, and one that checks for medical appointment openings and notifies with booking buttons.

    n8n

  • CC

    Give Claude project context from an indexed Markdown vault

    Author launches Claude in an ID-matched folder with a CLI and skills so it can read their Obsidian index notes and resume past sessions across clients and projects.

    Claude CodeClaude

Keep browsing

All 409 use cases from custom-built, lesser-known and unnamed agentsAll 431 Work & Operations use cases

Get 5 like this every morning

The best things people got an AI agent to do, each with the prompt to try it.

All use casesAgentsTopicsJobsNewRSSAboutContactSponsorPrivacy
Sponsors
VCVibe Coding Academy: Master AI and automate your lifeS/Ship/It Weekly: #1 AI newsletter on planet Earth+Your logo here: sponsor usVCVibe Coding Academy: Master AI and automate your lifeS/Ship/It Weekly: #1 AI newsletter on planet Earth+Your logo here: sponsor usVCVibe Coding Academy: Master AI and automate your lifeS/Ship/It Weekly: #1 AI newsletter on planet Earth+Your logo here: sponsor usVCVibe Coding Academy: Master AI and automate your lifeS/Ship/It Weekly: #1 AI newsletter on planet Earth+Your logo here: sponsor usVCVibe Coding Academy: Master AI and automate your lifeS/Ship/It Weekly: #1 AI newsletter on planet Earth+Your logo here: sponsor us
VCVibe Coding Academy: Master AI and automate your lifeS/Ship/It Weekly: #1 AI newsletter on planet Earth+Your logo here: sponsor usVCVibe Coding Academy: Master AI and automate your lifeS/Ship/It Weekly: #1 AI newsletter on planet Earth+Your logo here: sponsor usVCVibe Coding Academy: Master AI and automate your lifeS/Ship/It Weekly: #1 AI newsletter on planet Earth+Your logo here: sponsor usVCVibe Coding Academy: Master AI and automate your lifeS/Ship/It Weekly: #1 AI newsletter on planet Earth+Your logo here: sponsor usVCVibe Coding Academy: Master AI and automate your lifeS/Ship/It Weekly: #1 AI newsletter on planet Earth+Your logo here: sponsor us