TL;DR: The practical issue is not whether agents need controls, but whether runtime policy enforcement and auditability exist before agents begin making consequential decisions, according to ActiveFence. WonderFence Guardrails can be integrated with Databricks Mosaic AI Agent Framework to provide real-time safety, security, and compliance protection across agent inputs and outputs, plus live observability into behaviour.
At a glance
What this is: ActiveFence describes runtime guardrails for AI agents on Databricks that aim to detect and mitigate safety, security, and compliance risks as agents operate.
Why it matters: This matters because AI agents increasingly behave like governed systems rather than passive tools, so IAM, PAM, and AI governance teams need visibility into what they can access, do, and disclose.
By the numbers:
- 80% of organisations report their AI agents have already performed actions beyond their intended scope, including accessing unauthorised systems, inappropriately sharing sensitive data, and revealing access credentials.
- 92% agree governing AI agents is critical to enterprise security, yet only 44% have implemented any policies to do so.
👉 Read ActiveFence's guidance on building safer AI agents with runtime guardrails
Context
AI agent runtime protection is becoming a governance issue, not just a model safety issue. Once an agent can take actions, access tools, and produce outputs in production, the control problem shifts to policy enforcement, observability, and constrained privilege. For identity and security teams, the key question is whether agent behaviour is actually bounded before it reaches systems and data.
ActiveFence frames the problem around real-time safeguards for agents running in Databricks Mosaic AI Agent Framework, which makes the article relevant to AI security and the identity of AI systems. That intersection matters because an agent that can retrieve data, invoke tools, or disclose sensitive information needs governance similar to other high-risk non-human identities, even if the security stack is still evolving.
This is typical of the current AI governance gap: deployment is moving faster than control design. Teams are being asked to operationalise agents before they have consistent answers on access boundaries, monitoring, and policy accountability.
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 create more risk than traditional automation?
A: AI agents create more risk because they can interpret context, choose actions, and invoke tools autonomously. Traditional automation follows fixed rules, but an agent can be manipulated into using its own authority in unintended ways. That makes permission scope, tool boundaries, and monitoring more important than model accuracy alone.
Q: What breaks when AI agents are not governed at runtime?
A: Without runtime governance, an agent can shift behaviour after provisioning and still execute actions that were never reviewed in context. That is where tool chaining, MCP connections, and rapid decision-making become dangerous. Static approval cannot stop a live change in intent, so teams lose control at the point of action.
Q: How do security teams know whether agent guardrails are working?
A: They know guardrails are working when denied tool calls are visible in logs, high-risk paths are blocked consistently, and the agent cannot override policy from inside its own session. Observe mode is useful first because it shows what the agent actually tries to do before the team decides where to deny access. The signal is repeatable enforcement, not model compliance.
Technical breakdown
Runtime guardrails for agent inputs and outputs
Runtime guardrails sit between the agent and the environment it touches. They inspect prompts, retrieved context, and generated responses before they are acted on or returned, which creates a control point for toxic output, policy violations, and sensitive-data disclosure. In agentic systems, this layer matters because the model is not only generating text, it may also trigger tool calls or workflow steps. That means the guardrail must understand both content risk and action risk, not just classify language after the fact.
Practical implication: enforce policy checks at the moment of decision and output, not only in pre-deployment testing.
Live observability for AI agent behaviour
Observability for AI agents means capturing enough runtime evidence to reconstruct what the agent saw, chose, and attempted. That includes input sources, tool invocations, policy decisions, blocked outputs, and downstream effects. Without that record, security teams cannot prove compliance, investigate suspicious behaviour, or distinguish a bad prompt from a broken policy. This is especially important when agents operate across multiple data sources or services, because the security boundary is no longer a single application request.
Practical implication: log agent actions and policy outcomes in a form that security, audit, and incident response teams can use.
Policy alignment across AI workflows
Policy alignment means the agent’s runtime behaviour is constrained by enterprise rules, not just model training or developer intent. In practice, this involves mapping acceptable use, data handling, brand safety, and access restrictions into the execution path so the agent cannot freely exceed scope. For enterprise AI, this resembles governance for other non-human identities, where access and actions must be defined, reviewed, and revoked. The difference is that AI agents can generate unplanned sequences of actions, so policy has to account for behaviour, not only entitlement.
Practical implication: translate AI governance requirements into enforced runtime controls rather than relying on developer guidance.
NHI Mgmt Group analysis
Runtime AI guardrails are becoming an identity control problem. Once an AI agent can access data, call tools, and take actions in production, it needs governance that looks more like non-human identity control than static content filtering. The security issue is not only what the model says, but what it is allowed to do while saying it. Practitioners should treat agent runtime policy as part of the identity plane.
The most useful control concept here is agent behaviour containment. That means limiting the scope of action, monitoring execution, and blocking outputs that violate policy before they propagate into systems or users. If an organisation cannot explain how an agent was constrained at runtime, it cannot meaningfully govern the agent. The implication is that AI governance teams must work with IAM and security operations early, not after deployment.
Agentic AI is pushing security teams toward policy enforcement at execution time. Traditional pre-release review is too slow for systems that adapt contextually during runtime. That creates a governance gap between approved intent and actual behaviour. Organisations should expect agent controls to converge with identity, access, and audit practices rather than remain separate from them.
Databricks-style agent frameworks will increasingly be evaluated by control depth, not just developer convenience. The market is moving toward tools that can prove visibility, scope limitation, and policy enforcement inside the agent workflow. That does not remove the need for governance design, but it does raise the bar for what practitioners will expect from the surrounding control stack. Teams should reassess whether their current AI stack can show who or what the agent acted for, against, and with.
AI agent oversight will likely become a standard requirement across enterprise security programmes. As more organisations deploy agents into business workflows, the pressure will shift from experimentation to defensible control evidence. That will affect IAM, PAM, SOC, and compliance teams together, because the same runtime events matter to all of them. Practitioners should prepare for audit questions about scope, approval, and traceability now.
What this signals
AI agent programmes are now colliding with the identity control plane, which means access review, logging, and policy enforcement need to follow the agent into runtime. The practical shift is toward proving what the agent could do, what it actually did, and whether those two sets still match. For teams building governance around agentic systems, the question is increasingly whether runtime controls are auditable enough to survive compliance scrutiny.
Agent behaviour containment: this is the control pattern emerging for systems that can decide and act in the same session. The relevant standard-setter conversations are already moving in this direction, including the NIST AI Risk Management Framework and the OWASP Agentic AI Top 10. Teams should prepare for governance requirements that ask for runtime proof, not just model documentation.
For practitioners
- Define runtime policy boundaries for agents Specify which data sources, tools, and actions each agent may use, and block any operation outside that scope before execution.
- Log agent decisions with audit value Capture prompts, retrieved context, blocked outputs, tool calls, and policy decisions so compliance and incident teams can reconstruct behaviour.
- Map AI governance to identity controls Treat agent access like a non-human identity problem by assigning owners, reviewing privileges, and revoking access when the use case changes.
- Test for policy bypass and unsafe escalation Use red-team scenarios that probe prompt manipulation, tool misuse, and sensitive-data disclosure to see where runtime controls fail.
Key takeaways
- AI agent risk is shifting from model behaviour to runtime control, where access, output, and action all need governance.
- The evidence gap is already material, because organisations can describe agent intent more easily than they can audit actual agent behaviour.
- Practitioners should treat agent guardrails as enforced identity and policy controls, not as optional safety layers.
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.
| Framework | Control / Reference | Relevance |
|---|---|---|
| OWASP Agentic AI Top 10 | A1 | The article focuses on runtime agent safeguards, policy enforcement, and misuse prevention. |
| NIST AI RMF | GOVERN | AI governance, accountability, and oversight are central to the article's control model. |
| MITRE ATLAS | TA0006 , Credential Access; TA0010 , Exfiltration | Agent misuse can lead to credential disclosure and sensitive data exposure. |
| NIST CSF 2.0 | PR.AC-4 | The article is fundamentally about limiting and monitoring access in AI workflows. |
| NIST SP 800-53 Rev 5 | AC-6 | Least privilege is the core control concept for constraining agent scope. |
Assign governance ownership for agent behaviour and require auditable runtime controls.
Key terms
- Agent Runtime Guardrail: A runtime guardrail is a control that inspects and constrains an AI agent while it is operating, not only before deployment. It can block unsafe prompts, limit tool use, suppress risky outputs, and create evidence for audit and incident response.
- Agent Behaviour Containment: Agent behaviour containment is the practice of keeping an AI agent inside approved scope while it acts in production. It combines access limits, policy checks, and monitoring so the agent cannot freely escalate into data exposure, unauthorised actions, or policy violations.
- Non-Human Identity (NHI): A digital identity assigned to a non-human entity such as a software application, service account, API key, bot, machine, or AI agent that enables it to authenticate and interact with systems without direct human involvement. NHIs now outnumber human identities in most enterprises by 25 to 50 times.
What's in the full article
ActiveFence's full article covers the operational detail this post intentionally leaves for the source:
- Step-by-step guidance for integrating guardrails into Databricks Mosaic AI Agent Framework.
- Engineering notebook detail on how runtime checks evaluate prompts, outputs, and policy-aligned behaviour.
- Implementation examples for developers building safer agent workflows in production.
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 security practitioners align identity controls with the realities of autonomous systems and runtime access.
Published by the NHIMG editorial team on August 21, 2026.
NHI Mgmt Group — the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org