The Gist of It Logo
🧠 LLMs & ML ★ Impact 9.8/10 arXiv:2611.25325v1 • November 20, 2026 • 1 min read
📄 arXiv Preprint • Not Peer-Reviewed ⚡ Abstract-Synthesized

Why We Can Never Fully Guarantee AI Agent Safety

Original paper: Pandora's Toolbox Or Why Agent Safety Cannot Be Verified

Authors: Mario Franco, Carlos Gershenson

New research proves it is mathematically impossible to write a foolproof algorithm that guarantees an AI agent will never run a dangerous program.

"Think of an AI agent as a multi-tool hooked up to an infinite workbench where it can constantly weld new attachments together. Because the machine can invent entirely novel tools on the fly, a quality inspector can never look ahead and guarantee it won't accidentally build a master key to a forbidden vault."

As companies rush to deploy autonomous AI agents that can write code, browse the web, and execute tasks independently, we must accept that safety cannot be solved with a simple software patch or blacklist. Developers will need to pivot from chasing absolute guarantees toward continuous monitoring, containment boundaries, and probabilistic risk management.

  • Absolute AI safety is mathematically undecidable.
  • Even with limited time and memory, verifying safety is intensely intractable.
  • Safe agents can still become dangerous when combined together.

Why We Can Never Fully Guarantee AI Agent Safety

▶ Watch on YouTube Shorts ↗
📑 Original arXiv Technical Abstract

Present artificial intelligence agents are constructed by means of a coupling between a fixed language model with a general computing device. We show that this coupling makes safety undecidable. In particular, we show that given some dangerous program, no algorithm can predict whether an agent will run such a program that is semantically equivalent. In general, guardrails, blacklists, whitelists and certifications can only lead to imperfect safety solutions. Under finite constraints (bounded context, values and running time) safety is decidable but still intractable. Specifically, the problem is mathsf{PSPACE}-complete even when the description of the agent is known. Finally, safety is not a compositional property, i.e., agents that can be proven safe on their own can still produce unsafe behavior when grouped together. We also discuss relaxed notions of safety that could be used in practice.

✍️ Are you an author of this paper? Add code/demo links or a note

Help readers explore your work — share your official GitHub repo, Hugging Face weights, affiliation, or a clarification note for our editorial review queue.

𝕏 Share Your Paper's Gist on X

📬 Get daily LLMs & ML breakthroughs in your inbox

We scan hundreds of daily arXiv preprints across 6 frontier fields and send the top breakthroughs in plain English—with everyday analogies and 1-click PhD briefs. Free forever.

More Curated Breakthroughs

Hand-picked from the November 20, 2026 edition.