agentgateway
Open source HTTP and gRPC gateway that routes, secures, observes, and governs service, LLM, MCP, and agent-to-agent traffic in one data plane.
At a Glance
Self-hosted agentgateway core under the Apache License 2.0.
Engagement
Available On
Alternatives
Listed Nov 2026
About agentgateway
Agentgateway is an open source proxy hosted as a Linux Foundation project that handles traditional application traffic and AI-native protocols (MCP and A2A) in a single data plane. It can be run as a standalone binary or in Docker, or deployed on Kubernetes with a built-in controller and Gateway API support. The repository is licensed under Apache 2.0.
What It Is
Agentgateway is a gateway for platform teams that need to route and control traffic between applications, LLM providers, MCP tool servers, and agents. Rather than running separate gateways for each kind of traffic, it applies routing, security, observability, and governance policies across HTTP, gRPC, TCP, LLM, MCP, and A2A traffic. It includes a built-in admin UI for exploring agent-to-agent and agent-to-tool connections.
LLM, MCP, and A2A Routing
The LLM gateway exposes a unified OpenAI-compatible API in front of providers such as OpenAI, Anthropic, Gemini, Bedrock, Vertex, and self-hosted models, with load balancing, failover, prompt enrichment, and budget controls. The MCP gateway federates tools across stdio, HTTP, SSE, and Streamable HTTP transports, with OpenAPI integration and OAuth authentication. The A2A gateway supports capability discovery and secure agent-to-agent communication. Inference routing for self-hosted models uses Kubernetes Inference Gateway extensions, with decisions based on signals such as GPU utilization, KV cache, LoRA adapters, and queue depth.
Security, Governance, and Cost Controls
Authentication options include JWT, OIDC, API keys, basic auth, external authorization, and MCP authentication, alongside CEL-based RBAC policies, TLS/mTLS, CORS/CSRF protections, and rate limiting. Guardrails cover regex, OpenAI moderation, AWS Bedrock Guardrails, Google Model Armor, and custom webhooks, and tool access policies scope which MCP tools a caller may reach. Cost features include virtual keys, budget and spend limits, a model cost catalog, a cost dashboard, and per-request realized cost on logs, metrics, and traces.
Observability and Operations
Telemetry is built on OpenTelemetry, with Prometheus token-usage metrics, Jaeger traces, and request logs. The agctl CLI can trace live requests, dump runtime configuration, and change log levels without a restart. An LLM playground in the admin UI lets users send test prompts and see which backend served the request.
Community Discussions
Be the first to start a conversation about agentgateway
Share your experience with agentgateway, ask questions, or help others learn from your insights.
Pricing
Open Source
Self-hosted agentgateway core under the Apache License 2.0.
- Apache License 2.0 (Apache-2.0)
- LLM Gateway, MCP / A2A gateway, and APIs & Services traffic
- Model cost catalog with realized USD cost in logs, traces, metrics, and CEL
- Built-in UI
- Linux Foundation project
Capabilities
Key Features
- LLM gateway with OpenAI-compatible API, failover, and load balancing
- MCP gateway with tool federation and OAuth
- A2A gateway for agent-to-agent communication
- Inference routing for self-hosted models
- Guardrails and prompt guards with redaction
- JWT, OIDC, API key, and external authorization
- CEL-based RBAC policy engine
- Rate limiting and TLS/mTLS
- OpenTelemetry metrics, logs, and tracing
- Cost controls, virtual keys, and budget limits
- Built-in admin UI and LLM playground
- agctl CLI for live request tracing and config inspection
Integrations
Demo Video

