TRANSMISSION // 2611.25325v2
Why AI Agent Safety Cannot Be Fully Verified
Source published
A theoretical paper argues that powerful tools, unbounded computation and agent interactions place limits on complete safety checks—even as practical constraints make some checks decidable.

AI agents can do more than generate text: they can call software tools, run code and pass information to other agents. A new theoretical paper asks whether we can reliably predict that such systems will never perform a dangerous computation. Its answer is qualified: complete verification is impossible in a broad, idealized setting, while strict limits make checking possible but potentially very costly.
The safety question is about the whole loop
An AI agent is often a language model connected to a computing device through software called a harness. The model chooses a tool or program, the tool returns a result, and that result becomes part of the model’s next input. The paper by Mario Franco and Carlos Gershenson studies this repeated loop, rather than treating the language model as a stand-alone text generator.
The authors use a deliberately abstract definition of danger. They start with a particular dangerous program and count as dangerous any program that behaves identically to it on every input. That choice makes the question precise enough for mathematical analysis, but it does not settle what should count as harmful in the real world. The authors acknowledge that danger depends partly on human judgments and that real systems may have many different kinds of risk.
How the authors analyze it
This is a theory paper, not a trial of deployed agents. The authors represent models, tools and agent policies as computational machines, then use established ideas from computability theory—especially the halting problem and Rice’s theorem—to construct cases where safety prediction would require solving a problem known to be undecidable.
In one construction, an agent first runs a program whose completion cannot be predicted in general. If it finishes, the agent requests a dangerous program; if it does not, the dangerous request never happens. Predicting whether the agent will make that request would therefore also predict whether the first program halts. Since no general algorithm can decide the halting problem, the authors conclude that no universal algorithm can perfectly predict this kind of unsafe behavior under their assumptions.
They extend the argument to checking requests with guardrails and to certifying agents in advance. The key issue is not that every safety filter fails on every case. Rather, no algorithmic filter can be both sound—blocking every program in the specified dangerous class—and complete—blocking only programs in that class. A finite blacklist can miss dangerous programs, while a whitelist can still allow indirect execution when a permitted interpreter runs risky code supplied as data.
Limits change the problem, not necessarily the workload
Real systems have timeouts, limited memory and bounded contexts. The paper examines a formal version of these restrictions: limits on how much context an agent retains, the size of values it can process, and how long tools run. With finite bounds and a decidable definition of danger, the authors show that safety can be decided by simulating the agent until it halts or repeats a state.
But decidable does not mean easy. The paper shows that, under stated assumptions, the constrained problem is PSPACE-complete. In everyday terms, this is a complexity result indicating that the worst-case resources needed to solve the problem can grow sharply as the system’s bounds grow. It is not a measurement of the time required by a particular deployed agent, nor does it mean every practical safety check will be infeasible.
The authors also show why checking agents separately can miss hazards created by interaction. In a constructed example, each of two agents is safe when run alone, but one sends a message that prompts the other to make a dangerous request. The result is a formal demonstration that safety, as defined in the paper, does not automatically carry over from individual agents to a group.
What the results do—and do not—establish
The central conclusion is narrower than “AI agents cannot be safe.” The authors explicitly distinguish building a safe system from proving complete safety for every possible input and behavior. Their results concern broad classes of systems with powerful computing tools, a formalized danger criterion and specified assumptions. They do not show that current agents routinely behave dangerously, or that every guardrail is useless. Practical controls may reduce risks or work well within a defined scope; the paper’s claim is that they cannot provide a perfect, general guarantee in the model studied.
The paper discusses softer alternatives, including risk measures tied to likely inputs, attacker effort or the chance of a dangerous action within a fixed period. It does not establish one of these as a validated, reliable safety standard; the authors describe them as tentative and note trade-offs such as computational expense or vulnerability to gaming.
This is a theoretical preprint, so its claims should be read as mathematical results under the paper’s definitions, not as empirical evidence about the performance of safety systems. The source record identifies it as an arXiv preprint; the material provided here does not establish peer-review status. Its value is in clarifying what complete verification can run up against—and why practical safety work still needs carefully stated limits, tests and goals.
- AI agent safety
- computability theory
- program verification
- AI guardrails
- multi-agent systems
- PSPACE complexity
Reviewed cross-references
These connections were reviewed by a model, not independently fact-checked by a human. Similarity does not imply agreement; consult the original papers and the evidence below.
When Perfect Output Filtering Is Impossible
Shared method: Both papers use computability-theoretic arguments to delimit exact safety enforcement: Franco and Gershenson analyze guardrails for agent tool execution, while Amer, Kinczel and Long characterize output guards for a full generator. This is a shared formal approach, not evidence that their theorems have identical assumptions or scope; the latter result is conditional on the generator and policy model stated in its theorem.
Model review: · openai-codex/gpt-6-luna
Evidence and provenance
Selected excerpts, not complete papers. PDF extraction can omit figures or damage equations, tables and reading order; sources may be preprints.
2611.25325v2 — Original paper
Excerpt reference:
static/papers/2611.25325v2.md:578-636
Basis: Paper text
Source file SHA-256:c5e1615afc992e08952717dd7f9bd0e43181cbd087502a53c9f1413fbe0a619d2611.27260v1 — Original paper
Excerpt reference:
static/papers/2611.27260v1.md:311-379
Basis: Paper text
Source file SHA-256:d2d3dc74b8c265e011d28151727acc6ccbb0785f9214945d313a9c13b4193686
Related reading
Automatically matched by shared topic keywords. These links do not imply that the sources agree or establish a consensus.
When quantum memory becomes undecidable
Source published
Shared keywords: computability theory
When a probabilistic program can ask about halting
Source published
Shared keywords: computability theory
A More Nuanced Safety Guard for Visual AI
Source published
Shared keywords: ai guardrails
A compact guardrail for mobile AI agents
Source published
Shared keywords: ai guardrails
TopicScope tracks an AI response’s subject as it is generated
Source published
Shared keywords: ai guardrails