Semantic governance policies
Semantic governance policies are business rules written in plain English. An LLM-based policy engine checks every tool call a model proposes against those rules and against what the user actually asked. Watch a refund pass, a refund fail, and an injected refund get caught.
11 minPro
Checking your access…
Inside this lesson
- An animation you play, pause and step through, with each part saying what it is doing.
- The real code beside it, with the lines for each step lit up.
- Practice mode, where you route each message yourself, and a short quiz.
- About 11 minutes.
Written from the official documentation
- docs.cloud.google.com/gemini-enterprise-agent-platform/govern/policies/semantic-governance-overview
- docs.cloud.google.com/gemini-enterprise-agent-platform/govern/policies/configure-semantic-governance
- docs.cloud.google.com/gemini-enterprise-agent-platform/govern/policies/best-practices
- docs.cloud.google.com/gemini-enterprise-agent-platform/govern/policies/monitor-semantic-governance
In this module: Agent Gateway and policies
- Agent Gateway overviewOne governed path for all agent traffic.Pro
- Set up Agent GatewayManaged gateway, VPC connectivity and routing.Pro
- Route Agent Runtime traffic through the gatewayPutting deployed agents behind policy.Pro
- Delegate authorizationLetting an external system decide who gets in.Pro
- Extensible policiesService extensions on the gateway.Pro
- Unified Access PoliciesIAM policies and CEL conditions for agents.Pro
- Semantic governance policiesRules about what agents may say and do.Pro
- Token management policiesControlling token spend.Pro
- Model Armor on the gatewayScreening prompts and responses in transit.Pro
- Dry runs and security findingsTesting policies before enforcing them.Pro
- Agent anomaly detectionSpotting agents that behave unusually.Pro