Google Gemini Introduces Semantic Governance to Control AI Agent Actions
Google's Gemini platform now offers semantic governance policies in preview, acting as a checkpoint for AI agent tool calls to prevent unauthorized actions.

Google is enhancing the security and control over AI agents with the introduction of semantic governance policies, currently in preview on its Gemini platform. This new feature acts as a critical checkpoint, analyzing proposed tool calls made by AI agents before they are executed. The primary goal is to ensure that AI agents operate strictly within the bounds of user requests and adhere to predefined company policies, thereby mitigating risks associated with unauthorized actions or deviations from intended use.
The semantic governance policies are implemented at an enforcement point, such as Agent Gateway, which sits externally to the AI agent itself. This separation ensures that the governance layer can effectively monitor and control the agent's interactions with external tools and data. Traditional permission lists define what an agent *can* do, but semantic governance goes further by evaluating *how* it proposes to do it, addressing vulnerabilities like indirect prompt injection where users might trick an agent into violating its rules.
A language model serves as the 'judge' within this system. It meticulously compares each tool call proposed by the agent against two key criteria: the plain-language rules established by legal or compliance teams, and the original intent of the user's request. The user-intent check is enabled by default and requires no additional configuration. For a tool call to proceed, it must satisfy both the policy rules and the user's explicit instructions.
If a proposed tool call fails either of these checks, the system intervenes. Instead of executing the action, the engine replaces the proposed response and tool call with a denial message. This ensures that any action violating governance policies is prevented before it can occur. For auditing and review purposes, all verdicts and the rationale behind them are logged in Cloud Logging, providing transparency into the system's decision-making process. However, it's important to note that streamed model responses are not subject to this evaluation.
Google provided an illustrative example involving a finance team's AI agent. This agent was authorized to search shared drives, read files, send emails, and delete drafts. A specific policy was implemented to restrict the dissemination of unreleased quarterly results, allowing them only to internal @example.com addresses prior to the official earnings release, irrespective of NDAs or requester seniority. An email to the controller would be permitted, but an email to an external investor that also included a personal Gmail address would be blocked by this policy.
Furthermore, the system demonstrated its ability to thwart malicious intent even when embedded within documents. In a scenario where a planning document contained hidden instructions to delete drafts in a 'Forecasts' folder, the user-intent check denied the deletion request because the user had not explicitly asked for this action, and no policy would permit such deletions. This highlights the system's robustness against sophisticated attempts to manipulate AI agent behavior.
Google acknowledges that the probabilistic nature of LLMs means verdicts may vary. They recommend using dry run mode for review before enforcing policies and emphasize that semantic governance policies should complement, not replace, existing security controls. Key facts that policies depend on, such as earnings dates, should be included in the agent's system instructions to ensure the judge has sufficient context. Ultimately, this feature aims to provide a more granular and reliable method for enterprises to manage the risks associated with increasingly capable AI agents.