Next Generation Agentic Proxy for AI Agents and MCP servers
open sourceApache-2.0self-hostablefreeMCP
agentgateway is an open source proxy written in Rust for agent traffic: agent-to-LLM, agent-to-tool (MCP) and agent-to-agent (A2A). It combines an LLM gateway (unified OpenAI-compatible API, budgets, failover), an MCP gateway (tool federation across stdio/HTTP/SSE/Streamable HTTP, OpenAPI-to-MCP, OAuth), inference routing for self-hosted models via Kubernetes Inference Gateway extensions, and guardrails. It adds auth, RBAC, rate limiting and OpenTelemetry observability on top.
Problems it solves
- put authentication and rate limits in front of the MCP servers our agents use
- one proxy for both LLM calls and tool calls instead of two separate gateways
- expose an existing OpenAPI service to agents as MCP tools without writing a server
- our agents talk to each other and we have no visibility or access control
- route requests across OpenAI, Anthropic, Bedrock and Gemini with failover
- enforce spend budgets on LLM traffic from many teams
- trace every agent tool call with OpenTelemetry
- run MCP servers that only speak stdio but expose them over HTTP to remote clients
- add content filtering guardrails between our agents and the models
- route inference to self-hosted models in Kubernetes based on GPU load
Features
- MCP gateway with tool federation and all MCP transports
- OpenAPI-to-MCP
- A2A gateway
- OpenAI-compatible LLM gateway with budgets, load balancing and failover
- Kubernetes Inference Gateway routing
- guardrails (regex, OpenAI moderation, Bedrock Guardrails, Model Armor, webhooks)
- JWT/OAuth auth and RBAC
- OpenTelemetry observability
- admin UI
Capabilities
| Has an API | plan not known |
|---|---|
| Has a command line tool | plan not known |
| Has an MCP server | plan not known |
Recommended by
- “executor.sh and agentgateway are alternatives” @nateberkopec (Nate Berkopec, Speedshop, Puma maintainer), x, 2026-11-14 source
Alternatives
The same job
These do what agentgateway does.
- ContextForge (IBM MCP Context Forge) An open source registry and proxy that federates MCP, A2A, and REST/gRPC APIs with centralized governance, discovery, and observability.
- LiteLLM The AI Gateway for platform teams.
- Pomerium Identity- and context-aware access proxy for internal apps, services and AI agents
- Bifrost Open-source, high-performance AI gateway that works as your LLM gateway, MCP gateway and agent gateway.
- Microsoft MCP Gateway MCP Gateway is a reverse proxy and management layer for MCP servers in Kubernetes environments.
- Docker MCP Gateway docker mcp CLI plugin / MCP Gateway
