Agent Kill Switch
A single, fast, well-rehearsed way to stop an autonomous AI agent *right now* — halting its runs and revoking its credentials — without shipping a code change. It is the most basic safety control an unattended agent needs and the one most often missing: many teams discover during an incident that their only way to stop a misbehaving agent is to deploy a fix, which can take an hour the agent doesn't have. A real kill switch is immediate (seconds, not a deploy cycle), complete (stops in-flight runs *and* prevents new ones, ideally by revoking the agent's identity and tokens so it can't act even if a process lingers), and rehearsed (someone has actually tested it, so it works under pressure). It complements the automatic circuit breaker: the breaker handles failures too fast for humans, the kill switch handles the judgment call — 'stop this agent for a reason no metric caught.' Pairs with a named accountable owner who has the authority and the access to pull it.
Example
A pricing agent starts setting absurd discounts after an upstream data feed corrupts. The on-call owner hits the kill switch: within seconds the agent's API tokens are revoked and its run queue is drained, so it can't set another price — no deploy required. Contrast the team whose 'kill switch' was a code change: their agent kept acting for the 40 minutes it took to build, review, and ship the fix.
Frequently asked questions
- Why isn't 'just disable the deploy' a kill switch?
- Because it's too slow and often incomplete. Redeploying takes minutes to hours, during which an autonomous agent keeps acting at machine speed, and a new deploy may not stop runs already in flight. A true kill switch works in seconds and cuts off the agent's *ability to act* — typically by revoking its identity credentials and draining its queue — independent of any code change. If stopping your agent requires an engineer and a pipeline, you have a wish, not a switch.
- Who should be able to trigger the kill switch?
- The agent's accountable owner and whoever is on call, at minimum — the people responsible for its behavior in production, with pre-granted access so they don't have to hunt for permissions mid-incident. The switch should be simple enough to use under stress and rehearsed like a fire drill: an untested kill switch tends to fail exactly when you finally need it.