TL;DR: AI agents fail in production through tool-calling errors, infinite retry loops, and error propagation, with Openlayer noting tool calling fails 3 to 15% of the time and silent failures are often the hardest to detect. Traditional uptime and latency monitoring misses these issues because the real signal sits in output quality, step-level behaviour, and enforced exit conditions rather than status codes.
At a glance
What this is: Openlayer argues that AI agents fail differently in production than in demos, with tool-calling errors, infinite loops, silent failures, and error propagation creating reliability gaps that infrastructure monitoring does not see.
Why it matters: IAM, NHI, and AI governance teams need to monitor agent behaviour at the action layer, because permissive tool access and weak exit controls can turn model errors into unsafe system actions.
By the numbers:
- Tool calling fails 3 to 15% of the time in production, according to Openlayer.
Context
AI agents are not just another application tier. They make decisions, call tools, and pass outputs into the next step, so reliability depends on behaviour as well as uptime. In production, schema drift, truncated context, and malformed tool responses create failures that traditional monitoring rarely attributes correctly. For identity and access teams, the important question is not only what the agent can reach, but how it behaves once it has that access.
The governance gap is that many monitoring stacks still assume a failure will surface as an error code or timeout. Agent systems often fail silently, which means the control point shifts from infrastructure health to runtime enforcement, output evaluation, and step-level auditability. That makes the topic relevant to AI governance, NHI oversight, and broader access design because an agent with tool permissions can produce real-world effects without generating a clean incident signal.
Key questions
Q: What breaks when AI agents have tool access but no hard exit conditions?
A: Agents tend to retry the same failing action until tokens are exhausted, or they stall with no output when no branch satisfies the success criteria. In both cases, the failure is not just model quality. It is orchestration design. Teams need explicit ceilings, escalation paths, and stop rules so the model cannot keep acting indefinitely on bad state.
Q: Why do AI tools create governance risk even when humans stay in charge?
A: AI tools create risk when they reshape the real decision path without changing formal ownership. Teams may rely on output that is faster, more persuasive, or less scrutinised than human work. The result is weaker accountability, not because AI is autonomous, but because the control process stops matching how decisions are actually made.
Q: How should security teams detect risky AI agent behaviour in production?
A: Security teams should detect risky AI agent behaviour by monitoring runtime decisions, tool selection, action sequences, and deviations from the approved use case. Authentication alone is not enough. The useful signal is whether the agent is still acting within the behavioural envelope defined by its purpose and ownership model, especially when it operates across multiple systems.
Q: Should AI agents be governed like workload identities or human users?
A: They should be governed primarily as workload identities, because their access is machine-executed and often ephemeral, but with additional lifecycle controls that account for ownership and intent. Human IAM patterns are too coarse for agent speed and autonomy, while workload controls alone do not address accountability.
Technical breakdown
Why AI agents fail differently from traditional software
Traditional software usually fails in a local and legible way, such as an exception, timeout, or rejected request. AI agents fail across a sequence of decisions: selecting a tool, interpreting the result, and feeding that result into the next step. Because each step conditions the next, a small early mistake can compound into a wrong final outcome with no obvious exception. Non-determinism makes the problem harder, because the same prompt can produce different tool choices and different results across runs.
Practical implication: monitor step behaviour and output quality, not only service health.
Tool-calling errors and silent failures
Tool-calling is where an agent interacts with the outside world, so schema violations, hallucinated tool invocations, and silent failures become operational risks rather than mere model glitches. A malformed payload may be rejected, or worse, accepted with the wrong meaning. A silent failure is particularly dangerous when a tool returns HTTP 200 with an empty or malformed response, because the agent treats it as success and keeps reasoning on missing data. That creates bad downstream actions without any clean error surface.
Practical implication: validate tool inputs and outputs before execution and before downstream reasoning continues.
Infinite loops, paralysis, and exit conditions
Infinite loops and paralysis are two different ways agents fail when they lack enforced stop conditions. In a retry loop, the agent keeps repeating the same call until the budget runs out. In paralysis, no tool call fires at all because no available action satisfies the agent's success criteria. Both failures share a governance flaw: the system has objectives, but no defined stopping point when success is unreachable. That shifts control from the model to the orchestration layer, where limits can be enforced consistently.
Practical implication: define hard retry limits and explicit exit conditions outside the model.
Threat narrative
Attacker objective: The practical objective is to turn an agent's legitimate access and trust in tool outputs into unsafe downstream action, corrupted decisions, or operational disruption.
- Entry occurs when an AI agent receives malformed, inconsistent, or adversarial tool responses during a normal production workflow.
- Credential or tool access is then abused indirectly as the agent keeps calling external systems with the wrong parameters or repeated retries.
- Escalation happens when bad intermediate output is passed downstream and compounds across multiple reasoning steps or multiple agents.
- Impact is a wrong or unsafe action in production, often with no obvious error signal until the output has already been used.
Breaches seen in the wild
- CoPhish OAuth phishing via Copilot Studio: Datadog showed Copilot Studio agents on a Microsoft domain can front OAuth consent phishing and forward stolen tokens; no victims reported.
- Azure Key Vault Contributor escalation 2024: Datadog found Azure Key Vault Contributor could add itself to access policies and read every secret, key and certificate in a vault.
Read and download The State of NHI & AI Agent Breach Report 2026, covering 200+ breaches impacting Non-Human Identities including AI Agents.
NHI Mgmt Group analysis
Runtime control, not dashboard visibility, is the real governance boundary for AI agents. The article shows that agents can fail silently while still appearing healthy to infrastructure tools. That means the decisive control is whether a system can block, halt, or review an action before the action reaches an external tool or shared state. For IAM and AI governance teams, observability without enforcement is only partial accountability.
Silent failure is the named concept this article surfaces. When a tool returns success with empty or malformed data, the agent may continue as if the step succeeded. That is not a logging problem, it is a governance problem because the control framework assumed visible failure. Practitioners should treat silent failure as a distinct operational failure mode, not a generic reliability issue, because it changes where controls must sit in the stack.
AI agent permissions now need lifecycle thinking, not just policy thinking. The article's production examples show that broad tool access becomes unsafe when the agent cannot reliably recognise failure or stop itself. That creates an identity question as much as a model question: who grants the tool scope, who reviews step-level behaviour, and who can revoke or constrain access when the agent drifts. For NHI programmes, the agent itself behaves like a high-risk non-human actor that needs bounded authority.
Multi-step propagation is the governance debt that compounds fastest. A single flawed output is manageable in isolation, but once an orchestrator forwards that output to multiple subagents, each downstream step inherits the same bad assumption. That shifts the risk from one bad answer to a chain of bad decisions. Practitioners should model agent workflows as trust chains, not isolated prompts, because the failure surface expands with every hop.
Production monitoring for AI agents must move from infrastructure metrics to intent verification. Uptime, latency, and error-rate dashboards still matter, but they do not tell you whether the agent satisfied the original task. The control question becomes whether the final output still matches the intended task after tool calls, retries, and context shifts. That is the practical lens teams should use when aligning AI governance with NIST AI RMF style oversight and runtime accountability.
What this signals
AI agent reliability is now a control-design problem, not just a model-quality problem. Teams that focus only on prompt tuning or benchmark accuracy will miss the operational failure modes that matter in production. The right next step is to align runtime enforcement, tool governance, and step-level auditability so the agent cannot quietly degrade while still appearing healthy.
Agent workflows should be treated as trust chains. Once one bad output can feed several downstream steps, the blast radius of a single mistake grows quickly. That is why identity, privilege, and monitoring must be designed together when agents can trigger external actions, not bolted on after the first incident.
For practitioners
- Define enforced exit conditions for every agent workflow Set hard retry ceilings, escalation paths, and stop states in the orchestration layer so the model cannot spin indefinitely when success is unreachable.
- Validate tool schemas before dispatch Block malformed tool arguments and unknown tool names before the call reaches the external system, then log the rejected request and reason.
- Instrument step-level output similarity checks Detect loops by comparing repeated tool calls and semantically identical outputs across steps, not by waiting for a timeout or a visible error.
- Review agent permissions as a non-human identity scope Treat the agent as a governed non-human actor with bounded tool access, explicit ownership, and a revocation path when behaviour drifts.
Key takeaways
- AI agents fail in production through silent tool errors, retry loops, and compounding downstream mistakes, which makes infrastructure-only monitoring an incomplete control.
- The most useful signal is behavioural, not infrastructural, because output quality and step-level validation reveal failures that status codes do not.
- Teams need enforced exit conditions, tool validation, and bounded agent authority if they want production AI systems to remain governable.
Standards & Framework Alignment
This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.
OWASP Agentic AI Top 10 and MITRE ATLAS address the attack and risk surface, while NIST AI RMF and NIST CSF 2.0 set the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| OWASP Agentic AI Top 10 | ASI02 — Tool Misuse | Tool misuse is central to the article's discussion of malformed calls and unsafe external actions. |
| ASI03 — Identity & Privilege Abuse | The article shows how broad agent authority turns execution failures into governed access risk. | |
| Recommendation — Restrict agent tool permissions and validate every call before it reaches an external system. Bound agent privileges to the minimum scope required for each workflow and revoke excess authority. | ||
| NIST AI RMF | MANAGE — AI Risk Management | The piece is fundamentally about runtime control, monitoring, and governance of AI failures. |
| Recommendation — Embed runtime monitoring, escalation, and override controls into the AI system's governance model. | ||
| MITRE ATLAS | TA0006;TA0008 — Credential Access; Lateral Movement | Agentic misuse of tools and downstream propagation maps to access abuse and movement across systems. |
| Recommendation — Map agent misuse paths to credential-access and lateral-movement tactics to improve detection coverage. | ||
| NIST CSF 2.0 | DE.CM-01 — Networks and systems are monitored to detect potential cybersecurity events | The article argues that monitoring must detect behavioural failure, not just service uptime. |
| Recommendation — Extend monitoring to behavioural indicators so agent failure is visible before downstream impact. | ||
Key terms
- Silent Failure: A silent failure is a fault that does not crash the system but still corrupts output, state, or learning signals. These failures are dangerous in AI pipelines because dashboards can remain green while the model, trainer, or gateway drifts away from intended behaviour.
- Infinite Retry Loop: An infinite retry loop is a repeated attempt to perform the same action without a valid stopping condition. In AI agents, this usually consumes tokens and time until a budget or timeout ends the process, often with no meaningful progress and little diagnostic evidence beyond repeated identical behaviour.
- Error Propagation: Error propagation is the process by which a flawed intermediate output becomes the input to later steps and compounds into a larger failure. In agentic systems, it is especially dangerous because the system can look healthy while the original mistake silently shapes every downstream decision.
- Exit Condition: An exit condition is the rule that tells an agent workflow when to stop, escalate, or hand off if success is not reachable. It is a governance control, not a model preference, and it is essential when agents can retry actions or make external calls.
Deepen your knowledge
NHI Foundation Level course, the industry's only accredited NHI security programme, covers NHI governance, agentic AI identity, machine identity security, and secrets management. It helps security, IAM, and platform teams apply identity discipline to non-human actors in production.
Published by the NHIMG editorial team on August 2, 2026.
Updated on October 12, 2026.
NHI Mgmt Group, the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org