Vaikora › Blog › Product Updates
AI agent governance: the difference between a policy that exists and a policy that runs
Defining acceptable behavior for an AI agent is straightforward. Getting that definition to actually stop a bad action at the moment it tries to execute is the part most implementations get wrong.
The gap is structural. A policy document, an acceptable-use guideline, even a system prompt instruction lives outside the execution path. It can be read, referenced, ignored, or circumvented. A runtime enforcement point lives inside the execution path. The agent cannot proceed past it without a decision being made and recorded. These are not variations of the same thing.
What "governance" usually means in practice
Most AI agent governance programs today consist of:
- A written policy defining what the agent may and may not do
- Role-based access controls at the infrastructure layer (IAM, RBAC, database roles)
- Logging at the model API level, capturing prompts and completions
- Periodic review of outputs or incidents
Each of these has real value. None of them stops an action before it executes. IAM controls what a service account can do in AWS. They do not evaluate whether a specific tool call at a specific moment, given the current conversation context, is consistent with policy. Model-level logs capture what was said. They do not block what happens next.
A concrete example: an agent is authorized to query a customer database and draft emails. Nothing in IAM prevents it from exfiltrating a full table dump into an outbound email body, because both actions are individually permitted. The governance gap is not about permissions. It is about whether the combination of actions, in context, is evaluated before execution.
Where enforcement has to sit
The enforcement point needs to be inline, between the agent and the LLM or tools it calls, intercepting each action before it runs. That position lets the policy engine see the full context: the tool being called, the parameters, the conversation state, any data about to leave the system.
Vaikora sits at that position. Before each action executes, it evaluates the action against policy and returns one of four decisions: allow, block, modify, or require-approval. The decision happens at P50 in 8ms and P99 in 45ms, which is fast enough that it does not introduce meaningful delay into agent workflows running at scale (the gateway handles 10,000+ actions per second).
The other property that matters for governance is determinism. Identical input produces an identical decision, every time. This is important because governance programs require auditability. If two identical actions produce different outcomes because the enforcement logic is probabilistic or model-based, you cannot explain or defend either decision in an investigation.
What the audit record has to contain
Governance requires more than enforcement. It requires proof that enforcement happened, and proof that it was correct.
Every Vaikora policy decision is written to a SHA-256 hash-chained audit log. Each entry is signed into a chain that makes retroactive modification detectable. The record captures the input, the policy rule that matched, the decision, and the timestamp. If an action was blocked, the log shows exactly why. If an action was allowed and something went wrong downstream, the record shows what policy state existed at the moment of execution.
This matters when you are answering questions after an incident: what did the agent try to do, what policy was active, did enforcement fire, and what was the outcome. Without a tamper-evident, ordered record, those questions go unanswered or answered with unreliable reconstructions.
Integrating enforcement into existing security operations
An inline enforcement point that runs in isolation from the rest of the security stack creates its own visibility problem. AI agent threats need to surface in the same places your team already works.
Vaikora pushes AI agent threats into SentinelOne as Threat Intelligence indicators mapped to severity (Critical=100, High=75, Medium=50, Low=25). High-severity risk promotes into Azure Security Center and Microsoft Defender for Cloud as native incidents without custom engineering. The result is that an AI agent attempting an unauthorized exfiltration action shows up in your existing detection queue, not in a separate console that nobody has on-screen during an incident.
What to check in your current setup
If you are evaluating your AI agent governance posture, start with this question: at what point in the execution path does a policy decision get made, and can an action proceed without that decision?
If the answer is that policy is enforced at provisioning time (through IAM or configuration) but not at call time, you have a governance program without a runtime control. The next check is whether your audit record is ordered and tamper-evident, or whether it is a flat log that could be modified without detection.
Both gaps are solvable with the right enforcement architecture. The place to start is the execution path itself.
See Vaikora enforce policy on your AI
Open-core AI runtime control. Self-host the MIT gateway free, or run the hosted Control Plane.
Get a demo Self-host the gateway
Vaikora