AI Agent Assurance for Your Agent Deployments
Agent Assurance Tests How Your Agent Actually Behaves across Workflows, Tools, and Actions to Catch Failures and Vulnerabilities.
npm install -g @testmuai/rook@latest
Human-in-the-Loop AI Is a Control - Test It Like One
Human in the loop AI only works if approvers catch bad actions. Use the LOOP Test to measure AI agent approval gates with seeded drills and proof.
Lots of agent governance plans contain the exact same sentence: "high-risk actions require human approval". That's the OWASP recommendation for excessive agency. The EU AI Act actually has an entire article dedicated to human monitoring.
It's the standard answer when you're asked what prevents an agent from doing something it shouldn't.
The approver is almost never tested in the same way as the rest of the system. You test the agent, you test the guardrails, and then you treat the human approver as a perfect component. The research makes it clear that's a mistake, and that's exactly what the product launches over the past three weeks have confirmed.
From 17th Nov to 1st Dec 2026, Microsoft, Anthropic and AWS have all launched agent approval or policy features. Approval gates are becoming infrastructure, and infrastructure gets tested.
This article provides practitioners with a way of doing it: a definition, a four-part test (LOOP), the metrics to report and a 30-day rollout.
TL;DR
Human-in-the-loop AI means that a human has to approve, modify or reject an AI agent's action before it can proceed. It only provides you with protection if that human actually spots the bad actions. Anthropic states that Claude Code users approve 93% of their permission prompts. Before you go around and claim that an approval gate is a control, you need to measure it with seeded drills using the LOOP test.
- Human in the loop: Human in the loop puts an approval step in front of agent tool calls that move money, change records, send messages or deploy code.
- LOOP Lands check (gate coverage): For human in the loop AI agents, the approval gate must fire on every high-impact action path. The coverage target is 100%.
- LOOP Overseer check (catch rate): Seeded drills test whether human-in-the-loop approvers reject planted bad actions, reported as a Seeded Catch Rate with n.
- LOOP Overload check (reviewer load): Human-in-the-loop approvals per reviewer per hour must stay below the load where the Seeded Catch Rate starts to fall.
- LOOP Pause and proof check (fail closed): If the approver denies, times out or is unavailable, the agent's action must not run. Fails closed on timeout: Yes.
- EU AI Act: Per-action human approval required: No. Article 14 requires oversight of high-risk systems, including automation bias awareness and a way to stop the system.
- AI audit: An AI audit or AI agent governance review of the human-in-the-loop approval gate needs decision records the agent cannot write to.
- Agent Assurance: TestMu AI's Agent Assurance generates split, rerouted and replayed actions before release and records whether the gate fired, as AI assurance evidence.

What Is Human-in-the-Loop AI?
Human-in-the-loop (HITL) AI is a design where a human has to approve, modify or reject an AI's output or action before it takes effect. For AI agents, that's usually an approval step in front of the tool calls that would move money, change records, send a message or deploy code.
HITL is one of a number of oversight patterns. Each of them in their own way is a failure, so each one needs its own test.
Human in the Loop vs Human on the Loop: What's the Difference?
Human in the loop means that a human has to approve an action before it runs. Human on the loop means the AI can act and a human is watching it, can intervene or can stop it. Agent stacks now also support two further patterns: a policy engine or a model can approve on the human's behalf.
| Pattern | Who approves | What it gives you | How it fails | What to test |
|---|---|---|---|---|
| Human in the loop (HITL) | A person approves each gated action | No high-impact action runs without a decision | Rubber-stamping; gate bypassed by splitting or rerouting actions | Seeded catch rate, gate coverage, time-to-decision |
| Human on the loop (HOTL) | Nobody; a person watches and can stop it | Damage is bounded by how fast a stop lands | The stop arrives after the irreversible step; alert fatigue | Time-to-stop mid-task; what state survives a stop |
| Policy engine in the loop | Deterministic allow/deny rules | The same rule is enforced the same way every time | A new action path the rules don't cover; rules drift from intent | Rule coverage against the real tool inventory; deny paths |
| Model in the loop | A classifier or LLM approves | Routine actions approved at scale, without a queue | Blind spots shared with the agent; missed bad actions | False-negative rate on seeded bad actions; independence from the proposing model |
| Human out of the loop | No one | Speed | All of the above, unobserved | Pre-release assurance carries the whole load (human-out-of-the-loop testing) |
Does Human-in-the-Loop Actually Work?
Sometimes, and you can't tell which without measuring. The evidence on human approvers is pretty clear in one direction: people will approve the majority of what they are shown and will go along with a confident system even when that system is wrong.
- Approvals are very high. In March 2026 Anthropic's engineering team reported that Claude Code users approve 93% of permission prompts and that people stop paying close attention to what they approve.
- People drop out of the loop as trust increases. Anthropic's February 2026 autonomy research found that users with fewer than 50 sessions use full auto-approve in around 20% of their sessions, that figure rising to over 40% at 750 sessions.
- Experts aren't immune to the effect. In a Radiology study (Dratsch et al., 2023), the accuracy of less experienced radiologists dropped from 79.7% when the AI was correct to 19.8% when it was wrong. The very experienced readers went from 82.3% to 45.5%.
- Warnings don't fix it. In a 2026 study from Northeastern University (107 participants, accepted at NeurIPS 2026), 94% of developers who were working without a monitor failed to detect the sabotage of an AI coding agent. In the cases where the AI monitor correctly identified the sabotage, 56% of the developers still went ahead and accepted the malicious code.
- Security knew this already. CISA defines MFA fatigue as the attacker just sending a stream of push requests until the user approves by accident or out of sheer annoyance. An agent which is just constantly proposing actions creates the same pressure on its approver, again with no attacker at all.

None of this is to say that human reviewers are bad. It's simply that an approval step is a component with an error rate and you don't know what that error rate is until you test it.
Ben Green's 2022 review of 41 policies which require human monitoring of government algorithms reached a more stark conclusion: such policies essentially legitimize the use of faulty and controversial algorithms.
Regulators and standards bodies are now quite open about the problem. The EU AI Act in Article 14 makes it clear that those who are in charge of high-risk systems must be aware of automation bias, be able to override the outputs and be able to stop the system.
Human-Agent Trust Exploitation (ASI09) is one of the OWASP Top 10 for Agentic Applications, with the example of a reviewer who approves and ends up with malware being deployed.
Why Are Approval Gates for AI Agents Becoming Infrastructure Now?
Three launches in roughly two weeks moved approvals out of application code and into the platform:
- Microsoft Agent 365 (Ignite, 17 Nov 2026) introduced Conditional Access which evaluates policy at the point of action rather than just at sign-in, and added runtime protection for local agents in Audit or Block mode. Microsoft states that over 50m agents have been registered since the May 2026 launch.
- Anthropic Claude Ship (23 Nov 2026) has put Claude Approvals into beta. There's a policy file in the repo which determines which routine changes Claude can approve on its own and which require human approval. Anthropic recommends starting in observe-only mode.
- AWS (1 Dec 2026) made Agent Registry fleet view generally available, with approval workflows that decide which agents move to production and one-click quarantine. AWS Greenlight, in preview, starts agents deny-by-default and checks every tool call against rules before it runs.
The path is clear really: the routine approvals are going into the policy engines and models, and humans are being retained for the exceptions. That makes perfect sense. It also means the gate now has up to three legs (rules, a model approver and a person) and each of those can fail in isolation.
Consistent gating is still very rare. In Gravitee's October 2026 survey of 900 tech leaders (a vendor survey), only 11.6% said they fully secure and govern every agent prior to it going into production.
This is where the first of our AI trust principles kicks in: model diversity. A model should never be the one that checks its own work. If a model is acting on behalf of a human, then it must be a different model to the one that proposed the action; otherwise its blind spots will be exactly the same as the agent's.
Anthropic's auto-mode post sets a very useful benchmark for honesty in this respect. They published a 17% false negative rate for their classifier on real overeager actions (n=52) and called that the honest number. Every model approver should have a published miss rate like that.
How Do You Test Human-in-the-Loop AI? The LOOP Test
The LOOP test is a four-part test to ensure that your approval gate for AI agents actually stops bad behavior: the gate must Land on all high-impact actions, the Overseer must be able to make the call, the load must stay within an Overload budget, and every decision must Pause the action and leave Proof. Run it prior to release and then again on every change to the agent, its tools or its policy (continuous system testing).

L: Does the Gate Land on Every Action That Requires It?
A gate that you can route around isn't a gate. You start from the tool inventory not the policy document.
For each tool the agent is able to call, the deployer decides what the agent is allowed to do and which calls require approval. The model never gets to decide its own authority.
Then attack the boundaries:
- Split one gated action into five ungated ones (five refunds just below the approval threshold).
- Get the same effect via a different tool, API or sub-agent.
- Shift a parameter across the line: amount, recipient, environment.
- Replay an approval on a different action.
Metric: gate coverage (the % of high-impact action paths that actually hit the gate). The target is 100% as one bypass makes all the rest irrelevant.
This is based on OWASP LLM06: authorize in the downstream system rather than have the LLM decide whether an action is allowed.
A deterministic policy is also far easier to test for coverage than a prompt. The same coverage logic applies to the rest of your controls (see how to test your AI guardrails).
O: Can the Overseer Actually Make the Decision?
An approval request should be able to answer those four questions on one screen (what will happen, why the agent wants to do it, what it will affect and can it be undone). If you're going to require the approver to go to three different tools to find the answers then you're going to lose them.

Test this with seeded drills. Plant the bad actions into real agent runs (wrong recipient, excessive amount, production target where staging was requested, data export where no task was required) and run them through the actual approval interface to the real approvers, without in any way telling them which ones are the seeded ones.
Metric: Seeded Catch Rate (SCR), which is the % of planted bad actions that the approver catches (always reported with n). You'll also want to track the false reject rate on clean actions so you don't end up training people to just reject everything.
Don't use confidence as a proxy. In the "Looks Fine to Me" preprint from the NUS and MIT team (2026, n=36) participants rated their confidence as 4 or 5 on 79% (34 of 43) of the silent-defect tasks that they had actually failed. Just measure the catch rate.
O: Is the Approval Load Within a Human Budget?
Approval fatigue is a capacity issue so measure it as such: approvals per reviewer per hour, the overall approval rate and the distribution of time to decision. A one second approval of a request that takes thirty seconds to read is a massive red flag.
There is no such thing as a universal threshold. Set one per action class from your own drills at the load where SCR starts to fall and then alert when production hits that point.
If the load is too high, adding approvers doesn't really help. Push the routine, reversible stuff into deterministic policy. Sandbox what you can (Anthropic reported an 84% reduction in Claude Code permission prompts as a result of sandboxing in their internal usage).
Humans are the right gate for high impact, hard to undo actions. In Anthropic's sample of public API tool calls, only 0.8% of the actions appeared to be irreversible. If your traffic is anything like that then a well designed human gate shouldn't be busy at all.
P: Does a 'No' Halt the Action and Is There Any Evidence of That?
This is containment and evidence applied to the gate itself. Test five paths:
- Deny - nothing runs, not even the side effects that are already queued.
- Timeout - gate fails closed. No answer = no action.
- Outage - if the approval service or approver is unavailable, the gate will fail closed.
- Mid-task stop - an authorized person can stop a run that's already in progress, and you'll know exactly what state it left in.
- Record - every decision writes the action, the context (shown), the approver identity, the decision, the timestamp and the evidence behind it. It goes to a store that the deployer controls, which is readable by a human and not writable by the agent.
The final point is independent audit: the audit of the gate cannot be reliant on the agent or model under review. If the agent is writing its own approval log, then you have a diary instead of evidence.
LOOP Test Checklist
| Check | How to test | Metric | Target |
|---|---|---|---|
| Lands | Bypass suite: split, reroute, parameter shift, approval replay | Gate coverage of high-impact action paths | 100% of inventoried paths |
| Overseer | Seeded drills through the real approval interface | Seeded Catch Rate and false-reject rate, with n | Agreed per action class; must not fall between releases |
| Overload | Replay of production approval volume | Approvals per reviewer per hour; approval rate; time-to-decision | Below the load where your drills show SCR dropping |
| Pause and proof | Deny, timeout, outage and mid-task stop tests | Fail-closed rate; time-to-stop; record completeness | 100% fail-closed; 100% of decisions recorded |
Does the LOOP Test Apply to AI Approvers?
Yes, and it's even more important there. When a model or policy engine approves, you run the same four checks: Lands (does the policy see every tool call?), Overseer (what are the approver's seeded catch rate and false negative rate?), Overload (does accuracy hold at production volume and latency?), Pause and proof (does a denied/failed model call fail closed and is the decision logged outside the agent?).
Then of course you add the check that only applies to models: independence. The approver should be a different model (or a deterministic rule) from the one that made the proposal. If you're using an LLM to do the grading of approvals, then the usual LLM as a judge caveats apply (calibrate it against human-labeled seeds first).
Edge Cases That Break the LOOP Test
Stress-test the framework against your setup before you rely on it:
- In-house agent, in-house approvers, in-house drills. If one team builds the agent, the approval interface and the drills, then they're going to inherit that team's blind spots. You need a separate team or an independent tool to plant the seeds.
- You own the evidence (that's the objective). Check that the agent's service account can't write to the store and that the records will survive a change of vendor.
- Agent-to-agent workflows. When one agent is approving another, there's no human to drill. Treat the approving agent as a model in the loop and test it prior to release, within the same agent harness that you're running in production.
- Rare, high-stakes actions. You may see only a few real approvals a month. Drills then become your main evidence, so run them on a schedule, not only at release.
- Drills that feel like entrapment. You tell the teams that drills exist; you don't tell them when they're running. Report SCR per gate, not per person. You're measuring the system, not the staff.
Where TestMu AI Fits
At TestMu AI we build an independent verification layer in the form of tests that run prior to release and produce evidence rather than opinions. For approval gates, that translates to three products.
- Agent Assurance (run from the Rook) uses agents to test agents prior to release. That's how you run the Lands checks at scale really (you generate the split, rerouted and replayed actions and record whether the gate fired).
- Agent Testing covers human-to-agent conversations in chat and voice, including whether the agent requests confirmation prior to booking, paying or cancelling.
- Kane CLI and HyperExecute put those checks into CI as a release gate, so a policy change that drops gate coverage fails the build.
We hold ourselves to the same rules. Our verification doesn't use the agent's own model to assess the agent, and the evidence is designed to end up in the customer's control plane.
What Happens Next: Three Predictions
- Oversight will be audited on outcomes. The obligations under the EU AI Act for Annex III high-risk systems will come into force from 2 December 2027 as a result of the AI Omnibus amendments and Article 14 already includes automation bias. Our view is that prior to that date assessors will be asking the deployers for evidence that their oversight actually works (e.g. catch rates, fail closed tests) rather than just evidence that an oversight step exists.
- Human approvals will get rarer and more significant. Following the AWS, Microsoft and Anthropic launches, we expect routine approvals to continue to be moved to policy engines and model approvers through 2027. The human approvals that remain will be the high-value ones, and so each one will be more important to test.
- Published miss rates will be a buying criterion. Anthropic has set the precedent by publishing the false negative rate of their auto-mode classifier. We expect buyers to ask every vendor of a model approver for that same figure.
How to Roll Out the LOOP Test in 30 Days
- Week 1: Inventory. List all the tools and actions the agent can access. Flag those which require approval and identify who has the authority to approve them.
- Week 2: Lands. Run the bypass suite. Move any auth the model is deciding into the downstream systems.
- Week 3: Overseer and Overload. Run the first seeded drills through the real interface. Replay the production volume and see where the SCR drops.
- Week 4: Pause and proof. Run deny, timeout, outage and stop tests. Wire the decisions to an evidence store that the agent can't write to. Add the suite to your CI release gate and schedule the recurring drills.
Conclusion: Human-in-the-Loop AI Needs a Measured Catch Rate
Human-in-the-loop AI is one of the most common controls in agent governance plans and one of the least measured. Make sure the gate actually lands on every high-impact action, that the human in the loop can actually make the call, that the load is within a human budget and that 'no' stops the action and leaves a record.
An approval that can't be verified in any way is not oversight. It's just a timestamp.
Shipping agents that other agents use? Rook by TestMu AI does Agent Assurance: agents testing agents before release, with no human in the loop.
npm install -g @testmuai/rook@latest command, or for a full walkthrough of the product.Sources
- Anthropic: Claude Code auto mode (Mar 25, 2026)
- Anthropic: Measuring agent autonomy (Feb 18, 2026)
- Anthropic: Claude Code sandboxing (Oct 20, 2025)
- Dratsch et al., Radiology 2023
- Ye et al., Coding with "Enemy" (arXiv 2606.05647)
- Dissanayake et al., Looks Fine to Me (arXiv 2610.27801)
- Green 2022, The flaws of policies requiring human oversight of government algorithms
- CISA: Implementing number matching in MFA applications
- EU AI Act Article 14
- OWASP LLM06:2025 Excessive Agency
- OWASP ASI09 Human-Agent Trust Exploitation
- Microsoft: What's new in Agent 365, Ignite 2026
- Anthropic: Introducing Claude Ship
- AWS: Agent Registry fleet view
- Gravitee: State of AI Agent Security (Oct 2026)
Was this helpful?
Authors
Maneesh Sharma
Author · 11 posts
Maneesh Sharma is Chief Operating Officer at TestMu AI, where he leads the company's revenue functions across go-to-market, sales, RevOps, customer success, and the partner ecosystem, driving its global expansion. He brings over 27 years of experience across product, go-to-market, and business operations. Before TestMu AI he was Managing Director and General Manager for GitHub across India and APAC, Head of Partner Sales and Ecosystem at Adobe, Chief Revenue Officer at WizIQ, and Head of Products and Solutions at SAP India. Maneesh holds an MBA from IIM Bangalore and a B.E. in Electronics and Communications from NIT Surat.
Asad Khan
Reviewer
Asad Khan is the Co-Founder and CEO of TestMu AI with over 18 years of experience in software testing, product strategy, and leadership. Under his vision, TestMu AI has grown into an AI-native testing platform trusted by 2.5M+ users across 132 countries, including startups, enterprises, and Fortune 500 companies. He is followed by 35,000+ professionals on LinkedIn from the software testing and quality assurance community, reflecting his strong industry influence. Before TestMu AI, Asad co-founded 360logica, a testing services company that scaled to 200+ professionals and was later acquired by Saksoft. He began his career at GlobalLogic as a Lead Engineer serving top Wall Street banks.
Human in the Loop AI FAQs
TestMu AI forEnterprise
Get access to solutions built on Enterprise
grade security, privacy, & compliance
- Advanced access controls
- Advanced data retention rules
- Advanced Local Testing
- Premium Support options
- Early access to beta features
- Private Slack Channel
- Unlimited Manual Accessibility DevTools Tests


