IT Brief Canada - Technology news for CIOs & IT decision-makers
Canada
Google Cloud extends Envoy for autonomous AI agents

Google Cloud extends Envoy for autonomous AI agents

Mon, 23rd Nov 2026 (Today)
Sean Mitchell
SEAN MITCHELL Publisher

Google Cloud has extended Envoy to support autonomous AI agents, positioning the open-source proxy as a potential standard for AI traffic and agent-to-agent communication.

The update focuses on four areas: request-body parsing, token-based traffic controls, model and tool routing, and security checks for AI workloads. The changes are intended to address routing and governance issues that arise when software agents make their own calls to models, tools and external services.

Envoy is already widely used in cloud-native software as an edge and service proxy. Google Cloud uses it in products including its Application Load Balancers and the Agent Substrate data plane on Google Kubernetes Engine.

Google Cloud argued that traditional Layer 7 proxies are poorly suited to agent systems because key policy data may sit inside request bodies rather than in URLs or headers. It added that agent workloads consume infrastructure in ways that are better measured by token use than by simple request counts.

Four changes

The first addition is native request-body parsing and support for translating between different model formats. Envoy can inspect JSON payloads, identify a target model and convert requests between schemas used by providers such as OpenAI, Anthropic and Gemini.

This is intended to reduce the need for developers to rewrite application code when switching model providers or moving to self-hosted models. Envoy can also parse server-sent event streams in real time to capture token use from model responses.

The second area is what Google Cloud described as a tokenomics engine. Instead of limiting traffic by request volume alone, Envoy can enforce quotas based on tokens per minute and tokens per day for individual tenants, projects or models.

Before inference, the proxy can estimate input token use, compare it with quota records and reject excess traffic with an HTTP 429 response before requests reach inference clusters. It can also track cumulative token use and message counts to curb recursive or runaway agent loops.

The third set of changes covers routing for models and Model Context Protocol, or MCP, tools. Envoy can route prompts with the same system instructions to GPU workers that already hold the relevant cache in memory, a technique intended to reduce delay.

If a primary model fails or returns an HTTP 429 response, Envoy can retry or redirect traffic to a secondary model pool without requiring client changes. For MCP traffic, routing can use JSON-RPC 2.0 bodies and HTTP headers including Mcp-Method and Mcp-Name, with backend checks to reject mismatches.

Security layer

The fourth area is security. Envoy can connect through external processing interfaces to policy engines such as Model Armour, ShieldGemma or local classifiers to inspect prompts and tool calls for prompt injection and sensitive data leakage.

That role extends to outbound network controls in agent environments. In setups where agents run in isolated runtimes, Envoy can act as both ingress and egress gateway, routing incoming traffic while restricting outbound calls to approved domains.

Google Cloud also linked the work to Agent Substrate, an execution runtime designed for large numbers of mostly idle agents. Envoy can buffer an initial packet while a suspended agent instance resumes, allowing traffic to be directed to lightweight runtimes that can pause and restart quickly.

Broader push

The changes reflect a broader industry effort to adapt networking tools built for microservices to AI systems that use multi-step reasoning, maintain conversational state and invoke databases, code sandboxes and third-party application programming interfaces. In that environment, operators are seeking tighter controls over cost, session handling and tool execution.

Google Cloud said autonomous agents introduce higher protocol layers above conventional network traffic management, including interaction protocols such as large language model APIs, MCP and Agent2Agent, as well as framework-level coordination across multi-turn workflows. It argued that these characteristics require proxies to inspect more than headers and methods if organisations want to manage budgets, preserve session affinity and govern tool access.

Envoy's position as an open-source project could give Google Cloud influence over how those controls are defined across the sector. Developers can review implementations in Envoy and Agent Router and work through industry groups on inference APIs, MCP routing and token management conventions.