Semantic governance: Google checks each tool call against user intent
Semantic governance policies is a Google check that compares each tool call an agent proposes against the user's request before it runs.
· Google · Research by Ritika Nigam, Deepti Sehrawat, Pranav Bhagwat

Google reports that Semantic governance policies, a preview check in Agent Gateway, cut the attack success rate on the AgentDojo benchmark from 48.7% to 0.9% by judging every tool call an agent proposes against what the user asked for.
- developers.googleblog.comGoogle Measurements
- docs.cloud.google.comPolicy Overview Docs
- arxiv.orgAgentDojo Paper
01What happened
Google published measurements for Semantic governance policies on 23 November 2026, in a post by Ritika Nigam, Deepti Sehrawat and Pranav Bhagwat. The feature is in Preview on the Gemini platform for agents running behind Agent Gateway. Google reports that on AgentDojo the attack success rate fell from 48.7% to 0.9% with the default check enabled.
02How it works
Agent Gateway sends every tool call the model proposes to a policy engine before the result reaches the agent. An LLM judge treats the user's request and the developer's system instructions as trusted, and tool results, files and messages as untrusted data rather than instructions. The default check asks whether the user requested this action, so it judges actions and not text. Denied calls never run and are replaced with a denial message.
03Who is affected
Teams running agents behind Agent Gateway on the Gemini platform can enable the check today in Preview. Google's figures come from a gemini-2.5-flash agent on AgentDojo v1.2.2 across 97 user tasks and 949 attacked runs, not from production traffic. Google states the judge's split between trusted and untrusted content is enforced through how the judge is instructed, not by a hard technical boundary.
04What to do
Google recommends enabling the policy in dry run mode first, reviewing the verdicts in Cloud Logging, then switching to enforcement. Weigh the measured cost before you do: Google reports clean utility fell 2.6 points on average and over-blocking hit 1 of 97 benign tasks.
Measured results
Attack success rate, AgentDojo
Higher is worse for defenders
| Result | Score |
|---|---|
| No policy | 48.7% |
| Semantic governance policiesthis story | 0.9% |
Scale 0 to 100% · Source: developers.googleblog.com, as published
Questions people ask
- Is Semantic governance policies generally available on the Gemini platform?
- No. Google describes Semantic governance policies as Preview on the Gemini platform, available for agents running behind Agent Gateway. Google recommends turning it on in dry run mode first, reviewing the verdicts in Cloud Logging, and only then switching to enforcement. The default user intent matching check is on by default once the policy is enabled.
- What does the 0.9% attack success rate on AgentDojo not cover?
- Adaptive attacks sit outside the measurement. Google notes AgentDojo's attacks are fixed, and that an attack written against the policy could try to manipulate the LLM judge by disguising an injection as the user's own request. Google also cites NIST CAISI red-teaming that raised attack success against an agent from 11% to 81%, and says text-only manipulation needs separate controls.
- How much utility does Semantic governance policies cost?
- Google reports clean utility on benign AgentDojo tasks fell 2.6 points on average, with individual runs ranging from a 1.0 point drop to 7.2. Over-blocking affected 1 of 97 benign tasks, roughly 1%, and most of the cost sat in Slack, where two benign tasks failed consistently. Utility under attack fell from 35.1% to 25.8%.
Sources 3 links, all fetched
- 1developers.googleblog.comGoogle Measurements
- 2docs.cloud.google.comPolicy Overview Docs
- 3arxiv.orgAgentDojo Paper