Agent Router
- About
- Open-source gateway for AI model and agent traffic, built on Envoy. Open-source alternative to Kong AI Gateway, Cloudflare AI Gateway and Vercel AI Gateway.
- Catalogue
- No. 571
- Category
- Development
- GitHub stars
- ★ 2.5k
- Last commit
- Page updated

Overview
Agent Router, formerly Envoy AI Gateway, is an open-source control plane for AI and agent traffic. It gives application teams one OpenAI-compatible API for every model and tool, from hosted providers to self-hosted inference and MCP servers. It's an Agentic AI Foundation project.
What it does well
Platform teams keep provider credentials, routing, quotas, failover and usage attribution in one place, enforced by Envoy and Envoy Gateway. It follows a two-tier pattern: a central gateway handles authentication, top-level routing and global rate limits, and a second tier controls access to self-hosted model servers, with endpoint picking for inference. You can run it on a laptop as a standalone router with one command, or deploy it on Kubernetes. The rename kept everything else the same: code, maintainers, CLI, Helm charts and the Apache 2.0 license.
Why it’s in the collection
Agent Router gives a platform team one place to control which models and tools apps can use, and what they cost, on top of the proven Envoy proxy. It's Apache 2.0.
Is Agent Router open source?
Yes. Agent Router is open source under the Apache 2.0 license, so you can read, change and host the code yourself. Apache 2.0 license text.
On GitHub
- Stars
- 2,469
- Forks
- 485
- Commits
- 1,756
- Latest
- Repository
- theagentrouter/agent-router
Languages
- Go 81%
- MDX 16.9%
- Other 2.1%
Compared with
Kong AI GatewayKong's gateway for AI and LLM traffic.
Cloudflare AI GatewayCloudflare's gateway for AI app traffic.
Vercel AI GatewayVercel's unified API for AI models.
See every open-source alternative to Vercel AI Gateway in the collection.
Compare it with other open-source AI gateways.



