Part 39: Kill switches and rollback on each platform

Part 39 · One Agent, Five Platforms
Every agent needs a safe way to stop. Part 37 said to build a pause into the integration layer, and Part 38 listed the failures that would make you use it. This part looks at what each platform gives you to stop an agent and roll it back, and what you still have to build.
Read this first: no hands-on build has been run yet, so nothing here has been timed. Platform features are from vendor docs read on 27 November 2026. Where I couldn't find something, I say so.
A correction to Part 37. I wrote that only Boomi documents an on/off switch per agent. That was wrong: Microsoft Foundry's control plane has documented stop and block actions too (details below).
1. Three levels of stop
Stopping an agent isn't one switch. It's three, from gentle to hard:
- Pause intake. No new exceptions go to the agent. They wait in the queue; nothing is lost. You build this yourself, as Part 37 described, and it works the same on all five.
- Stop the agent or its tools. The platform stops taking requests. Each platform does this differently.
- Revoke access. Disable the agent's identity or credentials, so it can't call a tool even if something is still running.
Then, once it's stopped: roll back to the last version that passed the golden set.
2. Stop and roll back, platform by platform
From vendor docs read on 27 November 2026:
- MuleSoft: in Runtime Manager you can stop the Mule apps that host the tools and MCP server; on CloudHub there's a two-minute grace period for in-flight messages. On CloudHub 2.0 every deployment is a versioned configuration, and you roll back by picking an earlier one under Config changes and deploying it. A failed update tries to roll back to the last good configuration on its own. I didn't find a stop action for the agent itself in Agent Fabric.
- Boomi: Agent Control Tower can enable or disable an agent directly, for some providers such as Amazon Bedrock. For the processes behind the tools, Deployments has a Rollback action that redeploys an earlier packaged version to the same environment.
- SAP: in Cloud Integration you can stop, restart or undeploy the integration flows behind the tools. A Joule Studio agent is released and deployed as a numbered version to an environment. I found nothing on undeploying it or redeploying an earlier version.
- Azure: the Foundry control plane has lifecycle actions. Published and hosted agents can be stopped: no new runs, but runs already going aren't terminated. Registered custom agents can be blocked: they keep running but get no new requests. Unpublished prompt and workflow agents can't be stopped, only deleted. I found no rollback action on that page.
- AWS: AgentCore runtime versions are immutable. The
DEFAULTendpoint follows the latest version, but a named endpoint stays on its version until you update it. So you roll back by pointing the production endpoint at an earlier version. I found no stop action for a runtime on that page.
3. The caveats that matter
- Stopping isn't instant. MuleSoft gives in-flight messages two minutes. Foundry's stop doesn't end runs already going. That's fine if the tools are safe: an agent finishing a run still can't post without an
approval_id. - Roll back the whole bundle. The prompt, the model, the tool definitions and the gateway policies change together. AWS's Well-Architected agentic AI lens puts it well: keep a known-good baseline and roll back to it, not just one change. It also suggests automating rollback, aiming to restore in under five minutes, and testing it every quarter.
- Don't use
DEFAULTfor production on AWS. It moves with every update, which is the opposite of what you want when rolling back. - Some stops need a delete. On Foundry, an unpublished agent can only be deleted. Publish what runs in production, so you can stop it without losing it.
4. Time to stop
The real question is how fast you can stop. I can't give a measured answer without a build, so here's how to measure it:
- Time to pause: from the decision to the last new case reaching the agent. With a flag in the integration layer, this should be one config change.
- Time to quiet: until the last in-flight run has finished. Read it from the traces in Part 37, by case ID.
- Time to restore: until the known-good version is serving again and the golden set from Part 35 passes.
Measure all three in the drill from Part 38, on each platform, and write the numbers in the runbook.
5. The manual fallback
When the agent is stopped, the work doesn't stop. The invoice exceptions go back to the accounts payable team, who handled them before the agent existed.
That only works if you've kept it working:
- The queue stays readable by people, not just the agent.
- The team still knows the process, so they can take it back on a Monday morning.
- The ERP stays the system of record, as Part 19 argued. The agent never held anything you can't do without.
A kill switch is only safe if there's somewhere for the work to go.
How fast can you stop your agents?
This series describes a reference build on a fictional company. No hands-on build has been run yet; nothing here has been timed. Platform features are from vendor documentation read on 27 November 2026 and the documentation-only builds in Parts 11 to 25. Views are my own.
原文:https://www.a8q9.cn/en/article/part-39-kill-switches-and-rollback-on-each-platform-92b3d0.html