envoyproxy/ai-gateway

Manages Unified Access to Generative AI Services built on Envoy Gateway

2,047

stars

1,565

commits

Go

primary language

Sep 10, 2026

updated

theagentrouter.ai/
ai
ai-gateway
api-gateway
envoy
envoyproxy
inference
kubernetes
llm

README

Agent Router

The open source control plane for AI and agent traffic, powered by Envoy.
An Agentic AI Foundation project. Formerly Envoy AI Gateway.

Documentation · Quickstart · Blog · Release Notes · Talks

Agent Router

Agent Router gives application teams one consistent, OpenAI-compatible API for every model and tool, from hosted providers to self-hosted inference and MCP servers. Platform teams keep credentials, routing, quotas, failover, and usage attribution in one place, enforced by Envoy and Envoy Gateway.

Agent Router controls. Envoy carries.

Formerly Envoy AI Gateway

Envoy AI Gateway is now Agent Router, an Agentic AI Foundation project. Same code, same maintainers, same release cadence and Apache 2.0 license. Nothing you deploy is renamed:

  • CRDs and API group are unchanged: AIGatewayRoute, AIServiceBackend, BackendSecurityPolicy, and the aigateway.envoyproxy.io API group stay as they are.
  • The CLI is still aigw, and the envoy-ai-gateway-system namespace is unchanged.
  • Container images, Helm charts, and the Go module path are unchanged (docker.io/envoyproxy/ai-gateway-*, github.com/envoyproxy/ai-gateway).
  • The repository moved to theagentrouter/agent-router; old envoyproxy/ai-gateway links redirect.
  • The website moved to theagentrouter.ai; every aigateway.envoyproxy.io link redirects to the same page.

Your manifests from yesterday apply tomorrow.

Quick start

Run Agent Router as a standalone, OpenAI-compatible router on your laptop with one command:

OPENAI_API_KEY=sk-your-key aigw run

Then point any OpenAI-compatible client at http://localhost:1975/v1. See the CLI guide for installation and provider auto-configuration, or the Getting Started guide to deploy on Kubernetes with Envoy Gateway.

Usage

When using Agent Router, we refer to a two-tier gateway pattern. The Tier One Gateway functions as a centralized entry point, and the Tier Two Gateway handles ingress traffic to a self-hosted model serving cluster.

  • The Tier One Gateway handles authentication, top-level routing, and global rate limiting
  • The Tier Two Gateway provides fine-grained control over self-hosted model access, with endpoint picker support for LLM inference optimization.

Supported AI Providers

Agent Router supports a wide range of AI providers, making it easy to integrate with your preferred LLM services:

OpenAI
OpenAI
Azure OpenAI
Azure OpenAI
Google Gemini
Google Gemini
Vertex AI
Vertex AI
AWS Bedrock
AWS Bedrock
Mistral
Mistral
Cohere
Cohere
Groq
Groq
Together AI
Together AI
DeepInfra
DeepInfra
DeepSeek
DeepSeek
Hunyuan
Hunyuan
SambaNova
SambaNova
Grok
Grok
Tetrate Agent Router Service
Tetrate Agent Router Service
Anthropic
Anthropic

Documentation

Contact

  • Chat: join the Agent Router Discord to ask questions and collaborate with the community.
  • Weekly meeting: the maintainers and community meet every Monday. Register, add agenda points, and get involved via the public meeting document.

Get Involved

We follow the LF Projects Code of Conduct, as an Agentic AI Foundation project.

To contribute to the project via pull requests, please read the CONTRIBUTING.md file which includes information on how to build and test the project.

Background

The proposal of using Envoy Gateway as a Cloud Native LLM Gateway inspired the initiation of this project.


Agent Router is an Agentic AI Foundation project, powered by Envoy. Copyright © Agent Router a Series of LF Projects, LLC. For web site terms of use, trademark policy and other project policies please see https://lfprojects.org.

Contributors

(top 30 of 140)

mathetake

493 commits

dependabot[bot]

230 commits

nacx

105 commits

missBerg

72 commits

envoyproxy/ai-gateway

Manages Unified Access to Generative AI Services built on Envoy Gateway

2,047

stars

1,565

commits

Go

primary language

Sep 10, 2026

updated

theagentrouter.ai/
ai
ai-gateway
api-gateway
envoy
envoyproxy
inference
kubernetes
llm

README

Agent Router

The open source control plane for AI and agent traffic, powered by Envoy.
An Agentic AI Foundation project. Formerly Envoy AI Gateway.

Documentation · Quickstart · Blog · Release Notes · Talks

Agent Router

Agent Router gives application teams one consistent, OpenAI-compatible API for every model and tool, from hosted providers to self-hosted inference and MCP servers. Platform teams keep credentials, routing, quotas, failover, and usage attribution in one place, enforced by Envoy and Envoy Gateway.

Agent Router controls. Envoy carries.

Formerly Envoy AI Gateway

Envoy AI Gateway is now Agent Router, an Agentic AI Foundation project. Same code, same maintainers, same release cadence and Apache 2.0 license. Nothing you deploy is renamed:

  • CRDs and API group are unchanged: AIGatewayRoute, AIServiceBackend, BackendSecurityPolicy, and the aigateway.envoyproxy.io API group stay as they are.
  • The CLI is still aigw, and the envoy-ai-gateway-system namespace is unchanged.
  • Container images, Helm charts, and the Go module path are unchanged (docker.io/envoyproxy/ai-gateway-*, github.com/envoyproxy/ai-gateway).
  • The repository moved to theagentrouter/agent-router; old envoyproxy/ai-gateway links redirect.
  • The website moved to theagentrouter.ai; every aigateway.envoyproxy.io link redirects to the same page.

Your manifests from yesterday apply tomorrow.

Quick start

Run Agent Router as a standalone, OpenAI-compatible router on your laptop with one command:

OPENAI_API_KEY=sk-your-key aigw run

Then point any OpenAI-compatible client at http://localhost:1975/v1. See the CLI guide for installation and provider auto-configuration, or the Getting Started guide to deploy on Kubernetes with Envoy Gateway.

Usage

When using Agent Router, we refer to a two-tier gateway pattern. The Tier One Gateway functions as a centralized entry point, and the Tier Two Gateway handles ingress traffic to a self-hosted model serving cluster.

  • The Tier One Gateway handles authentication, top-level routing, and global rate limiting
  • The Tier Two Gateway provides fine-grained control over self-hosted model access, with endpoint picker support for LLM inference optimization.

Supported AI Providers

Agent Router supports a wide range of AI providers, making it easy to integrate with your preferred LLM services:

OpenAI
OpenAI
Azure OpenAI
Azure OpenAI
Google Gemini
Google Gemini
Vertex AI
Vertex AI
AWS Bedrock
AWS Bedrock
Mistral
Mistral
Cohere
Cohere
Groq
Groq
Together AI
Together AI
DeepInfra
DeepInfra
DeepSeek
DeepSeek
Hunyuan
Hunyuan
SambaNova
SambaNova
Grok
Grok
Tetrate Agent Router Service
Tetrate Agent Router Service
Anthropic
Anthropic

Documentation

Contact

  • Chat: join the Agent Router Discord to ask questions and collaborate with the community.
  • Weekly meeting: the maintainers and community meet every Monday. Register, add agenda points, and get involved via the public meeting document.

Get Involved

We follow the LF Projects Code of Conduct, as an Agentic AI Foundation project.

To contribute to the project via pull requests, please read the CONTRIBUTING.md file which includes information on how to build and test the project.

Background

The proposal of using Envoy Gateway as a Cloud Native LLM Gateway inspired the initiation of this project.


Agent Router is an Agentic AI Foundation project, powered by Envoy. Copyright © Agent Router a Series of LF Projects, LLC. For web site terms of use, trademark policy and other project policies please see https://lfprojects.org.

Contributors

(top 30 of 140)

mathetake

493 commits

dependabot[bot]

230 commits

nacx

105 commits

missBerg

72 commits

Languages

Go

82.5%

MDX

15.3%