VaikoraVaikora

Vaikora › Blog › Product Updates

Vaikora Guard MCP: installing a deterministic policy gate on agent tool calls without changing your LLM stack

Product Updates · Nov 25, 2026 · 4 min read

Agent tool calls fail silently from a security standpoint. The LLM decides to call a tool, the framework executes it, and the action completes before any policy check runs. That ordering is the problem vaikora-guard-mcp was built to fix.

What the proxy does and where it sits

vaikora-guard-mcp is a Python package, MIT-licensed, published on PyPI. It runs as a self-hosted MCP-compatible proxy that sits inline between an AI agent and the tools or LLM APIs it calls. Every tool call passes through the proxy. The proxy applies a policy decision, and then one of four outcomes happens: allow, block, modify, or require-approval. The action does not execute until the proxy has decided.

That ordering matters. Detection after execution is useful for investigation. Enforcement before execution is what prevents the action from happening at all.

The proxy supports 12 LLM providers with no SDK migration. You point your agent at the proxy endpoint instead of the upstream API. The proxy handles the protocol translation and enforcement, then forwards the request if policy allows it.

How the policy check actually works

Each incoming tool call is inspected by one of six content inspection modules, depending on what the call contains. A database query, a file write, an API call with a payload, an outbound webhook: each is inspected against the policy rules you configure.

Policy decisions are deterministic. The same input always produces the same decision. There is no probabilistic scoring that behaves differently on the second call. This is what makes the enforcement auditable rather than approximate.

Every decision is written to a SHA-256 hash-chained audit log. The chain is tamper-evident: altering a past record breaks the hash chain, which is detectable. For compliance purposes, that log is what you show an auditor to demonstrate that every agent action was evaluated before it ran, and what the decision was.

Enforcement latency is P50 8ms, P99 45ms, with throughput exceeding 10,000 actions per second. Those numbers mean the proxy adds no meaningful delay to an agent workflow while still running a full policy evaluation on every call.

A concrete scenario: an agent with file system and API access

Consider an AI coding agent with access to a file write tool and an external API tool. Without a policy gate, if the agent produces a prompt-injected instruction to write credentials to a path and exfiltrate them via the API, both tool calls execute immediately. The agent framework has no mechanism to evaluate whether those calls should be permitted.

With vaikora-guard-mcp in the path:

The agent never reaches the upstream tools. The incident is captured in the audit chain before anything is written or sent.

Compliance presets and SIEM integration

vaikora-guard-mcp ships with compliance presets for HIPAA, PCI-DSS, GDPR, SOC 2, and ISO 27001. Each preset is a policy configuration that maps enforcement rules to the specific data handling requirements of that framework. You load the preset, adjust for your environment, and the proxy enforces it on every tool call from that point forward.

For teams already running a SIEM, Vaikora integrates natively with Microsoft Sentinel, SentinelOne, CrowdStrike Falcon, and AWS Security Hub. AI agent threats can be pushed into SentinelOne as Threat Intelligence indicators with severity mappings (Critical=100, High=75, Medium=50, Low=25). High-severity decisions promote into Azure Security Center and Microsoft Defender for Cloud as native incidents without custom engineering.

That means agent enforcement events appear in the same investigation workflow as other security signals, without a separate dashboard or manual export.

What open source actually gives you here

Publishing the proxy under MIT means you can read the inspection modules, audit the hash-chaining logic, and verify that the policy evaluation works exactly as described before you deploy it in front of production agent traffic. The commercial Vaikora Control Plane adds centralized policy management, team-level controls, and the enterprise audit tooling. The enforcement core is in the open code.

What to check next

Install `vaikora-guard-mcp` from PyPI and run it locally against a test agent. Review the six content inspection modules to understand which one handles each tool call type in your environment. Then map your highest-risk tool, the one with write access or outbound network calls, to a policy rule and confirm that a test call matching that rule produces a block decision before the action reaches the tool.

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

More from the Vaikora blog