Skip to main content
Version: 1.1

Agent Router Overview

Welcome to the Agent Router documentation! This open-source project, built on Envoy Proxy, aims to simplify how application clients interact with Generative AI (GenAI) services. It provides a secure, scalable, and efficient way to manage LLM/AI traffic, with backend rate limiting and policy control.

Formerly Envoy AI Gateway

Agent Router is the new name for Envoy AI Gateway, now an Agentic AI Foundation project. Same code, same maintainers, new home — no CRD, API, or CLI names have changed (aigw, AIGatewayRoute, and the aigateway.envoyproxy.io API group are all unchanged), and there is nothing to migrate.

Is Agent Router for you?

Agent Router is worth exploring if:

  • Multiple applications or teams share access to models or tools.
  • Application teams should not have to integrate with every provider separately.
  • Provider credentials should not live inside application workloads.
  • You need consistent permissions, quotas, usage attribution, or failover.
  • You want to use hosted and self-managed models within a single platform boundary.
  • You are exposing MCP servers and need to control what each identity can discover and invoke.

Agent Router is not an agent framework and does not tell an agent how to reason. Its value is clearest when AI traffic crosses provider, team, security, cost, or operational boundaries — when a prototype becomes something the business depends on.

The fastest way to find out is one command on your laptop:

OPENAI_API_KEY=sk-your-key aigw run

That starts an OpenAI-compatible router at localhost:1975 — see Run locally in 60 seconds.

Project Overview

The project — created as Envoy AI Gateway — addresses the complexity of connecting applications to GenAI services by leveraging Envoy's flexibility and Kubernetes-native features. It has evolved through contributions from the Envoy community, fostering a collaborative approach to solving real-world challenges.

Key Objectives

  • Provide a unified layer for routing and managing LLM/AI traffic.
  • Support automatic failover mechanisms to ensure service reliability.
  • Ensure end-to-end security, including upstream authorization for LLM/AI traffic.
  • Implement a policy framework to support usage limiting use cases.
  • Foster an open-source community to address GenAI-specific routing and quality of service needs.

Project Goals

The Agent Router project is designed to address the critical challenges of AI/LLM integration in enterprise environments through the following core goals:

  • Resilient Connectivity Across Providers and Self-Hosted Models: Create robust, fault-tolerant connections that integrate with LLM providers (such as OpenAI, Anthropic, AWS Bedrock, etc.) and self-hosted models, ensuring high availability through intelligent routing and automatic failover.

  • Comprehensive Observability for Performance and Cost Management: Provide visibility into traffic performance, usage patterns, and cost analytics, enabling organizations to optimize their GenAI usage and monitor service quality.

  • Enterprise-Grade Security Features: Implement security controls including fine-grained access control, authorization policies, rate limiting, to access services, as well as ensure secure egress connection to external providers from the gateway via Upstream Authentication.

  • Extensible Architecture: Leverage Envoy's proven extensibility framework to enable rapid development of custom features, allowing organizations to adapt the gateway to their specific AI infrastructure needs.

  • Reliable Foundation with Envoy Proxy: Build upon Envoy's battle-tested proxy technology to provide a stable, performant, and production-ready foundation that enterprises can rely on for their traffic handling needs.

These goals guide the development of features and capabilities that make AI/LLM integration secure, scalable, and operationally excellent for enterprise environments.

Documentation for installation, setup, and contribution guidelines is included to help new users and contributors get started easily.

Community Collaboration

Weekly community meetings are held every Monday to discuss updates, address issues, and review contributions.

Architecture Overview

Agent Router is the control plane; Envoy is the data plane that carries the traffic. See the architecture documentation for how the pieces fit together.

Get Involved

We welcome community contributions! Here's how you can participate:

Refer to this contributing guide for detailed instructions on setting up your environment and contributing.


The Agent Router addresses the growing demand for secure, scalable, and efficient AI/LLM traffic management. Your contributions and feedback are key to its success and to advancing the future of AI service integration.