Products & Tools

Envoy Adds Token Quotas and Model Routing for Autonomous AI Agents

Google Cloud extended the Envoy proxy with token quotas, model failover, MCP routing and prompt-inspection hooks for autonomous agents on 24 November 2026.

Google Cloud extends Envoy for autonomous AI agents
Google Cloud extends Envoy for autonomous AI agentsSwidaAlba / pixabay
By Marcus Bennett6 min read

Why it matters

  • Google Cloud added four Envoy capabilities on 24 November 2026: request-body parsing, token quotas, model and MCP routing, and security inspection.
  • Token quotas can be set per minute and per day for tenants, projects or models, with excess traffic rejected by HTTP 429 before requests reach inference clusters.
  • Envoy can retry or redirect traffic to a secondary model pool when a primary model fails or returns HTTP 429, without client changes.
  • MCP routing uses JSON-RPC 2.0 bodies and HTTP headers including Mcp-Method and Mcp-Name, with backend checks that reject mismatches.
  • Envoy already powers Google Cloud's Application Load Balancers and the Agent Substrate data plane on Google Kubernetes Engine.

Google Cloud added four capabilities to Envoy on 24 November 2026: native request-body parsing, token-based traffic quotas, model and tool routing, and security inspection aimed at autonomous AI agents.

The release matters because Envoy already sits inside Google Cloud's request path. The open-source proxy — a Layer 7 intermediary that routes HTTP traffic between clients and backend services — powers Google's Application Load Balancers and the Agent Substrate data plane on Google Kubernetes Engine.

Google Cloud frames the work as a bid to make Envoy a standard for AI traffic and agent-to-agent communication. The company argues that traditional Layer 7 proxies handle agent systems poorly, because key policy data often sits inside request bodies rather than in URLs or headers.

It adds that agent workloads consume infrastructure in ways better measured by token use than by simple request counts. Those two claims drive every addition in the release.

The four areas are not isolated features. Google Cloud presents them as one control plane: parse what a request contains, price it in tokens, route it to the right model or tool, then police what the agent is permitted to do.

What changed in Envoy?

Google Cloud organised the update into four areas:

  • Request-body parsing and model format translation. Envoy can inspect JSON payloads, identify a target model and convert requests between schemas used by providers such as OpenAI, Anthropic and Gemini.
  • Token-based traffic controls. Google Cloud describes this as a “tokenomics engine”: quotas measured in tokens per minute and tokens per day, applied to individual tenants, projects or models.
  • Model and Model Context Protocol tool routing. Envoy routes prompts sharing the same system instructions to GPU workers already holding the relevant cache in memory, and can retry or redirect traffic to a secondary model pool when a primary model fails or returns an HTTP 429 response.
  • Security inspection. Envoy can connect through external processing interfaces to policy engines such as Model Armour, ShieldGemma or local classifiers, checking prompts and tool calls for prompt injection and sensitive data leakage.

The format-translation layer carries the practical weight for developers. Google Cloud says it should reduce the need 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, capturing token use as model responses arrive.

For Model Context Protocol traffic — the protocol agents use to reach tools — routing decisions can use JSON-RPC 2.0 bodies and HTTP headers including Mcp-Method and Mcp-Name, with backend checks that reject mismatches between what a request names and what the backend expects.

How do the token quotas enforce themselves?

Enforcement runs before inference. Envoy estimates input token use, compares the estimate with quota records, and rejects excess traffic with an HTTP 429 response before requests reach inference clusters.

The engine also tracks cumulative token use and message counts. Google Cloud says that second measure helps curb recursive or runaway agent loops, where a chain of tool calls keeps generating more calls.

The company's rationale is that a request count cannot separate a cheap call from an expensive one. Quotas denominated in tokens per minute and per day give operators a budget instrument tied to the unit Google Cloud says agent workloads actually consume.

What happens when the primary model fails?

Envoy now carries two failover paths. If a primary model fails or returns an HTTP 429 response, the proxy retries or redirects traffic to a secondary model pool without requiring client changes.

Separately, it sends prompts with identical system instructions to GPU workers already holding the relevant cache in memory. Google Cloud describes the technique as intended to reduce delay.

Both paths matter for agents, whose chains of model calls multiply the ways a request can fail. The release describes the cache-aware path qualitatively, as reduced delay, without a published benchmark.

What does the security layer inspect?

Envoy can connect through external processing interfaces to policy engines such as Model Armour, ShieldGemma or local classifiers, then inspect prompts and tool calls for prompt injection and sensitive data leakage. The source names three categories of policy engine: Model Armour, ShieldGemma and local classifiers, all reached through the external processing interface rather than embedded in the proxy itself.

The second half is outbound control. In setups where agents run in isolated runtimes, Google Cloud says Envoy can act as both “ingress and egress gateway”, routing incoming traffic while restricting outbound calls to approved domains.

That gives operators a single enforcement point for agents that invoke databases, code sandboxes and third-party application programming interfaces. Inbound routing and outbound filtering, applied by the same proxy, is what makes tool governance enforceable rather than advisory.

Where does Agent Substrate fit?

Google Cloud tied the release 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, then direct traffic to lightweight runtimes that pause and restart quickly.

The profile differs sharply from a microservice fleet serving continuous traffic. A runtime that can be suspended only pays off if the network layer can hold a request in flight without dropping it, which is what the packet buffer does.

Why does this reach beyond Google Cloud?

Google Cloud describes the update as part of a broader industry effort to adapt networking tools built for microservices to systems that use multi-step reasoning, maintain conversational state and invoke databases, code sandboxes and third-party APIs.

It also argues that autonomous agents introduce higher protocol layers above conventional network traffic management: large language model APIs, Model Context Protocol, Agent2Agent, and framework-level coordination across multi-turn workflows.

Google Cloud's conclusion is operational. Proxies that inspect only headers and methods cannot let organisations manage budgets, preserve session affinity or govern tool access, according to the company.

There is an open-source dimension too. Google Cloud notes that Envoy's position could give it influence over how those controls get defined across the sector, and points developers to implementations in Envoy and Agent Router, plus industry groups working on inference APIs, MCP routing and token management conventions.

The product logic runs the same way. Google Cloud already uses Envoy in Application Load Balancers and in the Agent Substrate data plane on Google Kubernetes Engine, so agent traffic and ordinary cloud traffic pass through the same code path.

What follows is a contest over defaults rather than a feature race. Google Cloud is betting that agent budgets, failover rules and tool permissions get written into proxy configuration, and that the conventions travel outward with Envoy's open-source code into the industry groups already working on inference APIs, MCP routing and token accounting.

Source: itbrief.com.au

Share this article:

More from Marcus Bennett

Marcus Bennett

Show full bio

Senior reporter covering companies, deals and strategy in artificial intelligence and machine learning at AI In Context.

872 articles

Related articles

  1. Google Cloud Puts Agent Telemetry in Customer-Owned BigQuery Tables
  2. Google Cloud launches IAM Helper to let agents manage access
  3. Google Cloud makes Pathways generally available on GKE
  4. Google reworks GKE networking to handle a million AI agent sandboxes
  5. Google Cloud hands Agent Substrate, gVisor and OpenRL to CNCF

« Previous articleNext article »