By NHI Mgmt Group Editorial TeamDomain: AI SecuritySource: ArizePublished April 23, 2026

TL;DR: AI agent demos fail in production when teams over-focus on model upgrades and underinvest in context, retrieval, and evaluation, according to Arize’s April 23, 2026 analysis of agent engineering. The governance lesson is that reliable agent behaviour depends on grounded data, measurable outcomes, and traceable decision paths, not raw model capability.


At a glance

What this is: This analysis argues that production AI agent failures usually come from missing context and weak evaluation, not from the model itself.

Why it matters: It matters because IAM, NHI, and AI governance teams need evidence-based controls for tool use, decision quality, and traceability as agents move into real workflows.

👉 Read Arize’s analysis of why context and evals determine AI agent production reliability


Context

AI agent reliability breaks down when systems move from controlled demos into production workflows with messy data, legacy systems, and high-stakes decisions. In that setting, the core governance problem is not simply whether the model can respond, but whether the surrounding architecture gives the agent the right context, decision boundaries, and measurable outcomes. That same pattern shows up in agentic AI identity work, where tool access and delegated actions must be governed rather than assumed.

The article also points to a wider design shift: teams are beginning to treat retrieval, state, and evaluation as production infrastructure rather than optional extras. For identity programmes, that is a familiar lesson. When agents can call tools and complete multi-step tasks, the control plane around access, attribution, and monitoring matters as much as the model behaviour itself. The starting point here is typical for teams adopting agents quickly, but the production failure mode is also broadly predictable.


Key questions

Q: How should security teams govern AI agents that can access enterprise systems?

A: Security teams should govern AI agents as non-human identities with explicit ownership, scoped privileges, and continuous monitoring. The control set should include inventory, task-bound credentials, audit trails, and revocation paths. If an agent can call tools or touch production systems, it belongs in the same governance model as service accounts and other machine identities.

Q: Why do AI agents that succeed in demos fail so often in production?

A: Demos hide the conditions that break real workflows, including expired tokens, changing APIs, concurrent activity, and incomplete context. Production also introduces retries, state drift, and longer execution chains. A demo proves the model can perform in a narrow setup, not that the surrounding system can sustain reliable operation under live conditions.

Q: What do security teams get wrong about governing AI agents?

A: They often treat agents like another automation layer instead of governed non-human actors with their own access paths. Once an agent can connect to tools and data at runtime, the programme needs attribution, scoped privileges, and lifecycle oversight. Otherwise, the agent becomes an unreviewed extension of the enterprise access model.

Q: How do security teams know whether an AI agent is operating safely?

A: Security teams know an AI agent is operating safely when its permissions, invoked tools, and accessed data remain consistent with the approved use case over time. Useful signals include restricted data exposure, unchanged guardrails, and a stable identity path. If any of those drift, the agent should be re-reviewed before it expands further.


Technical breakdown

Why context completeness determines agent reliability

In production, context is the set of inputs that lets an agent act on the right facts at the right time. It includes structured records, retrieved documents, memory, workflow state, and domain constraints. If any part is missing or stale, the model can still produce fluent output, but the action may be wrong. The article’s key technical point is that agents fail less because they lack language ability and more because they lack grounded situational awareness. That distinction matters when agents interact with enterprise systems, where a confident but incomplete answer can trigger the wrong tool call or business action.

Practical implication: build agents around grounded data sources and explicit state, not free-form prompting.

Retrieval and reasoning should be separated in agent architecture

A reliable agent architecture keeps retrieval responsible for finding facts and reasoning responsible for interpreting them. This separation reduces hallucinated certainty because the model no longer has to remember everything or infer missing operational detail. It also makes failures easier to trace, because teams can see whether the problem came from search, context assembly, or decision logic. In practice, this is close to a control boundary: retrieval systems need governance over source quality, freshness, and access, while the reasoning layer needs constraints on how it can use the returned data. For agentic AI security, that boundary is where tool abuse and data overreach become visible.

Practical implication: instrument retrieval, policy, and reasoning as separate layers so failures can be isolated and controlled.

Evals turn agent behaviour into an operational control

Evaluations are what move agent systems from “seems to work” to “actually works.” The article describes golden datasets, task success checks, tool-call correctness, and regression testing as the core loop. That approach matters because benchmark scores alone rarely reflect business reality, especially in specialised workflows. Evaluation also creates accountability: if an agent changes behaviour after a model swap or retrieval update, teams need a way to detect drift before it reaches users. For identity and AI governance teams, evals are the evidence layer that shows whether delegated actions still stay within intended policy and business boundaries.

Practical implication: create recurring eval suites tied to real workflows, not one-off model benchmark comparisons.


NHI Mgmt Group analysis

Production AI agents create a context trust gap, not just a model quality problem. The article is right to shift attention away from model selection and toward the systems that supply facts, state, and constraints. In agentic environments, the governance issue is whether the agent can act on trustworthy context before it takes tool actions. That intersects directly with identity and NHI governance because every delegated action depends on trusted access paths, traceability, and policy enforcement. Practitioners should treat context as part of the control plane, not as an implementation detail.

Evaluation is becoming the control that separates prototype behaviour from governed behaviour. Golden datasets, regression checks, and task-level success metrics are the only practical way to show whether an agent still behaves as intended after a prompt, model, or tool change. This aligns closely with NIST AI RMF and OWASP Agentic AI risk themes, especially where agents can call external tools or act on operational data. The field should stop treating evals as testing overhead and start treating them as governance evidence. Practitioners should require measurable agent acceptance criteria before production use.

Agent engineering is expanding IAM’s scope into runtime delegation and tool oversight. Once an agent can retrieve data, call APIs, and chain actions, the question is no longer only who authenticated, but what the agent is allowed to do after authentication. That creates a new boundary for identity governance, especially when non-human identities are embedded inside workflows. The named concept here is context trust gap: the failure mode where an agent has credentials but lacks enough verified context to use them safely. Practitioners should align identity controls with runtime decision quality, not just login events.

Model upgrades do not fix governance failures caused by missing context. The article shows a familiar enterprise mistake: improving the model while leaving the data path, control path, and evaluation path unchanged. That pattern does not create resilience, it hides fragility behind better language output. In governance terms, this validates a broader shift toward control design around traceability, source assurance, and bounded action scope. Practitioners should prioritise operational guardrails before chasing incremental model improvements.

Production readiness for agents depends on decision evidence, not confidence. The strongest point in the article is that confidence without traceability is not a useful security or operations signal. If teams cannot explain why an agent took a specific action, they cannot govern it. That matters across AI security, IAM, and PAM because delegated access needs an auditable reason, not just a successful output. Practitioners should ask whether every meaningful agent action can be reconstructed after the fact.

What this signals

Context trust gap: as agents gain tool access, the main governance challenge shifts from model performance to whether the runtime context is verified, current, and sufficient for the action being taken. That creates a direct intersection with NHI governance, because non-human identities embedded in workflows need policy, traceability, and least-privilege boundaries before they can be trusted with delegated actions. Teams should align agent runtime design with identity controls, not bolt identity on afterwards.

Evaluation will become the practical proof point for AI governance programmes because it turns abstract agent risk into measurable behaviour. The most useful signal is not whether an agent can produce fluent output, but whether it consistently completes the right task under realistic conditions and fails safely when inputs change. Practitioners should expect audit teams and risk owners to ask for evidence, not descriptions, of agent reliability.

The next phase of agent adoption will reward organisations that treat data quality, retrieval design, and observability as part of the control stack. That means production readiness reviews should include source provenance, decision tracing, and rollback criteria for model or prompt changes. For identity teams, the implication is clear: delegated machine action needs the same operational discipline that humans already require when privilege is elevated.


For practitioners

  • Implement retrieval-backed agent workflows Replace prompt-only flows with retrieval from authoritative systems of record, and require the agent to ground every consequential action in cited operational data rather than inferred memory.
  • Create golden datasets from real workflows Build a small but representative evaluation set with domain experts, then score task success, tool-call correctness, and edge-case behaviour before allowing production changes.
  • Separate reasoning from data retrieval Design the architecture so search, context assembly, and reasoning are observable as distinct steps, which makes it easier to spot whether failure came from bad data, bad policy, or bad interpretation.
  • Instrument agent actions for traceability Capture the inputs, retrieved sources, tool calls, and final decisions for every meaningful agent action so governance teams can reconstruct behaviour after model or prompt changes.
  • Define production acceptance criteria for agents Require measurable thresholds for task completion, consistency, and regression tolerance before any agent is promoted from demo to production use.

Key takeaways

  • AI agent failures in production often reflect missing context and weak evaluation, not model incapability.
  • When agents can call tools, identity governance must extend to runtime delegation, traceability, and bounded action scope.
  • Teams that want reliable agents need workflow-specific evals, grounded data, and decision evidence before scaling use.

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 address the attack surface, NIST AI RMF, NIST CSF 2.0 and NIST SP 800-53 Rev 5 set the technical controls, and ISO/IEC 27001:2022 define the regulatory obligations.

FrameworkControl / ReferenceRelevance
OWASP Agentic AI Top 10The article is about production agent risk, tool use, and evaluation gaps.
NIST AI RMFMANAGEProduction agents need lifecycle risk treatment, monitoring, and measured controls.
NIST CSF 2.0PR.DS-1Context, retrieval, and eval depend on protecting the integrity of source data.
NIST SP 800-53 Rev 5AU-6Agent traceability and decision evidence map to audit and review requirements.
ISO/IEC 27001:2022A.5.15Agent access and delegation need explicit access control policy.

Apply agentic AI controls to bound tool use, ground actions in trusted context, and test behaviour continuously.


Key terms

  • Activation Trust Gap: The activation trust gap is the difference between trusting data because it is protected and governing it because it is being reused. It appears when organisations move data from backup or archival systems into AI pipelines without reapplying access, sensitivity, and consumer controls.
  • Golden Dataset: A curated set of expected inputs and outputs used to test whether an AI system behaves consistently across changes. In governance terms, it becomes evidence that model or workflow changes did not introduce regressions that would affect reliability, safety, or access-related behaviour.
  • Retrieval-Reasoning Separation: An architectural pattern that keeps information lookup distinct from the model’s decision-making step. Retrieval fetches authoritative facts and context, while reasoning interprets them. Separating the two improves observability, reduces hallucinated certainty, and makes failures easier to diagnose.
  • AI Traceability: AI traceability is the ability to reconstruct how a model output was produced by linking data sources, prompts, model versions and deployment context. It turns AI operation into an auditable evidence chain rather than a set of disconnected technical events.

What's in the full article

Arize's full blog post covers the operational detail this post intentionally leaves for the source:

  • A deeper walkthrough of the agent engineering workflow used to separate retrieval, reasoning, and tool execution.
  • Practical examples of golden dataset creation for domain-specific evaluation in production agent systems.
  • The article's discussion of tracing, observability, and how teams investigate failed agent runs at scale.
  • Additional commentary on building versus buying AI observability infrastructure for agent workflows.

👉 The full Arize post covers the agent maturity model, evaluation loop, and workflow design details.

Deepen your knowledge

The NHI Foundation Level course, the industry's only accredited NHI security programme, covers NHI governance, agentic AI identity, and machine identity security. It helps practitioners translate delegated access, runtime control, and lifecycle oversight into operational policy.
NHIMG Editorial Note
Published by the NHIMG editorial team on August 20, 2026.
NHI Mgmt Group — the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org