As organizations move from AI prototypes to running fleets of agents in production, many are choosing Google Kubernetes Engine (GKE) to build and run their own AI agents and Model Context Protocol (MCP) servers. GKE gives AI engineering teams the flexibility to scale open-source frameworks, custom reasoning loops, and specialized toolchains.
Running autonomous agents in production brings new networking and security challenges. Traditional microservices follow predictable call graphs, so teams can lock them down at deployment time with Layer 3 and Layer 4 policies. Agents, on the other hand, decide at runtime which tools, models, and agents to call, based on user prompts and model reasoning. A rule that allows traffic from one Pod IP address to another can’t tell a harmless tool call from a destructive one.
At AGNTCon + MCPCon, we shared how agent governance in the Gemini platform would extend to more places where agents run. Today, agent governance is available for agents on GKE. It joins agent governance for Cloud Run, and cross-cloud agent governance for agents running on other clouds and on-premises. Wherever your agents run, platform and security teams can use the same identities, registry, and policies, so they operate one governance model instead of one per runtime. On GKE, governed client access (ingress) and governed agent outbound access to destinations outside the cluster (egress) are in preview, and governed agent outbound access inside the cluster (east-west) is in gated preview. Agent governance on GKE brings together these components:
-
Agent Identity and Agent Registry: Each labeled agent gets its own identity through Agent Identity and is registered automatically in Agent Registry. You can see which agents are running and write policies that refer to agents, MCP servers, and tools by name rather than by IP address.
-
Access and content policies: You define who can call each agent and which MCP tools each agent can call. Model Armor screens prompts, responses, and tool payloads for threats such as prompt injection and data exfiltration. You can also bring your own policy engine or one from our Agent Gateway partner ecosystem, attached through Service Extensions bindings.
-
Agent Gateway: Agent Gateway enforces those policies for client access and for agent outbound access, both outside and inside the cluster. On GKE, it builds on GKE ambient networking, which captures agent traffic outside your Pods with no sidecars and no changes to agent code, and encrypts traffic between workloads with mTLS based on each Pod’s identity.
-
Built-in agent observability: Governed requests are logged with agent context, and governed agents get metrics and traces in the Google Cloud console.
To show how these controls work in practice, we trace an example workload through client access and agent outbound access, and look ahead to upcoming support for Agent Sandbox.
Two kinds of access, three gateways
On GKE, governance runs in your projects, on networking infrastructure you already use and control. Each kind of access gets its own Agent Gateway, built on infrastructure you already run: a GKE gateway (a regional Application Load Balancer) for client access (ingress), a Secure Web Proxy in your VPC for agent outbound access to destinations outside the cluster (egress), and Layer 7 proxies for agent outbound access inside the cluster (east-west). All three use the same identities, registry, and policies.
Agent Gateway builds on GKE ambient networking, GKE’s sidecar-less networking mode. Instead of injecting a proxy into every Pod, GKE runs a node proxy that gives Pods in ambient-enabled namespaces identity-based mTLS and Layer 4 policies.
-
For outbound access to destinations outside the cluster, the node proxy sends agent traffic to a Secure Web Proxy.
-
For outbound access inside the cluster, GKE adds a Layer 7 proxy for each namespace.
-
Your agent code and container images stay the same, and because enforcement happens outside the Pod, this design helps prevent an agent from bypassing policies by changing its own settings.







