By NHI Mgmt Group Editorial TeamDomain: AI SecuritySource: OpenlayerPublished June 26, 2026

TL;DR: LLM agents fail in ways single-turn chatbots do not, with Openlayer citing a 41% failure rate on complex multi-step tasks and runtime thresholds for groundedness and toxicity that must be enforced before tool calls complete. The governance problem is no longer output review, but session-level control, auditability, and policy enforcement inside the execution loop.


At a glance

What this is: This is an analysis of why LLM agents need governance beyond chatbot-style input and output checks, with emphasis on step-level evaluation, runtime guardrails, and audit-ready execution traces.

Why it matters: It matters because IAM, PAM, and AI governance teams must treat agent sessions as policy-bearing actions, not just prompts and responses, when tools, data, and downstream systems are involved.

By the numbers:

👉 Read Openlayer's guide to AI agent governance in production


Context

AI agent governance is the practice of controlling what an LLM agent can do before, during, and after it takes action. The article argues that chatbot-era controls are inadequate because agents plan across multiple steps, call tools, and affect live systems before a human ever sees the outcome. For identity and access teams, the relevant question is no longer whether a model answered correctly, but whether the agent had the right authority to act at each step.

The primary governance gap is the assumption that policy can be enforced only at the end of a request. That breaks down when an agent can query databases, send emails, or invoke APIs in a single session. In identity terms, each tool call becomes a delegated action that needs authorization, observability, and revocation logic aligned to the session, not just the account.

This is a growing governance problem for AI programmes that intersect with IAM and NHI controls. When an agent uses service credentials, API tokens, or scoped tool permissions, it behaves like a non-human identity with execution risk that conventional chatbot monitoring will miss.


Key questions

Q: How should security teams govern AI agents that call APIs instead of using a UI?

A: Security teams should govern AI agents by treating each callable action as a scoped entitlement, not as a general application login. The key control is to limit which APIs, data sources, and write actions the agent can chain together in one session. That keeps machine-paced behaviour inside a reviewable boundary instead of relying on human-style session assumptions.

Q: Why do endpoint agentic AI tools create more governance risk than chat-only GenAI?

A: Endpoint agentic AI can act inside a user’s session, move data, and trigger downstream actions, which expands the effective privilege boundary. Chat-only tools may still create data risk, but agents can combine access and action in ways that are harder to see and easier to over-scope. That makes workflow control and telemetry more important than simple application approval.

Q: What breaks when agent governance is limited to output filtering?

A: Output filtering catches unsafe text, but it does not stop an agent from taking an unsafe action first. If the system can query databases, send messages, or write records, the harmful step may already be committed by the time the output is reviewed.

Q: Who is accountable when an AI agent makes a destructive tool call?

A: Accountability sits with the organisation that allowed the runtime, connector, and policy model to exist together without sufficient control. In practice, that means security, platform, and application owners all share responsibility for the guardrails that should have stopped the action at the tool boundary.


Technical breakdown

Why multi-step AI agents fail differently from chatbots

Chatbots return a response and stop. LLM agents maintain state, plan across steps, and use tools that can change external systems. That means a bad intermediate decision can compound into a later write action, file change, or API call before any review occurs. Failure is not just a bad answer. It is a broken execution path that can still look plausible in the final output. This is why per-turn checks miss the core risk: the control problem lives in the sequence, not only in the response.

Practical implication: govern the session path, not just the final output, when an agent can act on live systems.

How runtime guardrails block unsafe tool calls and outputs

Runtime governance inserts policy checks at the boundaries where the model receives input, invokes tools, and emits output. Input filters catch prompt injection and out-of-scope requests before the agent reasons on them. Tool validation checks parameters, allowlists, and permission boundaries before execution. Output filtering blocks responses that fall below quality thresholds such as groundedness or toxicity. In agentic systems, this is the difference between logging a bad action and preventing it. The control point has to sit before the tool call completes, not after the audit log is written.

Practical implication: enforce allowlists and score-based blocking at inference time for every high-risk tool call.

What session-level evaluation adds to AI governance

Session-level evaluation measures the full conversation arc rather than isolated turns. That includes contextual consistency, goal completion, abandonment, turn productivity, and cost per session. These metrics reveal drift and compounding failure that single-response scoring hides. For governance teams, the useful insight is that an agent can pass individual checks and still fail users across the end-to-end workflow. Session telemetry therefore becomes a control, not just an observability feature, because it shows whether the agent is operating inside its intended policy envelope.

Practical implication: use session-level metrics to detect behavioural drift and scope creep before they become production incidents.


Threat narrative

Attacker objective: The attacker aims to steer the agent into executing unauthorised actions or leaking sensitive data through its own tool access.

  1. Entry occurs when a user prompt or retrieved context reaches the agent without sufficient filtering against injection or out-of-scope instructions.
  2. Escalation happens when the agent chains tool calls, reuses state, and expands its actions beyond the original intent before any human checkpoint appears.
  3. Impact follows when a malformed or unsafe step writes to live systems, exposes regulated data, or causes a compliance-breaking action that is difficult to unwind.

NHI Mgmt Group analysis

Agent governance is now an identity problem as much as an AI problem. Once an agent can authenticate to tools, databases, or third-party APIs, the governance question becomes who or what is allowed to act in each step of a session. That puts IAM, PAM, and NHI discipline directly into the AI control plane. Organisations that still treat agent sessions as ordinary model prompts will miss the delegated-access risk that actually drives harm.

Step-level policy enforcement is the named concept this article makes unavoidable. The failure mode is not simply unsafe output, but policy drift across a chain of decisions before a human can intervene. That is where conventional approval gates collapse, because the action may already be committed by the time a reviewer sees the result. Practitioners should treat step-level policy enforcement as a baseline control for agentic systems, not an enhancement.

Auditability must shift from output records to decision-chain evidence. The article's compliance framing points to a broader governance requirement: regulators and internal auditors need to reconstruct how an agent arrived at a tool call, not just what it said at the end. This aligns with AI governance patterns that increasingly overlap with identity lifecycle and privileged session oversight. Teams that cannot reconstruct the chain cannot defend the control.

AI agent sprawl will expose weak delegated-access design in existing programmes. Many enterprises are still assigning broad service credentials to experimental agents because it is the fastest way to get a demo running. That shortcut creates a non-human identity problem with real production consequences, especially when the same agent can read, write, and invoke external services. The practical conclusion is that agent rollout and NHI governance should be designed together.

The market is moving from chatbot safeguards to execution governance. The article reflects a larger shift in AI security: the unit of control is no longer the prompt or response, but the agent's complete session and its delegated authority. That trend will force security teams to re-evaluate evaluation tooling, runtime controls, and evidence collection in one architecture. Practitioners should plan for agent governance to become a formal control layer, not an afterthought.

What this signals

Agent programmes will increasingly be judged by how well they integrate with identity controls rather than by model quality alone. That means short-lived credentials, scoped permissions, and lifecycle discipline will matter more as agents start touching production data and external systems. The governance boundary is shifting from model evaluation to delegated access management, which is why AI teams and IAM teams need a shared operating model.

Delegated-access drift is the control gap to watch. Once teams allow agents to inherit broad service credentials, the programme begins to accumulate non-human identity risk that looks operational at first and structural later. The practical response is to align agent rollout with the same lifecycle controls used for other privileged workloads, including issuance, review, and revocation.

For readers mapping this to standards, the most relevant external anchors are the NIST AI Risk Management Framework and the OWASP Top 10 for Agentic Applications 2026. Those resources reinforce the same direction of travel: identify the agent's authority, measure its behaviour, and control the points where delegated actions can turn into governance failures.


For practitioners

  • Define tool-level authorisation boundaries for every agent Assign explicit allowlists for each agent session and block any tool call that falls outside its declared scope before execution completes. Treat write operations, external API calls, and financial actions as higher-risk than read-only retrieval, and require separate approval paths for irreversible actions.
  • Deploy pre-execution filters at the prompt and tool boundary Screen for injection, jailbreak patterns, malformed parameters, and scope violations before the model can act. Use stricter validation for tools that can change records, send messages, or trigger downstream workflows, because post-hoc logging does not prevent compounding harm.
  • Measure agent sessions, not just outputs Track contextual consistency, goal completion, abandonment, turn productivity, and cost per session so you can see when an agent is drifting across a workflow. Baseline those metrics before production and alert when the conversation arc starts to deviate from approved behaviour.
  • Separate experimental agents from production credentials Do not let early pilots inherit broad service account access or long-lived secrets. Use scoped non-human identities, short-lived credentials, and explicit revocation paths so a failed agent cannot inherit standing privilege across systems.
  • Build audit trails that reconstruct decisions, not just outputs Store the input, intermediate tool calls, model version hash, policy decision, and final output for each session so auditors can rebuild the chain later. That record should map cleanly to conformity, incident review, and access governance requirements.

Key takeaways

  • LLM agents are governed as action-bearing systems, not as chat interfaces, because tool use and multi-step execution create compounded risk.
  • Session-level evidence matters because per-turn review cannot reconstruct how an agent reached an unsafe or non-compliant action.
  • Identity, PAM, and AI governance teams need shared controls for delegated access, short-lived credentials, and decision-chain auditability.

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, NIST CSF 2.0 and NIST SP 800-53 Rev 5 set the governance and control requirements practitioners need to meet.

FrameworkControl / ReferenceRelevance
OWASP Agentic AI Top 10The article focuses on agent tool misuse, execution governance, and step-level controls.
NIST AI RMFGOVERNAI RMF GOVERN fits the accountability and oversight model described in the article.
MITRE ATLASTA0006 , Credential Access; TA0008 , Lateral MovementAgent compromise and delegated access abuse map to credential abuse and propagation tactics.
NIST CSF 2.0PR.AC-4The article is fundamentally about access control for delegated AI actions.
NIST SP 800-53 Rev 5AC-6Least privilege is central to limiting what an agent can do once authenticated to tools.

Treat agent permissions as access-control objects and review them as part of the protect function.


Key terms

  • AI Agent Identity: The digital identity used by an autonomous AI agent to authenticate to external systems, APIs, and services. Managing AI agent identities is an emerging and rapidly evolving area of NHI security.
  • Session-Level Evaluation: A way of measuring an agent across the full conversation or workflow instead of scoring each response in isolation. It captures drift, abandonment, goal completion, and cost across the complete sequence, which is essential when failures emerge only after several linked actions.
  • Tool Call Validation: Tool call validation is the enforcement layer that checks whether an AI agent is allowed to invoke a tool, pass specific parameters, and reach a given data source. It matters because a well-formed agent can still become unsafe if its runtime actions are not checked against permissions and policy.
  • Delegated Access: Delegated access is permission granted to one identity to act on behalf of another user, service, or system. In NHI environments, this usually appears in OAuth-connected apps and automation tooling. It is powerful, but it must be tightly scoped and reviewed because it can persist long after the original business need ends.

What's in the full article

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

  • Concrete evaluation thresholds for grounding, toxicity, fairness, and cost before deployment
  • Step-by-step runtime guardrail patterns for input filtering, tool validation, and output blocking
  • The conformity assessment and audit artefact structure used to support EU AI Act mapping
  • Session-level monitoring metrics that can be used to tune production thresholds and incident response

👉 Openlayer's full post covers evaluation thresholds, runtime guardrails, and conformity mapping detail.

Deepen your knowledge

The NHI Foundation Level course, the industry's only accredited NHI security programme, covers NHI governance, machine identity security, secrets management, and workload identity. It helps security practitioners build the identity controls that AI agent programmes increasingly depend on.
NHIMG Editorial Note
Published by the NHIMG editorial team on August 2, 2026.
NHI Mgmt Group — the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org