By NHI Mgmt Group Editorial TeamDomain: Agentic AI & NHIsSource: CogentPublished January 9, 2026

TL;DR: AI-assisted development fails less because of the agent itself than because the surrounding process cannot supply context, verification, and control, especially when teams scale fast and tribal knowledge stays undocumented, according to Cogent. The real governance problem is a human plus machine operating model that assumes static review loops can still catch dynamic agent behaviour.


At a glance

What this is: This is a Cogent analysis of why AI agent productivity stalls when development process, logging, ownership, and recovery do not evolve with the agent.

Why it matters: It matters because agent governance now depends on identity, access, and operational controls that can support both human and AI-driven execution without relying on informal knowledge.

👉 Read Cogent's analysis of how AI agents fail when the surrounding process is weak


Context

AI agent governance fails when teams assume the agent is the main variable. In practice, the surrounding process determines whether the system is observable, recoverable, and safe to operate, especially when access, logging, and ownership are fragmented across people and tools. For identity teams, that makes this an agentic AI and NHI governance problem, not just a software engineering one.

Cogent's example is typical of a common pattern: early gains from AI assistance hide process debt until scale exposes weak verification, undocumented conventions, and inconsistent workflows. Once that happens, the issue is no longer whether the agent can write code, but whether the organisation can prove what it did, why it did it, and who owns the outcome.


Key questions

Q: How should teams govern AI agents that can reach APIs, events, and memory?

A: Teams should govern those agents as runtime identities, not as isolated integrations. That means enforcing policy at execution time, logging every tool and data access, and binding actions back to a clear initiating workflow or identity. If the control plane cannot show who acted, what they reached, and why, the programme does not have usable governance.

Q: Why do AI agents create process risk even when the model is working well?

A: Because the model is only one part of the operating chain. If the surrounding process cannot supply enough context, verification, and recovery, the agent will still produce outputs that look valid but fail later in the delivery cycle. The issue is governance quality, not just model quality.

Q: What breaks when teams rely on undocumented conventions with AI agents?

A: Agents lose the ability to infer the same context that humans carry informally, so they guess. Those guesses are often plausible enough to pass review but wrong enough to create downstream defects, duplicated code, and hidden policy violations. Undocumented norms are a control gap because they cannot be enforced consistently.

Q: Who should own the outcome when an AI agent changes production-facing code?

A: A human owner should always remain accountable for the change, even if the agent authored most of it. Ownership means setting the task, reviewing the evidence, and deciding whether the result meets policy and quality standards. Without a clear owner, recovery and remediation become guesswork.


Technical breakdown

Why AI agent verification depends on process, not just tool access

An AI agent can only verify its own work if it has the right execution environment, feedback paths, and observable state. If it cannot run tests, inspect logs, or check UI behaviour, it will optimise for completion rather than correctness. That creates a control problem, not a model problem. The failure mode is especially sharp when agents are used in real development workflows without clear ownership of test evidence, rollback, or triage. Verification becomes a pipeline property, not an individual feature.

Practical implication: define the minimum verification loop every agent session must complete before output is allowed to progress.

How fragmented context creates AI agent identity and access risk

Agents fail when the knowledge they need is distributed across tickets, chat threads, local aliases, and undocumented conventions. Context windows are finite, so every unnecessary retry, compaction, or tool hop reduces the chance that the agent preserves critical intent. In identity terms, this is a governance failure around runtime context, because the system is authorising action without ensuring the actor can see the full policy and operating constraints. The result is plausible but incorrect behaviour that passes superficial checks.

Practical implication: centralise the context an agent is allowed to rely on and remove hidden dependencies on individual employee memory.

What reusable tooling changes for human and AI operators

When humans and agents use the same commands, the organisation gains consistency, auditability, and clearer operational boundaries. The important distinction is that agents still need tighter sandboxing, restricted network access, and controlled bridges into real systems. That pattern is closer to NHI governance than to traditional developer enablement, because the question becomes which actions are allowed through the bridge and under what conditions. Shared tooling only works when identity, privilege, and execution boundaries are explicit.

Practical implication: treat every agent bridge to production systems as an NHI control point with scoped access and reviewable telemetry.


NHI Mgmt Group analysis

AI agent governance is an identity problem before it is a productivity problem. Once an agent can write code, run tests, query systems, or inspect services, the organisation has created a non-human operator that needs bounded access, accountability, and recoverability. The article shows that workflow design, not model capability, determines whether that operator behaves safely. Practitioners should treat the operating model as part of the control surface.

Runtime context is the new least-privilege boundary for AI-assisted work. The article makes clear that agents fail when they cannot see enough of the system to act correctly, but also when they can see too much informal, ungoverned knowledge. That creates a named concept we should use more often: context governance gap. It is the mismatch between what an agent is permitted to do and what it is allowed to understand. Security teams should recognise that entitlement without context is an unstable control.

Process drift hides agent risk until the organisation is already paying for it downstream. The most important detail in the article is not that agents made mistakes, but that the mistakes accumulated in rework, latent bugs, and silent regressions. That is exactly how non-human identity failure behaves in mature environments, where the blast radius is deferred rather than immediate. Teams need to evaluate outcomes across the full delivery chain, not just at prompt time.

Shared human and agent workflows are only defensible when the bridge is policy-led. Cogent's pattern of using the same CLI and task flow for both operators is structurally sound only if sandboxing, token handling, and service access are explicitly constrained. The governance lesson is broader than software development: any NHI that can act through a common interface needs a clearly bounded identity path. Practitioners should regard the interface as an access control surface, not just an ergonomics choice.

From our research:

  • From our research: 98% of companies plan to deploy even more AI agents within the next 12 months, despite documented rogue behaviour in 80% of current deployments, according to AI Agents: The New Attack Surface report.
  • Only 52% of companies can track and audit the data their AI agents access, leaving 48% with a complete blind spot for compliance and breach investigation.
  • If your programme already treats AI agents as a governance domain, OWASP Agentic AI Top 10 is the next control lens to apply.

What this signals

The governance lesson here is that AI agent rollouts will outpace process maturity unless teams deliberately build auditability, recovery, and ownership into the operating model. With 98% of companies planning to deploy more agents in the next 12 months, the risk is not speculative. It is a scaling problem that identity and platform teams need to solve together.

Context governance gap: The practical boundary is no longer just credential scope, but the quality of the context the agent can rely on. Organisations should expect pressure to formalise specs, knowledge bases, and runtime controls so that agent behaviour stays interpretable after team turnover, codebase growth, and incident response.

For practitioners, the immediate signal is whether agent output can be traced from task to test to change record without relying on tribal knowledge. Where that chain breaks, the programme is already carrying hidden exposure even if the code appears to ship successfully.


For practitioners

  • Define a mandatory verification loop for every agent session Require test execution, log inspection, and a recorded success criterion before agent output can move to review or merge. Do not allow sessions to advance on completion alone.
  • Document the context an agent is allowed to rely on Move tribal knowledge into searchable specs, task files, and codebase conventions so an agent does not depend on Slack history or one engineer's memory.
  • Treat agent bridges as non-human identity control points Constrain sandboxes, network access, and credential scope wherever an agent can touch services, databases, or infrastructure through shared tooling.
  • Standardise human and agent operator workflows Use the same commands, service lifecycle paths, and review artefacts for both humans and agents, but layer stronger guardrails around agent execution and data access.

Key takeaways

  • AI agents are not the only variable in safe adoption. The process around them determines whether their actions are visible, reviewable, and recoverable.
  • The biggest failure mode is silent drift, where plausible agent output creates downstream cost long after the change is merged.
  • Identity teams should treat agent bridges, context sources, and verification loops as controls, not convenience features.

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 OWASP Non-Human Identity Top 10 address the attack and risk surface, while NIST CSF 2.0, NIST SP 800-53 Rev 5 and NIST Zero Trust (SP 800-207) set the governance and control requirements practitioners need to meet.

FrameworkControl / ReferenceRelevance
OWASP Agentic AI Top 10The article centers on agent autonomy, tool access, and runtime guardrails.
OWASP Non-Human Identity Top 10NHI-01Agent sessions act as non-human identities with scoped access and audit needs.
NIST CSF 2.0PR.AC-4The post is fundamentally about access control, ownership, and auditable operation.
NIST SP 800-53 Rev 5AC-6Least privilege is required where agents can reach services and infrastructure.
NIST Zero Trust (SP 800-207)Sandboxing and controlled bridges reflect zero trust principles for machine operators.

Use zero trust assumptions for agents and require continuous verification at every control boundary.


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.
  • Gateway Governance Gap: The mismatch between request-level enforcement and actual identity governance. A gateway can inspect traffic and block calls, but it cannot by itself determine standing privilege, lifecycle status, or whether the caller is entitled across the broader enterprise environment.
  • Verification loop: The cycle in which an agent takes an action, sees the result, and adjusts its next move. In autonomous or semi-autonomous workflows, the loop is the real control boundary, because it determines how quickly an identity can iterate without human review.
  • Sandbox: A sandbox is a controlled execution environment that isolates an agent's runtime from the rest of the estate while still allowing defined actions and tool use. For identity teams, the sandbox is part of the trust boundary because it carries the agent's access, state, and audit trail.

What's in the full article

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

  • The exact spec-driven workflow used to move from ticket to task file to pull request
  • The sandboxing and daemon pattern used to keep agents away from credentials and unrestricted network access
  • The CLI and service orchestration design that lets humans and agents use the same operational path
  • The context hierarchy pattern that turns repo knowledge into something an agent can actually read

👉 Cogent's full blog covers the workflow, sandboxing, and context design behind the operating model.

Deepen your knowledge

NHI governance, agentic AI identity, and machine identity lifecycle are core topics in our NHI Foundation Level course, the industry's only accredited NHI security programme. If you are building or maturing an IAM or identity governance programme, it is worth exploring.
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