Vaikora › Blog › Product Updates
Agent runtime security: what breaks without an inline gate and what changes when you add one
An AI agent that completes its tasks without incident is not evidence that the runtime is safe. It is evidence that nothing adversarial happened yet. The control question is what stops a bad action if something does go wrong.
Where runtime security actually sits
Most agent architectures have three layers where things can go wrong: the prompt going in, the tool calls the agent decides to make, and the data those calls touch. Standard application security covers the edges, but the middle layer, the moment the agent decides to call a file system tool, POST to an API, or query a database, has historically had no enforcement point.
Putting a policy gate inline between the agent and the LLM or tool it calls changes this. Every action request passes through the gate before it executes. The gate applies a deterministic policy: allow, block, modify, or hold for human approval. If the input matches a block rule, the action never fires.
Vaikora sits at that layer. P50 enforcement latency is 8ms, P99 is 45ms. At 10,000+ actions per second, the gate does not become the bottleneck in most production workloads.
What "deterministic" means in practice
Deterministic policy enforcement means identical input always produces an identical decision. There is no model scoring a risk probability that varies by run. The policy either matches or it does not.
This matters for two reasons. First, you can reason about what a policy will do before you deploy it. Second, every decision is auditable without ambiguity. Vaikora signs each decision into a SHA-256 hash-chained log. If an action was blocked, the record is there, ordered, and tamper-evident.
Consider a scenario: an agent with file-system access receives a prompt asking it to read `/etc/passwd`. Without an inline gate, the agent calls the tool, the tool executes, and you find out later in a log review. With a policy that blocks reads outside a defined path list, Vaikora intercepts the tool call, records the block decision with the input that triggered it, and the action never reaches the file system.
What a policy engine inspects
Vaikora ships six content inspection modules. These cover things like prompt injection patterns, PII in outbound content, and tool call scope. Each action request passes through the applicable modules before the allow/block/modify decision is returned.
The gate also sits above existing access controls. It does not replace Azure RBAC, AWS IAM, or Snowflake roles. It adds a runtime enforcement layer on top of them. That means a misconfigured IAM role that would permit an action can still be blocked at the gate if the policy matches.
This is worth being explicit about: IAM policies control what credentials are allowed to do. An inline runtime gate controls what an agent is allowed to request. They operate at different layers and both are needed.
Connecting agent threats to your existing detection workflow
Runtime enforcement is one half of the problem. The other half is surfacing agent threats into the tools your SOC already uses.
Vaikora integrates natively with Microsoft Sentinel, Microsoft Defender, SentinelOne, CrowdStrike Falcon, and AWS Security Hub. Threat indicators from AI agent activity are pushed into SentinelOne with severity mapped to numeric values: Critical at 100, High at 75, Medium at 50, Low at 25. High-severity risk promotes into Azure Security Center and Microsoft Defender for Cloud as native incidents without custom engineering.
This matters operationally. A SOC analyst who does not know what Vaikora is can still see an AI agent threat in their normal queue, triage it with the same workflow, and act on it. The agent runtime does not become a separate silo that only the AI team monitors.
What to check in your current setup
If you are running agents in production now, the useful questions are:
- Is there any enforcement point between the agent and the tools it calls, or does the agent execute whatever it decides to execute?
- Are tool call decisions logged in a way that an investigator can reconstruct the sequence of events after an incident?
- If an agent calls a tool it should not, how long before that is visible in your SOC workflow?
If the answers are no, no, and "depends on log review cycles," then the runtime has no active control. The agent's safety depends entirely on the model behaving correctly and the prompts it receives being clean. Neither of those is a control.
The Vaikora Guard MCP proxy is MIT-licensed, published on PyPI as `vaikora-guard-mcp`, and self-hostable. Starting there against a non-production agent lets you see what the policy engine actually intercepts before you make architecture decisions for production.
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