Agent Auth Gateway v1.0

Guides / 7 min read

Kill Switch Drills: Testing Your Agent's Stop Button

Published 2026-11-14 · Reviewed 2026-11-14 · By the Ingenious AI team

Fire drills exist because nobody reads a fire-escape map well during a fire. The agent kill switch has the same property: the first time anyone presses it should not be at 3 a.m., mid-incident, with the fleet's money moving.

The short answer

Drill the stop the way you would test any safety system: on a schedule, against a test agent first and then a real one in a maintenance window, timing every step from decision to confirmed refusal of the agent's calls. Record who pressed it, from what device, how long until the gateway's refusals appeared in the log, and what legitimate work was interrupted and how it recovered. A drill that reveals the switch needs two logins and a VPN has done its job — in the drill, where the finding is cheap.

Check your own setup as you read: run the free Spend Guard self-check or test a policy in the playground — five minutes, no signup, and the gaps it names map to the controls below.

Worked example: the drill that found a 22-minute stop

Bracken & Holt, a fictional engineering consultancy, believed its kill switch was 'one click in the dashboard'. Their first drill told a different story: the on-call engineer was not a dashboard admin, the admin who was reachable needed a hardware key that was in his office, and the gateway container required a restart for the disable to take effect. Decision to confirmed stop: 22 minutes, for an agent that could spend about $40 a minute in a bad loop. The drill cost an afternoon; the finding was worth roughly $880 a minute of incident it will now prevent.

The fixes were unglamorous: stop authority granted to the on-call role, the switch moved into the authorisation path so it takes effect on the next call with no restart, and a phone-reachable stop page requiring no VPN. The second drill, six weeks later, took 50 seconds from decision to logged refusals. Bracken & Holt now drills quarterly, rotating who presses, and the drill record — times, names, interruptions — sits in the same registry as the agent's policy, reviewed with the same seriousness as the policy itself.

What a drill actually tests

Not the button — the chain. Decision: does the person on call know the stop is theirs to make, and feel authorised to make it? Access: can they reach the control from a phone, at night, with the credentials they actually carry? Effect: does the stop take hold on the next call, provably, in the log? Recovery: does queued legitimate work resume cleanly when the agent is released, or does the stop create a second incident of lost work? Most real-world switch failures are chain failures in the first two links, invisible until the chain is walked.

Start with a test agent, then earn the real one

The first drills should use a sacrificial agent doing harmless work, so nobody's hesitation about interrupting production contaminates the timing. Once the chain is smooth, graduate: a real agent stopped in a quiet window, its queued work observed through release. Skipping the second stage leaves the recovery half untested — and recovery, the discovery that a stopped agent's half-finished transactions need reconciling, is where drills produce their most valuable surprises.

Time it, record it, file it

A drill without numbers is a walkthrough. Record decision time, access time, effect time in the log, and recovery outcome, with the presser's name and device. File it against the agent's registry entry. The trend across quarters is the readiness metric leadership should see: if stop time creeps up as tooling changes, the drill catches the creep in peacetime. Bracken & Holt's 22 minutes to 50 seconds is the shape of a drill programme working — the first number is not an embarrassment, it is the baseline the programme exists to move.

Protect the presser, in writing

Every drill programme and every incident culture stands on one rule, stated in advance by someone with authority: stopping an agent on a false alarm is doing the job, and no one will be criticised for it. The expensive failure is hesitation — the extra ten minutes of checking while the loop spends — and hesitation is what people do when the last person who stopped something important got questioned about it. Say it in the runbook, say it in the drill debrief, and honour it the first time it costs a quiet hour of stopped work.

Extending the drill: the release is half the test

Most drills end at the stop. Extend yours through the release: who authorises restarting, under what conditions, and what happens to the work the agent was holding. Practise the awkward cases in rotation — the stop that turns out to be a false alarm with a queue of legitimate work waiting, the stop during a partially completed transaction that needs reconciling before release, the stop where the owner is unreachable and the deputy must decide. Each rehearsal writes its findings into the runbook. A team that has practised release restarts calmly and completely; a team that has only practised stopping owns a very reliable way to create a second, quieter incident.

Five actions to drill the kill switch

  1. Schedule quarterly stop drills, rotating who presses, starting with a test agent and graduating to a real one in a quiet window.
  2. Time the full chain — decision, access, effect confirmed in the log, recovery — and file the record against the agent's registry entry.
  3. Grant stop authority to the on-call role and make the switch reachable from a phone without a VPN or office hardware.
  4. Verify the stop takes effect on the next call with no restart, and observe how queued work recovers on release.
  5. Write the presser-protection rule into the runbook: a stop on a false alarm is the job done correctly.

Source note and related guides

Figures in the worked example are illustrative, drawn from a fictional company created for this guide; the controls, failure patterns and procedures described are the gateway's documented behaviour — see the Agent Auth Gateway documentation and the policy patterns in allowlists vs denylists, spend caps and the agent kill switch. Reviewed by the Ingenious AI team, 2026-11-14.

Sources

  • NIST AI Risk Management Framework (AI RMF 1.0), the voluntary framework for managing AI risk across design, development and use: nist.gov, 2023
  • OWASP Top 10 for Large Language Model Applications, the OWASP GenAI Security Project's risk list for LLM and agent systems: owasp.org, 2025
  • RFC 6749, The OAuth 2.0 Authorization Framework, the IETF standard behind scoped, expiring access tokens: rfc-editor.org, 2012

Frequently asked questions

Why drill a kill switch that obviously works?

Because the switch is a chain — decision, access, effect, recovery — and chains fail in their links. Bracken & Holt's 'one click' took 22 minutes through missing admin rights and a restart requirement. The drill found it in peacetime.

How fast should an agent stop be?

Under a minute from decision to refusals visible in the log is a good target for a mediated agent; Bracken & Holt reached 50 seconds after fixes. What matters is measuring your real number rather than assuming the brochure number.

Should drills stop real production agents?

Eventually, yes — in a quiet window, after test-agent drills are smooth. The recovery behaviour of real queued work is half of what a drill exists to learn, and it cannot be learned from a sacrificial agent alone.

What should a drill record contain?

Times for each link of the chain, who pressed from what device, what work was interrupted and how it recovered, and any access or authority gaps found. Filed against the agent's registry entry and trended quarterly.

Who should be allowed to press the kill switch?

Whoever is on call, without needing to find an admin. Authority that requires locating a specific person is a delay built into your worst hour — and the presser must be protected, in writing, when a stop turns out to be a false alarm.

Governing agents in production?

Spend caps, approval queues, policy simulation, burn forecasting, and step-up lockdowns — all built into the gateway. Free tier to start. Or test policies in the playground with no signup.

Share this: X Facebook LinkedIn WhatsApp
← Designing a Tool Allowlist an Agent Can … All guides The Month-End Finance Review for AI Agen… →