6 Design Practices for the AI Kill Switch

by
Peter Purcell
December 3, 2026

Your AI agent has access to business systems and the authority to execute changes. If it started making bad calls right now, who could pull the plug? And what would keep running after they do? Does pulling that plug actually stop the work or just the conversation?

If those questions create hesitation, your kill switch might have blind spots.

A useful kill switch must account for the entire workflow. An AI governance policy alone can’t stop a failing system. Organizations need layered controls that can block a response, halt an agent, disable a tool, or shut down AI functionality with scope appropriate to the incident.

For organizations deploying AI (particularly agents with access to business systems) we recommend six design practices for containing failures and stopping execution. These recommendations are intended to adapt to each application’s risk and architecture.

1. Define what each control does

Start by defining what each control should accomplish. Prevention blocks an unsafe or unauthorized action before it starts. Containment limits damage when something goes wrong. Shutdown stops further execution within a defined scope.

A content filter, for example, may reject a response containing sensitive information. An execution limit prevents agent from repeating a task indefinitely. An emergency stop can block further work by that agent. Each addresses a different failure, so none should be treated as a substitute for the others.

This distinction also helps determine how broadly to intervene. An agent making incorrect customer updates may need write access suspended while employees retain access to an unrelated document-search application. Operators should be able to stop the affected workflow and escalate to broader shutdowns when the cause or extent of the problem is unclear.

2. Implement controls throughout the workflow

To stop an AI system reliably, build emergency brakes into every phase of the workflow. If the only checkpoint is at the front door, there’s no way to stop a rogue command that has already entered.

A practical design includes brakes at four layers. Each mechanism stops something different, and each has blind spots:

The API Gateway: Route model requests through a shared gateway so you can limit traffic, apply spending controls, and block new requests. Test how those limits work, including whether requests already underway can push spending past the budget.

The catch: A gateway only controls traffic routed through it. If an application connects directly to a provider, the gateway’s shutdown control will not block it. Blocking new requests also does not guarantee that requests already being processed will stop.

LLM Guardrails & Filters: These checks look for problems such as exposed passwords, sensitive customer data, and attempts to manipulate the agent’s instructions. Configure them to block or flag content that fails the checks.

Guardrails can miss problems. A response can pass every configured check and still propose a $50,000 refund. Check the proposed action against business rules and require human approval where the risk warrants it.

The Agent Orchestrator: This is the software coordinating the agent’s multi-step plan. Here, you set the rules of engagement: limit which tools the agent can touch, cap the number of actions it can take to prevent endless loops, and cancel tasks waiting in line. For high-stakes decisions, build in human approval gates with a strict expiration rule: if a manager doesn’t approve the request in time, the job stops. Silence is not a “yes.”

Once an agent sends a command to an outside service, stopping the agent may not cancel or reverse it. Check high-risk actions before execution rather than relying on shutdown to undo them.

The Control Plane: This is the administrative system operators use to manage and stop AI workflows. Configure it so authorized employees can stop one agent or a wider group of connected applications.

Keep shutdown controls separate from the agent’s permissions and available if the agent fails. Operators need a secure way to reach them, even when the application is unavailable. The agent should not be able to disable or override its own shutdown controls.

3. Limit agent access

An agent acts through tools, like applications, APIs, scripts, and connected services. Those connections need their own enforcement.

Consider an agent permitted to read customer records and update contact details. Its access should reflect that limited job. It should not inherit a shared administrator account simply because that account was convenient during development.

Set permissions in the connected systems so the agent can’t make unauthorized changes. A prompt telling the agent, “do not change payment information,” is not an access restriction.

Give the agent only the access it needs, make that access expire where possible, and make sure you can disable it. Test if removing access also cancels pending work or only blocks new requests.

An agent often hands off tasks to background jobs or helper bots. Your shutdown process should account for those tasks too, or the main agent will look inactive while background jobs keep running. Verify that new actions are blocked and identify any previously submitted work that remains active.

4. Plan for unfinished work

Decide ahead of time what happens to unfinished work when you shut the agent down. Know which tasks should stop immediately, which can be canceled, and which need to finish to avoid incomplete changes. Decide who will review unfinished work and how employees will keep essential operations running while the agent is unavailable.

Also plan for any corrections needed afterward. Stopping the agent will not undo completed changes, and switching back to an earlier software version may not fix the records it changed. Someone must identify what happened and make sure it gets corrected.

5. Assign shutdown and restart authority

During an incident, operators should not have to negotiate who is allowed to intervene.

Assign authority according to scope. Give designated employees permission to stop a problem without waiting for executive approval. Define who can shut down a single agent and who can authorize a wider shutdown. Make sure those people can reach the shutdown controls even when the application is down. Test their access—don't just assume it works.

Restarting should require a separate approval. Before turning the agent back on, confirm the cause has been addressed, affected work has been reviewed, and the controls work. For higher-risk tasks, restart with limited access or require human approval for actions until the team is confident it can run safely.

6. Test it

In a safe test environment, shut down the agent while it has work underway. Check that it cannot start new actions and that unfinished tasks are canceled or allowed to finish as planned. Include background jobs, tasks assigned to other agents, and any other connections it could use to keep working.

Measure how long it takes your team to respond and confirm the shutdown worked. Use those results to set realistic targets instead of assuming everything will stop within seconds.

Test more often when an agent has greater access or could cause more harm. For higher-risk agents, quarterly tests can be a starting point. Test again after significant changes to access, connected systems, or how the agent runs. Update the shutdown instructions after each exercise and assign someone to fix any problems.

Mitigating Risk

Giving an AI agent write access to core systems without a tested shutdown is unmanaged risk. Silencing the model is not enough. Determine who has the authority to intervene, which tools get cut off, and how your team will handle cleanup.

The big takeaway: Don’t wait for an incident to find out where your safety controls end. As you give agents more responsibility, make sure your ability to stop them scales accordingly.

At Trenegy, we help organizations design and implement AI practices that keep the business secure without holding things back. To chat more about this, emailinfo@trenegy.com.