Vaikora › Blog › Product Updates
Deterministic policy enforcement for AI agents: what Vaikora checks before each action runs
Every LLM-driven agent in your environment is making decisions at runtime that your existing IAM controls were not designed to evaluate. Azure RBAC tells you whether an identity is allowed to access a resource. It says nothing about whether the specific action an AI agent is about to take, with the specific content it is about to send, is consistent with your security policy at that moment.
That gap is where runtime enforcement matters.
What "enforcement before execution" actually means
Vaikora sits inline between an AI agent and whatever it calls next: an LLM API, a tool, a database query, an external service. Before the action executes, Vaikora runs a policy check and returns one of four deterministic decisions: allow, block, modify, or require-approval.
The check is deterministic in a strict sense. Identical input always produces the identical decision. There is no probabilistic scoring that might clear a request one minute and flag it the next. This matters for compliance and incident investigation, because every decision is reproducible and every outcome is explained by the policy that produced it.
Vaikora writes each decision into a SHA-256 hash-chained, tamper-evident audit log. If a regulator asks why a particular agent action was permitted at a specific time, the answer is in the chain, in order, and cannot be modified without breaking the hash.
What the enforcement path looks like in practice
Consider an AI agent running in a healthcare workflow. It has been granted read access to a patient records database through the application's service account. Without a runtime gate, the agent can query any record its service account can reach, then include that content in a downstream API call or a generated document, with nothing stopping it.
With Vaikora inline:
- The agent issues a tool call to query a record
- Vaikora inspects the action against the active policy set, including the HIPAA compliance preset
- If the action would cause PHI to be passed to an external endpoint not on the approved list, Vaikora blocks it before the tool executes
- The block is logged with the reason, the policy that triggered it, and the agent context
The agent's underlying database permissions did not change. Vaikora added a gate on top of the existing access controls rather than replacing them. The same pattern applies on top of AWS IAM and Snowflake roles.
Throughput, latency, and what that means operationally
Enforcement at this layer only works if it does not degrade the agent's ability to function. Vaikora handles 10,000 or more actions per second, with P50 enforcement latency at 8ms and P99 at 45ms. For most agent workflows, that is below the threshold where users or downstream systems notice any added delay.
Detection accuracy in testing is 99.9%. That number matters operationally because false positives in an enforcement path are not just noise, they are blocked legitimate operations. A high false-positive rate makes enforcement politically untenable inside most organizations, so teams route around it.
How Vaikora reaches your existing security stack
Vaikora integrates natively with Microsoft Sentinel, Microsoft Defender, SentinelOne, CrowdStrike Falcon, and AWS Security Hub. When Vaikora flags a high-severity AI agent risk, it promotes the incident into Azure Security Center and Microsoft Defender for Cloud as a native incident, with no custom engineering. Threats reach SentinelOne as Threat Intelligence indicators with severity mapped numerically: Critical at 100, High at 75, Medium at 50, Low at 25.
This means AI agent risk surfaces inside the investigation and response workflow your SOC already uses, rather than in a separate console that gets checked inconsistently.
Compliance presets ship for HIPAA, PCI-DSS, GDPR, SOC 2, and ISO 27001. For organizations that need to demonstrate control over AI agent behavior in an audit, the preset plus the hash-chained log gives auditors something concrete to review.
Getting started
The fastest path to testing enforcement in your own environment is vaikora-guard-mcp, the open-source MIT-licensed proxy published on PyPI. Install it, write one policy rule, and observe what it blocks before you commit to the full control plane. Vaikora also ships on AWS Marketplace as a SaaS subscription and in the Azure Sentinel content hub as the Vaikora-AzureSecurityCenter solution.
Start by mapping which agents in your environment make external tool calls today, what permissions back those calls, and whether anything currently sits between the agent and the action. That inventory tells you where the enforcement gaps are before you configure any policy.
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