Quick read · plain language
Why AI Agents Get Stuck When Tools Are Turned Off
A plain-language version of “The Capability–Availability Mismatch: Three-State Tool Semantics and Forced-Halt Conditions in LLM Agent Protocols”
The short version
Computer systems that run AI agents usually think a tool is either there or not. But sometimes a tool exists and simply cannot be used right now. This paper shows that gap causes real problems. It also shows how to fix the design.
The problem no one named
Teams that run AI agents face a failure that better AI models cannot fix. An agent gets told to use a live search tool for facts. It also gets told never to fake tool output. The tool sits in its tool list. The code works. But in this session, the platform turned the tool off. Maybe the budget ran out. Maybe a rule switched it off. The tool is still there. It just cannot run.
The agent now faces a trap built by the wording of its orders. If it thinks honestly, it sees the tool as "not available." Then the order to use it plus the ban on faking force it to stop a task it could finish another way. If it keeps going, it must either fake a live fetch or break a rule. Tasks stop when they should finish. Or silent rule breaks pile up. No checker catches them, because the checker makes the same two-state guess the protocol text does.
This matters to three groups. People who write system instructions lack words for this state. Engineers who turn tools off cannot predict what the agent will do. Auditors who score compliance have no clear way to judge a faked fetch. The paper says a small design change fixes the trap. The system must signal the disabled state clearly. Compliance rules must cover three states, not two.
Three states instead of two
The paper gives each tool-context pair one of three states. Absent means the tool does not exist. Enabled means it exists and can run. Disabled means it exists but cannot run right now. The binary model folds absent and disabled into one "unavailable" value. That collapse has a cost. A protocol that only knows two states cannot express rules that depend on the disabled state alone. For example, it cannot say "report the tool as disabled and keep going without it."
A protocol has instruction text and a compliance rule. The paper focuses on a common pattern: a mandate to use a tool, plus a ban on faking its output. In the enabled state, the agent simply uses the tool. In the absent state, halting with a clear report works. In the disabled state, the two-state reading creates a trap. No action satisfies both orders. The protocol either forces a halt or accepts a fake. Under three states, a new option exists: report disabled, drop the tool, continue. The trap is a flaw in the design, not a failure of the AI.
How much the binary model misses
The paper counts states. With five tools that can be gated, the true state space has three options per tool. The binary model sees two options per tool. The binary model fully covers about one in eight of the true states. With ten tools, the true space is nearly sixty times larger than the binary model sees. Every extra state contains at least one disabled tool. A binary protocol has no specified behavior for any of them.
The paper assumes all three states show up equally often. If disabled states are rare, the gap shrinks. If platforms disable tools by tenant or by budget, disabled states grow common and the gap widens.
Why no checker can catch every case
The paper proves that one natural question cannot be answered by any program. The question is whether an agent loop, under some protocol, will halt with a compliant action when a tool is disabled. The proof works by contradiction. If a program could answer this, one could build a program that solves the halting problem. That is known to be impossible. So no such program exists.
This binds the design and checking layer, not any single run. Real agent loops have token limits and timeouts. They always stop eventually. The impossibility means no checker can decide compliance-halting for arbitrary protocol text. Well-definedness must be built into the design, not checked after.
What the mismatch costs
The paper assumes a tool exists nine times out of ten, and permission holds seven times out of ten. These are guesses meant to feel plausible. Under those guesses, the disabled state occurs about one time in four per gated tool call. The signaling fix pays for itself if its cost stays below about one fourth of the cost of one wasted task. The paper leaves the actual cost of a wasted task as a symbol, with no dollar figure.
What this does not show
The paper contains no experiments with real agents. The rates for tool existence and permission are assumptions, not measurements. The numbers built from them are projections. The paper does not prove that real agents currently halt or fake at high rates in the disabled state. It says such an experiment would test the claim. The smallest useful test would compare three conditions: tool removed, tool present but failing silently, and tool present with an explicit disabled signal. The paper predicts the silent-fail condition would show more forced halts or faked fetches.
The undecidability result does not mean every protocol is hopeless. It means arbitrary protocol text cannot be checked automatically. Restricted designs can be checked by construction. The paper does not say how much such restrictions cost in practice.
The signaling fix can fail too. The signal might be wrong. An agent might abuse the degrade-and-continue path to skip hard steps. The checker must verify the disabled report against the platform signal, not trust the agent.
Words used here
- protocol
- the set of rules and instructions that tell an agent what to do
- compliance
- whether an agent's actions follow its rules
- predicate
- a yes-or-no test applied to a situation
- undecidable
- a question that no program can answer for all cases
Learn more in plain language
- Turing machineWikipedia (English, more technical)
- Halting problemWikipedia (English, more technical)
- Formal specificationWikipedia (English, more technical)
- Communication protocolSimple English Wikipedia
This plain-language version was written by an AI model from the text of the paper and checked against plain-language rules: everyday words, no mathematics, no unexplained names. It leaves details out and can still be wrong; the paper is the source of record. To report a problem, open the paper, select the passage and choose Report.
For specialists: the technical digest, quoted from the paper
In the paper's words
Agent protocols written for large language models (LLMs) typically assume a binary world: a tool is either available to the agent or it is not. Real deployments exhibit a third state: the capability exists in the toolset but is contextually disabled by policy, budget, or routing. We formalize this capability–availability mismatch.
The abstract, verbatim; every line below is quoted from the text.
What it claims
PCH is undecidable over the class of arbitrary protocols Π.
Numbers it reports
Retrieval-augmented search agents exhibit the mirror-image pathology: a 3B Self-Ask agent runs to its search budget on 78–88% of questions instead of halting on its own [3].
from 1. IntroductionInverseNet benchmarks operator mismatch in compressive imaging: when the assumed forward operator deviates from physical reality in eight parameters, EfficientSCI loses 20.58 dB; under mismatched operators all methods converge to 20.40–21.88 dB on CASSI, erasing the roughly 10 dB ideal-condition advantage of deep learning over classical methods; CACTI suffers degradations up to 20.6 dB; and mask-oblivious architectures such as HDNet show zero oracle recovery ($\Delta_{\text{rec}}=0.00$ dB) while operator-aware ones such as PnP-HSICNN recover with ratio $\rho=56.8\%$ [6].
from 2. Background and Related WorkHigh-concurrency LLM serving is bottlenecked by KV cache memory overhead, and structural changes are what move concurrency: an adaptive GQA-to-MLA transition limits Llama3-8B perplexity degradation from 6.1 to 12.9 versus 25.8 for the baseline, a 65% reduction in degradation [2].
from 2. Background and Related WorkThe mismatch is structurally analogous to operator mismatch in computational imaging, where a reconstruction pipeline that assumes a forward operator differing from physical reality in eight parameters loses 20.58 dB [6]: in both cases the deployed artifact is evaluated against a state model that the environment does not honor.
from 1. IntroductionWith gold claims on a Self-Ask 3B agent, HALT reduces loop counts by 37% on 2Wiki, 45% on HotpotQA, and 20% on MuSiQue, with exact-match changes between $-0.9$ and $+1.5$ percentage points; the HotpotQA non-inferiority test fails with a 95% CI of $[-2.6,+0.8]$ pp crossing the $-2$ pp margin, and under open-corpus retrieval shift the fire rate drops from 67.6% to 6.4% on HotpotQA and to 2.4% on Bamboogle [3].
from 2. Background and Related WorkThe Halt Vector work internalizes a causal stopping direction at layer 18 into the weights, yielding a per-problem self-halt trained from 24 problems that removes about 24% of thinking at held accuracy; notably, outcome-level length penalties only trim the longest tails and do not move the internal answerable point, and the stop-and-commit tokens are about 0.34% of the token loss, so plain fine-tuning leaves length unchanged [4].
from 2. Background and Related Work
How it is done
Tool state is modeled as a pair (capability, per-context permission), protocol compliance is defined as a predicate over these states, and we ask which protocol designs remain well-defined when the third state occurs.
from AbstractThe agent now sits in a catch-22 constructed entirely by the protocol's wording: if it honestly self-assesses, it concludes the tool is "not available," and the mandate-plus-prohibition pair forces it to halt a task it could in principle execute; if it proceeds, it either fabricates a "live" fetch (violating the prohibition) or claims compliance it cannot verify.
from 1. IntroductionThe classical analogue (a stochastic-matrix version of the same question) is decidable, so the gap between the modeled dynamics and the richer dynamics is exactly what introduces undecidability; and mild restrictions, such as trace-preserving channels bounded via the quantum Wielandt theorem, restore efficient decidability.
from 2. Background and Related WorkFor a tool $t$ and context $c$ we define two independent bits: $\mathrm{Cap}(t) \in \{0,1\}$: the tool is present in the agent's toolset and the calling path is functional.
from 3.1 Three-state tool semantics
What would falsify it
Platform engineers who disable tools per tenant or per budget envelope must predict agent behavior after the switch, and currently cannot, because the agent's decision procedure was never specified for that state.
from 1. IntroductionA design rule for agent instruction languages — explicit disabled-state signaling plus three-state compliance predicates — and the smallest experiment that would falsify or de-risk it (Sections 5 and 7).
from 1. IntroductionWhat would falsify the main result.
from 6. Discussion
Where the claim stops
What the results do and do not claim.
from 6. DiscussionR1 is exact arithmetic given the three-state semantics; its only assumption is that the three states are the right state model, which is an empirical question about real platforms.
from 6. DiscussionR3 and R4 are projections resting on assumed rates; R2 is a formal result whose scope is bounded by its modeling choices.
from 6. Discussion
Where to read
- Abstract240 words · 1 min
- 1. Introduction802 words · 3 min
- 2. Background and Related Work990 words · 4 min
- 3. Methods910 words · 4 min
- 4. Analysis1,029 words · 4 min
- 5. Results337 words · 1 min
- 6. Discussion745 words · 3 min
- 7. Practical Implications and Engineering Pathways671 words · 3 min
- 8. Conclusion210 words · 1 min
- Provenance and AI Involvement242 words · 1 min
Read from the paper itself: 20 sections, 6,264 words. Nothing in this digest is written by a model; a line that is not a sentence of the paper is not shown. Have a specific question? Ask this paper.
The full text · Ask the whole corpus
Keep exploring
One body of research, three doors.