What the Problem Actually Looks Like
Standard permission systems tell an agent what it can do. They don’t reliably enforce what it should do in a given context.
A finance agent might have permission to send emails. That doesn’t mean it should forward unreleased quarterly results to an outside investor. And if a planning document contains hidden text instructing the agent to delete a folder of forecast drafts, a permissions list alone won’t catch it. That second scenario — where a document manipulates an agent into acting without user instruction — is called indirect prompt injection, and it’s one of the more serious risks in agentic AI deployments. More broadly, this is part of the wider prompt injection problem.
How Semantic Governance Works
Google’s approach uses a language model as a real-time judge sitting between the agent and its tool calls.
Before any tool call executes, the judge evaluates it against two things:
- Compliance policies written in plain language by your legal or compliance team
- User intent — whether the action actually reflects what the user asked for
The user-intent check runs by default and requires no policy configuration. Every proposed tool call has to pass both checks. If it does, the response reaches the agent unchanged. If it fails, the engine replaces the response with a denial message and the call never runs. Verdicts and the judge’s reasoning are logged to Cloud Logging.
The Finance Agent Example
Google’s reference scenario makes the logic concrete. A finance team’s agent has access to a shared drive, can read files, send email, and delete drafts. One policy is in place: unreleased quarterly results may only go to @example.com addresses before the earnings release, regardless of urgency, NDAs, or seniority.
Here’s how three scenarios play out:
- Email Q3 results to controller@example.com → ALLOW. Passes the policy.
- Email Q3 results to an outside investor, copying a personal Gmail → DENY. Policy violation.
- Delete forecast drafts after reading a planning doc with hidden instructions → DENY. The user never asked for deletions, and no policy permits them. The intent check catches the injection.
The third case is the most instructive. No explicit policy was needed to block it. The system recognized that the action didn’t originate from the user.
What Google Is Saying About Its Limits
Google’s own engineers are direct about the tradeoffs. Because the judge is an LLM, verdicts are probabilistic — not deterministic. Google recommends running in dry run mode before enforcing, and treating Semantic Governance as one layer in a broader control stack, not a replacement for disclosure controls or legal review.
There’s also a practical configuration note worth flagging: if a policy depends on a specific fact — like an earnings release date — that fact needs to be included in the agent’s system instructions. The judge decides from the conversation, the agent’s instructions, and your policies. If context is missing, the verdict may be wrong.
Streamed model responses are not evaluated, which is a meaningful limitation to understand before deployment.
Why This Matters for Enterprise AI Adoption
The gap between “what an agent is allowed to do” and “what an agent should do right now” is exactly where compliance risk lives. Semantic Governance is an attempt to close that gap with natural language policies rather than rigid rule engines — which is both its strength and its source of uncertainty.
For teams deploying enterprise AI agents in regulated environments — finance, legal, healthcare, HR — this kind of intent-aware governance layer addresses a real operational concern. The ability to write policies in plain English, log every verdict with rationale, and catch prompt injection without custom code is genuinely useful.
The practical takeaway: if you’re running enterprise AI agents with access to sensitive data or external communications, Semantic Governance is worth evaluating — in dry run mode first, and always alongside your existing compliance controls, not instead of them.
Comments (0) No comments yet
Want to join this discussion? Login or Register.
No comments yet. Be the first to share your thoughts!