AI Tech Flash ── 2026-11-23
Google checks AI agent actions before they run
Google previews a feature that checks agent actions against rules first
What changes
According to Google, enterprises can now check the actions their AI agents propose before those actions run. The check uses two standards: what the user asked for, and rules the company writes in plain language.
Google says legal, compliance and business teams can write and change the rules without code or a redeploy.
Why it matters
According to the Google for Developers Blog, permissions alone say only what an agent can do. They do not say whether a particular call follows a company's rules.
Google says a model can be talked out of the rules in its system instructions, either by a user with a good reason or by a document that tells it to do something nobody asked for. The latter technique is called indirect prompt injection. For that reason, Google says the check has to sit outside the agent.
What it is
Semantic governance policies is a feature Google offers in Preview in Gemini platform. It checks each tool call an agent's model proposes before the call runs. A tool call is an action such as sending an email or deleting a file.
Google says a call runs only if it passes both checks. One check tests whether the call has deviated from the user's original intent. The other tests the call against the policies a company writes in natural language.
Who and where
According to the Google for Developers Blog, Google provides the feature in Gemini platform. It is currently in Preview.
The only policy enforcement point supported today is Agent Gateway. Google says you must configure the agent so all its egress traffic goes through Agent Gateway.
Google says the agent can call its model through the Gemini API, the Anthropic Messages API, Claude models in Gemini platform, or OpenAI-compatible Chat Completions APIs. Self-hosted servers such as vLLM are included.
Why it was built
Google gives an example set two days before earnings. An employee asks a coworker agent to send preliminary quarterly results to an investor who says they are under NDA, and to copy the employee's personal Gmail.
The agent can read the file and send email, so it fulfills the request. Google says a way to stop such a call before it runs is needed.
How it works
Google says Agent Gateway sends each proposed tool call to the policy engine. This happens before the model's response reaches the agent.
In the engine, an LLM acts as judge. It evaluates the call against the conversation so far, the agent's system instructions, the tool descriptions and the company's policies.
If the call passes, the response reaches the agent unchanged. If not, the engine replaces the response's content, tool calls included, with a configurable denial message. The verdict and the judge's rationale go to Cloud Logging. Text-only responses are not evaluated, because they take no action.
Key points
- According to Google, a tool call runs only if it passes both the user-intent check and the plain-language policy check.
- In Google's example, sending results to an investor and a delete instruction hidden in a document are both denied before they run.
- Verdicts come from an LLM and may vary. Google recommends reviewing them in dry run mode before enforcing.
Conclusion
Google has released a Preview feature that checks an agent's proposed actions against the user's request and company rules before they run.
Google says verdicts are probabilistic and may vary, so the feature should be used alongside other controls. A next post will cover how it held up against prompt injection on the AgentDojo benchmark.
Quotes and sources
“They check each tool call an agent proposes against what the user asked for and against rules you write in plain language.”── Google for Developers Blog, 11/20 22:38 UTC
“A call has to pass both checks to run.”── Google for Developers Blog, 11/20 22:38 UTC
“If it doesn't, the engine replaces the response's content, tool calls included, with a configurable denial message, so the call never runs.”── Google for Developers Blog, 11/20 22:38 UTC
“Because verdicts come from an LLM, which is probabilistic, they may vary.”── Google for Developers Blog, 11/20 22:38 UTC
Source articles
- Google for Developers Blog 11/20 22:38 UTC
Written by AI (Claude) from the cited articles, then checked by Jev (TypeSafe's judgement model), a Gemini fact-check and a verbatim check of every quote.