VaikoraVaikora

Vaikora › Blog › Product Updates

LLM policy enforcement: what "allow, block, modify, require-approval" actually means at the wire level

Product Updates · Nov 29, 2026 · 4 min read

Policy enforcement for LLMs is not a firewall rule or a content filter bolted on the side. Every call an AI agent makes, whether it reads a file, queries a database, or POSTs to an API, passes through a decision point that must resolve to one of four outcomes before anything executes: allow, block, modify, or require-approval. What happens at that decision point determines whether your policy is real or decorative.

The four decisions and what each one does

Allow passes the action to the LLM or downstream tool unchanged. The decision is still logged. If you are running a SHA-256 hash-chained audit log, every allow is a signed entry, so absence of intervention is auditable, not invisible.

Block drops the action before it reaches the LLM or tool. The agent receives a rejection signal. Nothing executes. This is the only outcome that prevents the action rather than reacting to its effects.

Modify rewrites the action in transit. A common use case: an agent constructs a database query that includes a column it has no business reading. The policy engine strips that column from the query and passes the modified version downstream. The agent gets a response, but not the data it asked for.

Require-approval holds the action in a queue and waits for a human decision. This is not a fallback. It is the right outcome for high-risk, low-frequency actions where automated allow or block is too coarse.

These are not categories on a dashboard. They are runtime outcomes that must resolve before execution. If the decision happens after the action lands, only one of the four is still available: cleanup.

Where the enforcement point sits in the call chain

An inline policy engine sits between the agent orchestrator and every LLM provider or tool the agent can reach. The agent sends a call. The enforcement point intercepts it, runs the action against the active policy set, and returns the decision. The LLM or tool never sees a blocked or modified call in its original form.

This is not a proxy in the logging sense. A logging proxy records what passed through. An enforcement proxy decides what passes through. The architectural difference is whether the tool endpoint is reachable without going through the enforcement point. If it is, the policy is advisory, not enforced.

Vaikora sits inline in that position. Every agent action resolves to one of the four outcomes at P50 8ms and P99 45ms, with throughput up to 10,000 actions per second. Those numbers matter because enforcement that adds meaningful latency tends to get bypassed in production, particularly in agentic loops where many actions happen in sequence.

What the policy engine actually checks

A deterministic policy engine means identical input always produces identical output. There is no probabilistic scoring that lets the same action pass one time and block another. That matters for two reasons: operational predictability and audit defensibility.

The engine checks against a policy set that can include:

A worked example: an agent running in a customer support context attempts to call an internal HR API. The policy set says that agent class cannot call that endpoint. The enforcement point blocks the call at the wire level before the HR API receives a request. The block is signed into the audit log. If that agent is later implicated in a security review, the log shows the attempted call, the policy that matched, and the decision, with chain-of-custody intact.

Policy presets versus custom rules

Compliance presets for HIPAA, PCI-DSS, GDPR, SOC 2, and ISO 27001 give you a starting policy set that maps to documented control requirements. They are not substitutes for tuning. A HIPAA preset will block PHI in outbound LLM calls by default, but your environment may have agents that legitimately process PHI under specific conditions. The preset is the baseline; your policy rules are the override layer.

Custom rules sit above the preset. They can tighten or selectively widen the preset for specific agent identities or tool combinations. The preset does not need to be replaced, only extended.

What to verify before you call enforcement real

Check three things in your current setup. First, is the enforcement point genuinely inline, or does the agent have a path to the LLM or tool that bypasses it? Second, does the policy engine produce a decision before execution, or does it alert after the fact? Third, is every decision, including every allow, written to a tamper-evident log you can present in an investigation?

If any of those three fail, you have visibility, not enforcement. Adjust accordingly.

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