AI agents can now read and write Google Cloud guardrails. Give them the audit, keep the pen behind an approval
Google made its Organization Policy MCP server and Gemini constraint authoring generally available. Agents can audit posture and create policies. The second half needs a change process.

Who should be allowed to change the rules that stop everyone else from misconfiguring the cloud? Until recently, the answer was a small platform team writing policies in a specialized language. As of November 12, it can also be an AI agent.
Google announced general availability of the Organization Policy MCP server and of natural-language constraint authoring with Gemini. Organization Policy is the service that enforces guardrails across a Google Cloud hierarchy of organizations, folders and projects, with more than 100 predefined policies and custom constraints for each company’s own standards.
What agents can do now
The MCP server gives agents and pipelines direct tools over Organization Policy, in three groups:
- Discovery:
ListConstraintsandGetCustomConstraintshow which guardrails apply to a project, folder or organization. - Evaluation:
GetEffectivePolicycalculates the policy that actually applies after inheritance and tag-based conditions, so an agent can check whether a change would be compliant before it is made. - Management:
CreatePolicyandCreateCustomConstraintlet teams create guardrails through conversational workflows.
Google’s suggested uses are posture audits, drift detection and exemption management, for example a dashboard, built with a coding agent, that shows which folders and projects are exempt from a policy.
Separately, custom constraints, which used to require writing Common Expression Language against Google Cloud’s resource schemas, can now be described in natural language to Gemini. Google’s examples include requiring agent identity in Agent Runtime, requiring an approved Agent Gateway for deployed agents and preventing users from disabling GKE auto-upgrades. Gemini can also generate compliant and non-compliant test configurations to validate a constraint in dry-run mode before enforcing it.
Reading is cheap, writing is a change
The two halves of this release deserve different treatment.
The read side is an easy win. Most cloud incidents still start, as Google’s post says, from preventable misconfigurations, and the hard part of auditing them is working out which policy actually applies through layers of inheritance and exceptions. An agent that can call GetEffectivePolicy across hundreds of projects and list the exemptions is doing tedious, valuable work with no ability to break anything.
The write side is a change to production security controls. A policy written by Gemini from a sentence can be subtly wrong in ways that are hard to spot: too broad, and it blocks deployments across the organization; too narrow, and it protects nothing while everyone believes it does. Google’s dry-run with generated test cases is exactly the right safeguard, and it should be mandatory, not optional.
This is the same pattern we described when database access for agents became an identity setting: MCP removes the integration work, and in doing so moves the whole question to who holds which permission.
How to adopt it
Split the identities. Give audit agents an identity that can call the discovery and evaluation tools only. Keep CreatePolicy and CreateCustomConstraint for a separate identity used in a reviewed pipeline.
Require the dry run. No constraint generated from natural language goes to enforcement without passing its compliant and non-compliant test configurations in dry-run mode, and without a person reading the resulting CEL.
Version policies as code. Even when Gemini drafts them, store constraints in source control with the prompt that produced them, the tests and the approver.
Start from known baselines. Google Cloud Professional Services publishes sample custom constraints based on CIS and PCI standards. Adapting a reviewed sample is safer than generating from scratch.
Use agents to police agents. Several of Google’s own examples are guardrails for AI workloads: agent identity, approved gateways. That is a good first project, because it is new territory where the policies do not exist yet.