Google previews policies that inspect AI agent tool calls before execution

src-22b3aaa2

Google is adding a policy checkpoint for enterprise AI agents on its Gemini platform. Semantic governance policies, currently in Preview, evaluate proposed tool calls before they run and can block actions that conflict with a user’s request or an organization’s rules.

The control is designed to address a gap between what an agent is technically permitted to do and whether a particular action is appropriate. Permissions can define an agent’s available capabilities, but do not necessarily determine whether a specific call follows company policy or the user’s intent.

Google places the evaluation outside the agent, at an enforcement point such as Agent Gateway. A language model acts as the judge, assessing each proposed tool call against plain-language policies supplied by legal or compliance teams and the user’s request. The user-intent check is enabled by default and does not require an organization to write a policy. For a call to proceed, it must pass both checks.

How the enforcement checkpoint works

If a proposed call passes, its response is returned to the agent unchanged. If it fails, the system replaces the response—including the tool call—with a denial message, and the requested tool action does not run. Verdicts and the judge’s rationale are recorded in Cloud Logging, giving administrators a record to review.

The design is intended to help address cases in which an agent is persuaded to depart from its instructions, or encounters content that attempts to redirect it. One relevant risk is indirect prompt injection: a document or other material can contain instructions intended to influence the model, even though those instructions were not part of the user’s request.

Google’s example involves a finance agent with access to a shared drive, file-reading capabilities, email sending and draft deletion. A policy permits unreleased quarterly results to be sent only to addresses at example.com before the earnings release, regardless of an NDA, urgency or the requester’s seniority. An email to the company controller is allowed, while a message to an outside investor that copies a personal Gmail address is denied.

In another scenario, the agent reads a planning document containing hidden text that directs it to delete drafts in a Forecasts folder. The intent check rejects the deletion because the user did not request it and no policy authorizes it. The example illustrates how a checkpoint can evaluate the proposed action rather than relying solely on the agent to interpret its instructions correctly.

Testing and operational considerations

Google cautions that the verdicts come from a probabilistic language model and may vary. The company recommends reviewing results in dry-run mode before enforcing policies, and using the feature alongside existing controls rather than as a replacement for them.

Policy authors also need to provide the relevant context. The judge considers the conversation, the agent’s instructions and the policies, so facts that affect a decision—such as an earnings date—should be included in the agent’s system instructions. The mechanism does not evaluate streamed model responses, a limitation teams should account for when assessing which agent interactions it can govern.

These constraints make validation important before an organization relies on the feature to prevent sensitive actions. Teams can use dry-run review to examine decisions and rationales, check whether the available context supports the intended policy, and determine how the checkpoint fits with their existing disclosure controls and legal and compliance reviews. Google describes semantic governance as a complement to those safeguards, not a substitute.

For enterprises deploying agents with access to files, email or other tools, the Preview offers a way to place an additional decision point between a model’s proposal and execution. Its practical value will depend on how reliably the evaluator distinguishes authorized actions from requests that violate policy or depart from user intent, as well as on how organizations handle the feature’s stated limits.

Deepti Sehrawat, a software engineer at Google, outlined the recommendations and limitations, including the need for dry-run review, contextual instructions and continued use of other controls.