#4848th of 74 in Gateways and observability
agent-router
Envoy-based OpenAI-compatible gateway for LLM providers, self-hosted models and MCP
- Stars
- 2.4k
- License
- Apache-2.0
- Last commit
- Nov 2026
- Last release
- Nov 2026
- Language
- Go
1,548 on 28 Apr 20262,445 on 24 Nov 2026
From GitHub's daily star counts.
Checked on GitHub.
Overview
Agent Router, formerly Envoy AI Gateway, exposes one OpenAI-compatible API in front of hosted providers such as OpenAI, Anthropic, Bedrock, Vertex AI and Gemini, plus self-hosted inference and MCP servers. Envoy and Envoy Gateway enforce credentials, routing, quotas, failover and usage attribution on Kubernetes. A standalone `aigw run` CLI starts a local router on port 1975.
Who it is for: Platform teams running LLM and MCP traffic through Kubernetes and Envoy
Strengths
- Built on Envoy and Envoy Gateway, with Kubernetes CRDs like AIGatewayRoute and AIServiceBackend
- Two-tier pattern: global auth and rate limits, plus endpoint picker for self-hosted inference
- Supports about 20 listed providers, including OpenAI, Anthropic, Bedrock, Vertex AI, Azure OpenAI and Groq
- Standalone `aigw run` starts a local OpenAI-compatible router on port 1975
Weaknesses
- Full deployment requires Kubernetes and Envoy Gateway, which is heavy for small setups
- Renamed from Envoy AI Gateway, so images, CRDs and module paths keep the old names
- README gives no hardware sizing or performance figures
- README lists no built-in tracing or evaluation UI, so observability setup is not described
What it needs
- no GPU
- Docker
- Needs Envoy Gateway, Kubernetes
- Models: OpenAI, Azure OpenAI, Google Gemini, Vertex AI, AWS Bedrock
- port 1975
What changed
“Legacy Gemini schema conversion removed — Chat Completions and tokenize requests to GCP Vertex AI now always send response_format schemas as responseJsonSchema and tool parameters as parametersJsonSc…”
“OpenAI workload identity federation — Stop storing long-lived OpenAI API keys. A BackendSecurityPolicy of type: OpenAICredentials exchanges a SPIFFE JWT-SVID or an OIDC token for a short-lived OpenAI…”
“Random MCP session encryption seed — The Helm chart no longer defaults to the well-known default-insecure-seed. It generates a random seed, stores it in the Secret -mcp-session-encryption, and reuses…”
“Agent Router v1.2.0 is the first release under the project's new name (formerly Envoy AI Gateway). Nothing you deploy is renamed: the aigateway.envoyproxy.io API group, the CRDs, the Helm charts, the…”
From the release notes. No flag means the note does not say so, not that the upgrade is safe.
Known problems
Open now, reported in the last 90 days
- Upstream ext_proc replaces the request body from a router-phase snapshot, discarding body mutations made by earlier ext_proc filters ↗ (opens in a new tab)3 reactions
- Anthropic API: AWS Bedrock (InvokeModel) JSON errors are not converted to Anthropic error shape ↗ (opens in a new tab)1 reactions
- Anthropic Messages streaming to AWS Bedrock (Converse) skips content_block_start for text and reasoning blocks, so Anthropic SDK clients fail with IndexError ↗ (opens in a new tab)1 reactions
Reported, then fixed by a linked change
- `resources/read` fails for MCP tool `_meta.ui.resourceUri` in multiplexing configuration ↗ (opens in a new tab)9 reactions · closed 10 Aug 2026Fixed by fix(mcp-apps): preserve ui:// scheme when namespacing MCP resource URIs ↗ (opens in a new tab)
- Race Condition During Deployment: extProc sidecar not injected ↗ (opens in a new tab)5 reactions · closed 7 Apr 2026Fixed by fix(controller): use noCacheReader in webhook to avoid extProc injection cache race ↗ (opens in a new tab)
- mcpproxy: extensions capability is dropped when aggregating backends ↗ (opens in a new tab)1 reactions · closed 19 Aug 2026Fixed by mcp: include backend extensions in merged capabilities ↗ (opens in a new tab)
- OpenAI-to-Anthropic streaming leaves Anthropic clients with zero input token usage ↗ (opens in a new tab)1 reactions · closed 5 Aug 2026Fixed by fix: backfill input + cache token counts in OpenAI→Anthropic streaming message_delta ↗ (opens in a new tab)
- ext_proc does not strip content-length when switching from BUFFERED to STREAMED mode, truncating SSE responses ↗ (opens in a new tab)1 reactions · closed 4 Aug 2026Fixed by fix: strip content-length when switching to streamed mode ↗ (opens in a new tab)
Titles are the reporters' own words, taken from the project's GitHub issues and ranked by reactions. We have not tried to reproduce any of them.
Also in Gateways and observability
See all 74| Rank | Project | Score |
|---|---|---|
| #46 | clawmetryDashboard for agent session timelines, tool calls and cost | 65 out of 100 |
| #47 | claude-tapLocal proxy and trace viewer for inspecting AI coding agent API traffic | 64 out of 100 |
| #49 | Future AGIEvaluation, tracing, simulation and gateway platform for LLM agents | 62 out of 100 |
| #50 | dashclawApproval and policy layer that blocks risky agent tool calls before they run | 62 out of 100 |
| #51 | evidentlyPython library to evaluate, test and monitor ML and LLM systems | 60 out of 100 |