By NHI Mgmt Group Editorial TeamBased on TruFoundry: “5 Lessons on Running Agentic AI in Production - From the Fireside chat” (July 6, 2026)

TL;DR: Most enterprises now have AI agents in production before they can fully see, trace, or govern them, according to TruFoundry's July 30, 2026 analysis of a survey of 200 enterprise AI leaders and a live discussion with engineering heads at Via and SurveyMonkey. The practical lesson is that agentic AI governance works best as a central control plane for cost, logging, and tool access, not as a collection of after-the-fact dashboards.


At a glance

What this is: This analysis argues that the AI gateway is becoming the enforcement layer for agentic AI, because cost control, tracing, and access governance fail when they are bolted on after deployment.

Why it matters: IAM and AI security teams need to treat agentic AI governance as a control-plane problem, because request-level enforcement affects identity, tool access, auditability, and operational risk.


Context

An AI gateway is a central enforcement layer for model, tool, and agent traffic. In this article, the governance gap is that many organisations can deploy agentic systems faster than they can trace, constrain, or audit what those systems do once live.

That gap matters because agentic AI changes the governance problem from a single application boundary to a routed request path that can include models, MCP servers, and tools. Where identity and access controls are not applied at that routing layer, logging, authorisation, and cost controls fragment across services instead of holding together as one policy surface.


Key questions

Q: How should organisations implement an AI gateway when agentic systems connect to models, tools, MCP servers, and internal data sources?

A: Enterprises should place a centralized control layer between agents and the systems they use, then standardize routing, access permissions, safety filters, retries, and audit logging. That reduces fragmented implementation, limits duplicated cost, and gives leadership a consistent view of production behaviour. The goal is federated execution with centralized control, so teams can move quickly without losing governance or operational discipline.

Q: Why do computer-use agents create more risk than ordinary workflow automation?

A: They create more risk because the sequence of actions is chosen at runtime, not pre-scripted as a fixed workflow. That makes it harder to predict which applications, screens, or data paths the agent will touch, and it makes policy based only on credentials or API scope incomplete.

Q: What are the signs that AI governance is failing in the enterprise?

A: Common warning signs include rapid growth in AI use without matching policy coverage, sensitive files being copied into personal accounts, and a large share of AI apps carrying high or critical risk. Another indicator is weak visibility into who is using which tools and what data they are sending. If teams cannot answer those questions, governance is not working as intended.

Q: Should internal and customer-facing agents use the same control model?

A: No. Internal agents can usually move faster because the blast radius is smaller, but customer-facing agents need stricter review because they affect external data handling, trust, and accountability. The right approach is a shared governance baseline with different approval depth based on exposure, not two unrelated operating models.


Technical breakdown

Why the AI gateway becomes the policy choke point

An AI gateway sits on the hot path for prompts, model calls, and tool requests, which makes it the natural place to enforce policy consistently. Without that choke point, each application team reimplements cost limits, logging, and access rules differently, creating uneven control coverage. In agentic systems, the request path is not just inference. It is inference plus context assembly, tool invocation, and sometimes delegation. The gateway therefore becomes the place where governance can see the whole chain rather than isolated fragments.

Practical implication: centralise enforcement where agent traffic actually flows, not in disconnected application code.

Why unified logging matters more than retrospective tracing

Agentic systems are non-deterministic enough that after-the-fact tracing often arrives too late to explain what happened. If logging was not designed into the workflow, the audit trail may miss the prompt, tool call, or routing decision that caused the failure. Unified logging is therefore not just observability. It is a governance requirement because it determines whether security, engineering, and risk teams can reconstruct behaviour, investigate misuse, and correlate spend with activity. For NHI and agent governance, this is the difference between evidence and guesswork.

Practical implication: make traceability a design requirement before production, especially where agents can invoke tools autonomously.

How MCP access control changes the governance model

MCP servers expand the control problem because agents can reach external tools and data sources through a shared protocol layer. If access is handled per developer or per service, the result is an N-by-M sprawl of clients, servers, and permissions that is difficult to audit. A gateway-based model lets the organisation register tools centrally, authenticate calls, and scope which agents or users can reach which functions. That shifts governance from scattered implementation decisions to one policy boundary that can be reviewed, logged, and revoked.

Practical implication: govern MCP tool access as a shared entitlement plane rather than as separate application-by-application exceptions.


Threat narrative

Attacker objective: The practical objective is to operate agentic workflows outside governed visibility so cost, tool use, and behaviour cannot be reliably audited or constrained.

  1. Entry occurs when teams deploy agents directly into production workflows without a shared control layer, allowing requests to bypass central logging and policy enforcement.
  2. Escalation follows as those agents gain broad tool access, making it difficult to distinguish sanctioned behaviour from shadow AI or unintended delegation.
  3. Impact appears as untraceable activity, cost overruns, and governance blind spots that prevent teams from proving what the agent did or limiting its reach.

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

AI gateway governance is now a control-plane issue, not an observability feature. The central mistake is treating logging and routing as afterthoughts once agents are already live. When enforcement sits at the gateway, cost controls, tool access, and policy checks converge in one place instead of being recreated in every service. That is the point at which agentic AI becomes governable at scale.

Traceability debt: is the failure mode this article exposes. Organisations that deploy agents before designing logging inherit a system that cannot reliably explain its own actions, especially when model outputs vary from one run to the next. For identity and access teams, that means the question is not whether to log, but where the authoritative audit boundary lives.

MCP governance is becoming the identity problem inside agentic AI. Once tools are accessed through a shared protocol, the control question shifts to who or what is allowed to call which function, under what authentication, and with what scope. That makes tool registration and entitlement control as important as model selection. Practitioners should treat MCP access as a governed identity surface, not a developer convenience.

Shadow AI is a governance symptom, not just an adoption problem. When teams can spin up agents without route-level controls, the organisation loses both visibility and accountability. The more important implication is that expansion pressure and governance pressure rise together, so the programme that wins is the one that makes control easier than bypassing it. Practitioners should expect AI gateway governance to become a standard requirement in agentic AI operating models.

Agentic AI control will increasingly be judged by whether identity, policy, and telemetry meet at issuance time. Post-deployment dashboards will not be enough when agent behaviour changes from task to task. The durable model is issuance-time governance, where access, logging, and routing are decided before the agent starts work. Practitioners should align governance architecture to that operating assumption now.

From our research library:

What this signals

Traceability debt: will become a standard design failure mode in agentic AI programmes that add logging only after deployment. The control problem is not the absence of telemetry itself, but the absence of a stable boundary where prompts, tools, and model calls are all captured together.

Agent governance will increasingly mirror IAM governance, because the central question is who or what can invoke which tool under which policy. Programmes that keep identity, policy, and observability separate will struggle to explain agent behaviour or contain it when usage scales.

53% of security leaders expect AI to run major portions of their infrastructure autonomously within the next three years, according to the 2026 Infrastructure Identity Survey. That trajectory makes gateway-level enforcement a near-term operating requirement, not a future architecture discussion.


For practitioners

  • Implement gateway-first enforcement for agent traffic Route model calls, MCP tool requests, and agent interactions through one policy boundary so budgets, logging, and access rules are applied consistently.
  • Design unified logging before production rollout Capture prompt, model, tool, and routing events in a single trace so teams can investigate failures and reconcile cost with behaviour.
  • Register MCP servers as governed entitlements Assign tool-level permissions centrally instead of letting each application define its own access path for agents and users.
  • Separate internal and external agent risk reviews Apply stricter review cycles to customer-facing agents and use lighter but still enforced governance for internal productivity use cases.
  • Limit early programmes to high-ROI use cases Start with a small portfolio of high-value agent workflows so governance, tracing, and routing are in place before scale creates operational debt.

Key takeaways

  • Agentic AI governance fails fastest when enforcement is bolted on after deployment instead of embedded in the request path.
  • The centralised control point matters because model calls, tool access, and logging need to be governed together, not as separate workflows.
  • Organisations that cannot trace one agent request end to end will struggle to prove accountability or contain misuse at scale.

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 addresses the attack and risk surface, while NIST AI RMF and NIST CSF 2.0 set the governance and control requirements practitioners need to meet.

FrameworkControl / ReferenceRelevance
OWASP Agentic AI Top 10ASI03 — Identity & Privilege AbuseThe article centres on governing agent access to tools and model routes.
ASI07 — Insecure Inter-Agent CommunicationGateway routing and tool traffic depend on controlled agent communication paths.
Recommendation — Bind agent entitlements to ASI03 so tool access and privilege are enforced at the gateway. Apply ASI07 to centralise authentication and policy checks on inter-agent and tool calls.
NIST AI RMFGOVERN — AI Governance and AccountabilityThe piece argues that governance must be built into the operating model for agentic AI.
MEASURE — AI Measurement and MonitoringUnified logging and traceability are core themes in the article.
Recommendation — Use GOVERN to assign accountability for logging, access, and routing before agents reach production. Use MEASURE to track trace coverage, cost visibility, and policy enforcement across agent workflows.
NIST CSF 2.0PR.AA-05 — Access Permissions, Entitlements and AuthorizationsThe gateway is described as the enforcement point for agent and tool permissions.
Recommendation — Apply PR.AA-05 to scope which agents and users can invoke each tool or model.

Key terms

  • AI Gateway: A control point that sits between AI applications and the models, tools, or data they call. In practice, it can authenticate requests, enforce policy, inspect runtime behaviour, and stop unsafe actions before they spread into connected systems.
  • Agentic AI: Autonomous AI systems capable of planning, deciding, and taking actions, including calling APIs, writing code, and orchestrating other agents, with minimal human oversight. Agentic AI introduces new NHI risks as agents must authenticate to external services.
  • Unified Logging: Unified logging is the practice of collecting access and security events from multiple systems into one consistent audit trail. For AWS and NHI governance, it connects identity events to resource activity so teams can investigate misuse, prove compliance, and detect anomalous privilege changes more reliably.
  • MCP Gateway: The control layer that relays assistant intent to tools and data sources through the Model Context Protocol. In practice, it becomes a policy boundary, not just a transport layer. If it trusts model output too early, it can turn unverified reasoning into real-world execution or disclosure.

Deepen your knowledge

NHI Foundation Level course, the industry's only accredited NHI security programme, covers NHI governance, workload identity, and secrets management. It helps security and identity teams translate governance concepts into operational controls.
NHIMG Editorial Note
Published by the NHIMG editorial team on August 20, 2026.
Updated on October 12, 2026.
NHI Mgmt Group, the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org