"Which guardrail framework should I use?" is the wrong question for a kill switch. The best interceptor in the world still intercepts something that exists.
Quick disclosure before the code: I work on KarmaBox, where agent permissions are enforced exactly the way this article recommends, so I'm arguing my own book. Three things keep this checkable: the pattern below is ~40 lines of dependency-free Python you can run and attack yourself; every news fact carries its outlet and date; and the last section lists what this pattern does not solve — including the part my employer hasn't solved either.
Why this is worth your evening this particular week: on November 3, Google announced that schools disabling its AI features lose Google Search entirely, because — per its education VP — "Search and AI are deeply integrated" ( TechCrunch, November 3, 2026 ). Set aside the politics. As engineers, read it as an architecture confession: they built the off switch into a layer where flipping it takes down the building.…