Vaikora › Blog › Product Updates
Eight milliseconds: what happens inside an AI agent enforcement gate before a tool call executes
At P50, Vaikora makes an allow, block, modify, or require-approval decision on an AI agent action in 8 milliseconds. That number is worth understanding concretely, because the entire case for inline enforcement rests on it.
If enforcement adds more latency than the application can absorb, teams route around it. If it cannot keep pace with throughput, it becomes a bottleneck and gets disabled. The latency and throughput numbers matter not because they are impressive but because they determine whether the gate stays in the path.
What the gate actually does in those 8 milliseconds
Vaikora sits inline between the agent and whatever it is about to call: an LLM, an MCP tool, a database, an API. Before the call executes, the policy engine runs.
The gate checks the action against configured policy and returns one of four decisions:
- Allow: the call proceeds unchanged.
- Block: the call is stopped and the agent receives a denial response.
- Modify: the call is altered before it reaches the target, for example stripping a credential from a prompt or rewriting a parameter.
- Require approval: the call is held and a human decision is requested before anything executes.
The decision is deterministic. Identical input produces identical output every time. That matters for auditability: when you review a decision, you are not reconstructing intent from logs after the fact. The policy state at decision time is what produced the result.
Every decision is written immediately into a SHA-256 hash-chained audit log. Each entry is signed into the chain, so any subsequent modification to a record breaks the chain. The ordered, tamper-evident record is available from the moment the decision fires.
Why throughput is the operational constraint, not latency alone
A single agent calling one API is a latency problem. A production deployment with many agents firing tool calls in parallel is a throughput problem.
At 10,000+ actions per second, the enforcement gate does not become the bottleneck in most architectures. The practical implication: you can instrument every agent action through a single enforcement point without splitting traffic or running parallel, unprotected paths to handle load. A parallel unprotected path is a gap. Any traffic that bypasses the gate is traffic that is not enforced.
Detection accuracy at 99.9% in testing matters here too. At high throughput, false positives that block legitimate calls accumulate quickly. A false positive rate that looks acceptable in testing becomes operationally disruptive at volume.
A concrete scenario: agent with write access to a production database
Consider an agent that has credentials to query and write a Snowflake schema. The agent receives a task from an orchestrator. Somewhere in the prompt chain, an instruction arrives that would cause the agent to run a DELETE across a table it has permission to access.
Without an inline gate, the question is whether the agent's prompt instructions, system prompt guardrails, or IAM role boundary stop that action. Prompt instructions are not enforcement. A Snowflake role that permits DELETE does not distinguish between intended and unintended use.
With Vaikora in the path, the DELETE call hits the policy engine before it reaches Snowflake. If policy is configured to block destructive operations outside an approved window or above a row threshold, the call is stopped at the gate. The agent receives a denial. The event is written to the audit log with the full action payload, the policy that fired, and the decision. Vaikora adds a runtime gate on top of Snowflake roles rather than replacing them: the IAM boundary still exists, but the enforcement point is earlier.
Where the integration surfaces
For teams running Microsoft Sentinel, Vaikora promotes high-severity AI agent risk into Azure Security Center and Microsoft Defender for Cloud as native incidents with no custom engineering. For CrowdStrike Falcon and SentinelOne deployments, Vaikora pushes AI agent threats as Threat Intelligence indicators, severity-mapped at Critical=100, High=75, Medium=50, Low=25.
That means agent runtime events do not sit in a separate console. They surface in the same investigation workflow as the rest of your environment.
What to verify in your own deployment
If you are evaluating or already running an AI agent enforcement gate, check three things:
- Is every agent action routed through the enforcement point, or are there code paths that call tools directly without passing through the gate?
- Does the audit log record the full action payload at decision time, or only a summary? A summary log cannot reconstruct what the agent was actually doing.
- Is the policy evaluated before execution or is it a post-execution alert? Post-execution detection tells you what happened. Pre-execution enforcement is what stops it.
The 8ms P50 is the number to hold when someone argues that inline enforcement is too expensive. At that latency, it is not.
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