Skip to main content Announcing Tool Gateway MCP: the universal MCP Read the announcement
Guillaume Lebedel Guillaume Lebedel · · 6 min
An agent's tool call passing through a policy check outside the model before it reaches Workday, with a stop control held by an authorised person

AI agent kill switch: how to stop a run mid-task

Table of Contents

An AI agent kill switch is a control outside the model that can refuse or halt an agent’s actions while it runs. It checks each tool call against policy before the business system is touched, records the decision where the model cannot edit it, and lets an authorised person pause the run without waiting for the agent to cooperate.

Satya Nadella made the case for one on 10 October 2026, in a post on X titled Models as Insider Risks in the Super Intelligence Era. This guide is for the CIO or Head of IT connecting Copilot, Gemini or an internal agent to Workday, Salesforce or ServiceNow, who will be asked what stops it. Facts in this post were checked on 12 October 2026.

What did Satya Nadella propose in “Models as Insider Risks”?

Nadella proposed that companies treat AI models like insiders with privileged access: assume a model can be compromised and design the system around that. His post lists seven controls, and its central rule is that the controls governing what a model can access and do must sit outside the model.

ControlNadella’s wording, shortenedWhat it means for an agent writing to a system like Workday
Model diversityNo model verifies its own workThe agent never approves its own payroll change
Observe everythingTamper-proof, human-readable evidence for every meaningful actionEvery write is logged outside the agent
VerifiabilityTest failures, attacks and edge cases, not only successful tasksTest a refused write, not only a good one
Independent controlsThe organisation decides what a model can access and doPermissions live in a rule, not in the prompt
Independent auditabilityValidation is independent of the intelligence being validatedAuditors read logs, not the agent’s summary
ContainmentAn authorised person can pause or shut down a model mid-taskA named person can stop the agent’s writes now
Incident disclosureTell those affected quickly, and share what failed and how to stop it recurringEmployees whose records a bad write touched are told promptly, with which control failed and the fix

Containment is the control TechCrunch’s report on the post led with: “Think of it like an emergency brake.” He also puts the duty on the deployer: “A model provider’s assurances do not relieve us of that responsibility.” His model is how companies already treat privileged staff: “establish identity, limit privileges, log activity.”

Why should controls on an AI agent sit outside the model?

A control inside the model is an instruction, and the model decides whether to follow it. A system prompt that says “never change salaries” holds until a prompt injection or a model swap changes the outcome. A check outside the model gives the same answer whatever the model concludes, and the model has no way to switch it off.

Nadella’s description of the alternative is “an opaque model inside an opaque orchestration layer, watched by another opaque model. Essentially nested black boxes.” He still wants models testing each other, which is sound practice. A reviewer model is a second opinion, though, and a second opinion can be wrong. When the action moves money or changes an employment record, the decision to let the call through should be deterministic and readable by the person who owns the rule.

This is the gap behind most AI agent unauthorized actions: the agent had a tool, and nothing outside it checked how the tool was used.

What is a reference monitor, and why does a 1972 idea apply to agents?

A reference monitor is the component that checks every access request against what each user or program is allowed to do. The idea comes from an October 1972 study by James P. Anderson & Co. for the US Air Force Electronic Systems Division, which required the checking mechanism to be tamper proof, always invoked and small enough to test completely.

Nadella cites “an information security principle dating back to the 1970s that a program must not be able to bypass or tamper with the mechanisms that enforce its permissions.” He does not name the report, but the principle matches the Anderson requirements quoted in the Orange Book’s reference monitor rationale. The report is 54 years old, and its requirements still describe what an agent control needs:

The three 1972 reference monitor requirements, tamper proof, always invoked and small enough to test, mapped to controls on an AI agent's tool calls

  • Tamper proof. The agent cannot edit, disable or argue its way past the rule, so the rule cannot live in a prompt or a tool description.
  • Always invoked. Every tool call passes the check, including calls a sub-agent makes. One raw API key on the side defeats it.
  • Small enough to test. “Finance agents cannot create payments above $500” can be read by the finance lead and covered by a test. A paragraph of guidance to a model cannot.

How do you stop an AI agent mid-task without revoking every credential?

Put a deny rule on the agent’s call path and switch it on. The agent’s next call is refused before it reaches the business system, while other people and agents using the same connection keep working. Revoking the OAuth token also stops the agent, but it stops everything that token serves, and someone has to reconnect the account afterwards.

Way to stop the agentWhat stopsWho else is affectedEvidence left
Tell the agent to stopWhatever the model decides to stopNobodyThe chat transcript
A second model reviews actionsCalls the reviewer flagsNobodyA judgement that can be wrong
Revoke the credentialEvery call on that credentialEveryone sharing itThe provider’s auth log
Deny rule on the call pathThe agent’s next tool call for that person or groupOnly the people the rule coversA logged decision per call

We built StackOne Tool Policies to sit on that path. Policies are evaluated for the member the agent acts for, and an active policy is consulted from the project’s next call. A deny on running any tool refuses every call the agent makes for that member: it gets back an HTTP 403 with POLICY_DENIED_ERROR as its tool result, and nothing reaches Workday or Xero. Two limits apply. A policy stops actions, not the model’s reasoning, and it only governs calls that carry a member’s identity. A call made with a project API key names no member, so the Policies docs point that traffic to Connector Profile scoping instead.

An AI agent tool call checked against policy outside the model: denied calls stop before the business system, allowed calls go through, and every decision is logged

The rule follows a person, so the agent has to carry one. If your agents still log in as a shared service account, start with how AI agents log in to Salesforce and Workday.

What evidence should every agent action leave for an audit?

Every action should leave a record the model cannot edit: who the agent acted for, which tool it called with which inputs, which rules were evaluated, what each decided and what the business system returned. Nadella’s test is that you can reproduce how an outcome was reached “without relying on the model to attest to it.”

A refused call needs a record too. If a $750 payment is refused by a $500 limit, the log should show the limit, the input value and the decision, not only a failed request. Our breakdown of what an AI agent’s audit record should contain goes through the fields one by one, including the policy text as it read at run time.

How do you roll out agent permission rules without breaking workflows?

Run each new rule in an observe-only mode first, read what it would have blocked, then enforce it for a small group before everyone. That order shows whether the rule catches the calls you meant and spares the ones you didn’t, before an agent halfway through a payroll run gets refused.

  1. List the writes that would hurt most: payments, compensation changes, deletes and public sharing. Start with those, not with reads.
  2. Write each as one short rule with a named audience, such as “Finance agents cannot create payments above $500.”
  3. Run it in observe-only mode for at least one full business cycle, such as a payroll run, and read the recorded decisions.
  4. Fix rules that matched the wrong calls. Tool name patterns are the usual cause: in StackOne, *delete* does not match a tool named okta_remove_user_from_group.
  5. Enforce for a test group, then for everyone.
  6. Name who can switch on the emergency deny, and test it once before you need it.

In StackOne the two modes are Monitor only and Enforce, and the request log shows every evaluated policy with its mode and decision, including what a Monitor only rule would have denied.

Nadella wrote his seven controls for the companies deploying models, and containment and independent controls fall on whoever connects the agent to the business systems. If you want to see how a per-call deny works across HR, CRM and finance systems, read how StackOne Tool Policies work.

Frequently Asked Questions

Does an AI agent kill switch stop the model itself?
An AI agent kill switch on the call path stops the agent's actions, not the model itself. Every tool call after the switch is refused, so nothing more reaches Workday, Salesforce or your finance system. The model can keep reasoning. Stopping the process too is a job for whoever hosts the agent.
Is a second AI model reviewing actions enough?
A second model reviewing actions is useful but not enough on its own. Nadella recommends that models test and verify each other, and also warns against nested black boxes. A reviewer model returns a judgement that can be wrong. For payments, compensation changes and deletes, pair it with a deterministic rule that the acting model cannot change.
Who should be allowed to pull the emergency brake?
The emergency brake belongs with the owner of the system the agent writes to, plus IT. For a payroll agent that means the payroll or HR systems owner and an IT administrator, not the team that built the agent. Name them in advance, give them access to the deny rule, and test the stop once before the agent goes live.
Does a kill switch work for agents that use a shared API key?
A kill switch only partly works for agents on a shared API key. Per-person rules need the person's identity on every call, and a shared key names no person. You can still restrict what the key can do, but stopping one person's agent without stopping everyone on that key needs per-member identity first.

Put your AI agents to work

All the tools you need to build and scale AI agent integrations, with best-in-class connectivity, execution, and security.