Google shows a zero-trust design for AI agents: per-agent signed database writes, gVisor sandboxing for generated code, and deterministic input/output gateways outside the model.
Who it is for
Teams building ADK agents on Google Cloud that let agents write to databases or run generated code.
Key points
Signing uses Cloud KMS asymmetric keys backed by HSM; the demo uses a local HMAC stand-in.
Generated code runs in a gVisor sandbox with no network, dropped capabilities, memory and CPU limits, and a 5-second timeout.
Sample regex and keyword gateway rules are illustrative and not a complete defense.
AI:Semantic governance policies (Preview) check each tool call an agent proposes against plain-language rules and the user's intent before the call runs, via Agent Gateway.
AI:Agent Anomaly Detection analyzes agent reasoning traces, tool calls and logs after a session to flag behavioral anomalies, policy violations and suspicious intent, without adding request latency.
AI:Agent Gateway enforces Model Armor screening, LLM-based Semantic Governance Policies on tool calls, and Agent Anomaly Detection that can drive new policies at runtime without redeploying agents.