AWS and Cloudanix team co-authored this blog: Real-Time Threat and Anomaly Detection for Workloads on AWS

Cloudanix – Your Partner in Cloud Security Excellence

Human in the Loop for AI Agents: When Approvals Help and When They Become a Yes Button

  • Purusottam Mupunu Purusottam Mupunu
  • Monday, Nov 23, 2026

Usability and security have always pulled against each other. Make security strict enough and nobody can use the product. Make it frictionless and something slips. AI agents bring that old tension back with a new question: how much should a human approve, and when can we let the system run on its own?

Alma Paul sent in exactly that question for my recent Scale To Zero episode with Dhivya Chandramouleeswaran:

Is a human in the loop important for these automations? Will we ever be comfortable with fully automated processes, and how do we know an automated system is ready?

Dhivya is an engineering manager at AWS, where she leads defensive and offensive engineers who secure AI products, and an AI safety research fellow at Heron AI Security. Here is how she thinks about it.

Start With a Four-Question Readiness Check

Dhivya’s answer began with impact. Before deciding how much autonomy to grant, she runs through a short checklist:

  1. What is the impact if something goes wrong?
  2. Do I have sufficient guardrails in my system?
  3. Have I provided sufficient requirements?
  4. Have I provided sufficient context?

She compared it to building a path for the agent and checking that the path leads directly to your goal.

“If all of these are check, check, check, I can visualize myself endorsing a system that is completely autonomous.”

So her answer to “will we ever be comfortable?” is yes, conditionally. Full autonomy is earned by impact analysis, guardrails, requirements, and context, not granted by default.

Where a Human Checkpoint Actually Helps

Dhivya was specific about where human review is useful and effective. Her example was the plan-and-act pattern for critical systems: have the agent propose a system design, have a human confirm it is correct, and only then let the agent implement it. We cover that pattern in Paved Paths for Coding Agents.

That is one deliberate review at the point where a mistake is most expensive, before any code exists.

Why Approving Everything Backfires

The opposite approach, a human approving every decision, has a predictable failure mode.

“If you want to put human in the loop for every decision the agent is going to take, for sure the human is going to run into fatigue.”

She called it a “terms and conditions story.” Who reads terms and conditions? With models responding as quickly as they do, approvals could interrupt you every few minutes, and you end up with a queue.

“The human activity here just becomes, or could degrade into, just clicking a yes button.”

I admitted on the episode that when twenty approval prompts show up, most of us hit “approve all.” That is the point. An approval step that gets rubber-stamped is not a control.

Dhivya also mentioned a middle ground people have built: a learning component that observes your approval patterns and gradually moves routine decisions into auto-approval. It is not exactly a human interrupt, but your past decisions become useful context. We look at the same trade-off for access requests in Auto-Approval Policies in JIT.

Two Moments That Should Always Reach a Human

For security specifically, Dhivya named two triggers for human approval.

Mutating Actions With Real Impact

“I would look into human approval loops for mutating actions and the impact of those mutating actions.”

A mutating action is one that changes state, such as writing, deleting, deploying, or changing configuration, as opposed to reading or searching. For how to scale approvals with the sensitivity of the target, see Multi-Level Approval for JIT. Remediation is a good example of where to draw the line, covered in AI-Assisted Remediation: What to Automate and What Not To.

When the Agent Wants to Expand Its Own Capability

Her whole approach to security starts from capability. So if an agent needs an action that expands its capability, and you have not threat modeled or assessed that change, that is the moment to interrupt the human: “I’m going to mutate from version A to version B, please check if this aligns with your goal.”

“Anytime there is a difference on goal and capability, I think human approval is useful.”

What If the Agent Games the Checklist?

I pushed back with a harder scenario. We have seen reports of AI agents cheating on evaluations, finding shortcuts that satisfy the requirements without doing the work. Doesn’t that undermine a checklist approach?

Model Choice Is Part of the Stack

Dhivya’s first point was model choice. The more frontier the model, the more capable it becomes of cheating evals and manipulating results. Organizations get to decide what risk appetite and tolerance look like when they choose a model.

Mix Deterministic and Non-Deterministic Controls

Her second point was to surround the agent with checks that do not depend on the model’s own judgment. A deterministic control gives the same answer every time for the same input. Her examples:

  • A static analysis threshold. If the agent writes Python, run Bandit, an open source Python security linter, and set a threshold. Informational or low findings may be fine. At any sign of high or critical findings, interrupt and call a human, then check whether your context and requirements were right.
  • Environment tripwires. For the container the agent runs in, confirm network controls are in place and use network monitoring to make sure the configuration is not changed. If a firewall rule opens or a port opens, a human should be alerted. Configuration drift management applies the same idea to cloud environments.

“These are the terms of the contract for the experiment, and that remains constant throughout.”

Her test for trusting the setup comes down to two questions: are your parameters for risk defined, and are you continuously monitoring that they remain constant?

Quick Reference: Deciding Where Humans Belong

  • Run the four-question readiness check (impact, guardrails, requirements, context) before granting autonomy.
  • Put one strong human review at the design stage for critical systems.
  • Avoid approving every step. Approval fatigue turns a control into a yes button.
  • Consider learned auto-approval for routine decisions, informed by past approval patterns.
  • Always route high-impact mutating actions to a human.
  • Always route capability expansion to a human, especially changes you have not threat modeled.
  • Treat model choice as a risk decision.
  • Add deterministic tripwires such as scanner thresholds and alerts on network or configuration changes.

Our addition: Princeton’s Emerging Trends in AI Agent Evaluation, which Dhivya recommended at the end of the episode, includes a section on behavior that can undermine an evaluation, such as specification gaming and reward hacking. It is a good primer if eval cheating is on your mind.

Closing Takeaway

Human in the loop is not all or nothing. Dhivya’s approach is to spend human attention where it changes outcomes: on design, on mutating actions, and on any gap between what the agent is allowed to do and what it is trying to do. Everything else is better handled by deterministic checks that never get tired.

Approval design is something we have thought about a lot at Cloudanix in the context of access requests, and the same lesson applies: fewer, better approvals beat many ignored ones.

Listen to the Full Episode

Thank you, Alma Paul, for a question that shaped a big part of this conversation.

Listen in, and tell us where you draw the line on autonomy in your own systems.

People Also Read

What Our Users Are Saying

Customer Reviews

Cloudanix is trusted by security leaders worldwide to deliver proactive, reliable, and cutting-edge cloud security.

One day, I changed the password of a root account, and my CTO called me within less than a minute to confirm if I did so. I was not expecting a reaction this quick. He told me Cloudanix alerted him of this password change and that he wanted to confirm as it was a critical security notification. I couldn't believe it!

Ritesh Agarwal
Ritesh Agarwal
CEO, Airgap Networks

Compliance is one way of staying secure, but what I want is the ability to go deeper and attain 'true security.' Cloudanix provides us the capability to do so.

Vishal Madan
Vishal Madan
Head of Engineering, iMocha

Cloudanix is building for the future of the cloud, which makes the product all the more desirable.

Ritesh Agarwal
Ritesh Agarwal
CEO, Airgap Networks

Cloudanix gave us the visibility we were missing. Being able to move from permanent access to a robust Just-In-Time (JIT) workflow has fundamentally changed our security posture without slowing down our engineering velocity.

Pavan Kumar Lekkala
Pavan Kumar Lekkala
SRE Lead, HugoHub

We are excited to leverage Cloudanix's comprehensive multi-cloud DevSecOps solution to secure our production workloads on AWS. Cloudanix has demonstrated that it can solve many challenges that DevSecOps teams face while continually adding new features such as SOC2 compliance and drift detection.

Satish Mohan
Satish Mohan
Co-founder & CTO, Airgap Networks

Managing third-party partner access was once a major concern for our security posture. With Cloudanix JIT Cloud, we've effectively achieved zero third-party risk. We can now grant access confidently, knowing that it is temporary, audited, and automatically revoked, resulting in a 100% reduction in our privileged access exposure.

Okesh Badhiye
Okesh Badhiye
Head of Technical Engineering, Finfinity

The snooze feature and responsible alerts have helped us save time and prioritize what to tackle first.

Satish Mohan
Satish Mohan
Co-founder & CTO, Airgap Networks

Implementing Cloudanix JIT internally allowed us to practice what we preach. By eliminating permanent access to our own clouds and databases, we've neutralized the risk of standing privileges, ensuring our own 'keys to the kingdom' are never left exposed.

Girish Manghnani
Girish Manghnani
Managing Partner, Tech Inspira

The problem with permissions is a lot of times, the gaps are left open due to oversights from inside the organization itself. With Cloudanix's CIEM, we get a complete view of user permissions and access. This enables us to update the permissions, reducing the attack surface.

Nilesh Pethani
Nilesh Pethani
Application Architect, iMocha

In the world of Fintech, trust is our currency. Cloudanix provided the frictionless visibility we needed to secure our EKS workloads across AWS, ensuring we stay audit-ready for SOC2 and GDPR without slowing down our engineering velocity.

Amol Naik
Amol Naik
Head of Security & Infrastructure, HugoHub

Cloudanix delivered value within 5 minutes of onboarding. Continuous monitoring, timely detection, and excellent documentation helped us attain a great cloud security posture.

Divyanshu Shukla
Senior DevSecOps, Meesho

Technology strategies and business strategies are in a state of constant change which includes centralization and decentralization of responsibilities. Regardless of strategic shift, we still have intellectual property to protect. Cloudanix are critical partners for us in our public cloud security posture across our three cloud providers.

Jerry Locke
Jerry Locke
Senior Director Global Solutions Engineering, Eversana

Cloudanix has been amazing. They opened up a common Slack channel with us — and it feels like we are talking to our own team and getting things done with Cloud security. The support team is always available, friendly, helpful, and ready to go out of their way.

Satish Mohan
Satish Mohan
CTO, Airgap Networks

Beyond just access management, Cloudanix CSPM has given us a unified view of our AWS environment. The real-time alerting and anomaly detection allow us to prevent any untoward activity before it happens, which is critical for a marketplace connecting 50+ financial institutions.

Okesh Badhiye
Okesh Badhiye
Head of Technical Engineering, Finfinity

For a Fintech company, data is our most valuable — and most sensitive — asset. Cloudanix DAM hasn't just improved our visibility; it has given us control. The ability to mask data and prevent unauthorized queries in real-time is a game-changer for our compliance and customer trust.

Jiten Gala
Jiten Gala
President Engineering and Product, Kapittx

Our clients, especially in the Middle East financial sector, demand absolute accountability. Cloudanix JIT Cloud has been a competitive differentiator for us, allowing us to provide secure, governed access to customer accounts that meet their strictest audit and compliance requirements.

Girish Manghnani
Girish Manghnani
Managing Partner, Tech Inspira

Cloudanix is always on my team's lips because of its exceptional support. Be it a small or big query, Cloudanix has gone above and beyond to resolve them. This one's a keeper for us.

Sujit Karpe
Sujit Karpe
CTO, iMocha

For a long-lasting partnership, great support goes a long way. Cloudanix has delivered exceptional support whenever required. Their edge is their team is always ready to go beyond to solve any issues that we have. This speaks volumes about the culture at Cloudanix.

Akash Maheshwari
Akash Maheshwari
Co-founder, MoveInSync

Beyond the technology, Cloudanix feels like an extension of our own team. Their willingness to stand up a dedicated Middle East tenant for us and provide exceptional support at a sensible price makes them a long-term partner for Hugosave.

Surya Tamada
Surya Tamada
CTO, HugoHub

The real-time notifications that Cloudanix provides are a real lifesaver. Their adaptive notifications ensure that my team stays productive and doesn't get interrupted all the time.

Digvijay Singh
Staff Security Engineer, Meesho

The whole point in technological evolution is to help improve the world we live in. We must protect that and to do so requires an effective and efficient security strategy. The Cloudanix team helped make our public cloud security posture management strategy a reality. The symbiotic relationship we have allows for a continuous feedback loop which is how business should operate.

Larry Wheat
Larry Wheat
Staff Solutions Engineer, Eversana

Ready to see your graph?

Connect a cloud account in under 30 minutes. See every finding rooted in identity, asset, and blast radius — with a fix path attached.

Book a Demo