Google previews pre-action governance checks for AI agent tool calls
Brief
Semantic governance policies add an inline check before an AI agent’s proposed tool call runs.
How the checks work
- Available in Preview on Gemini platform, the policies require agent egress traffic to pass through Agent Gateway.
- Each proposed tool call is checked against both the user’s original intent and natural-language policies; both checks must pass for it to run.
- Denied calls are replaced with a configurable message. Verdicts, the judge’s rationale and token use are sent to Cloud Logging.
Limits and setup
- The feature supports agents using the Gemini API, Anthropic Messages API, Claude models in Gemini platform, or OpenAI-compatible Chat Completions APIs, including self-hosted vLLM servers.
- Responses containing only text and streamed model responses are not evaluated. LLM-based verdicts may vary, so Google recommends reviewing results in dry-run mode before enforcement.
Generated by AI from the original article. Check the source for full details.