Retrieved article excerpt
Open article · Retrieved 2026-10-18T12:22:46.044264+00:00
[Docs](https://agentgateway.dev/docs/)
[Standalone](https://agentgateway.dev/docs/standalone/latest/)
[Kubernetes](https://agentgateway.dev/docs/kubernetes/latest/)
[Models](https://agentgateway.dev/models)
[Blog](https://agentgateway.dev/blog)
[Enterprise](https://agentgateway.dev/enterprise)
[Community](https://discord.gg/y9efgEmppm)
[@agentgateway](https://x.com/agentgateway)
[Get Started](https://agentgateway.dev/#getting-started)
[GitHub](https://github.com/agentgateway/agentgateway)
# agentgateway agentgateway agentgateway
One high-performance gateway for service, LLM, and MCP traffic.
An open source HTTP and gRPC gateway that handles traditional application traffic and AI-native protocols in one data plane. Route, secure, observe, and govern services, LLM provider traffic, MCP tools, and agent-to-agent communication without stitching together separate gateways.
[Get Started →](https://agentgateway.dev/#getting-started)[See it in action](https://www.youtube.com/@soloio_inc/search?query=agentgateway)[View on GitHub](https://github.com/agentgateway/agentgateway)[Discord](https://discord.gg/y9efgEmppm)
# Install the agentgateway binary
$ `curl -sL https://agentgateway.dev/install | bash`
Copy
### LLM Gateway
Route to OpenAI, Claude, Gemini, or any self-hosted model with credentialing and failover.
MCP
### MCP / A2A
Native protocol support for Model Context Protocol and agent-to-agent traffic.
### APIs & Services
HTTP, gRPC, and TCP traffic — observable by default with mTLS and OIDC built in.
SOURCES · CLIENTSAGENTGATEWAY · CONTROL PLANEDESTINATIONS · MODELS & AGENTSCLI / IDEAI agentsApps & clientsLLM GatewayMCP / A2AAPIs & ServicesTraffic ManagementLLM GatewayInference RoutingMCP / A2A gatewayagentgatewayREQUEST · INBOUNDROUTE·SECURE·OBSERVE·GOVERN·COSTRESPONSE · OUTBOUND
Swipe to explore →
Contributing Companies
AAIFAAIF
Solo.ioSolo.io
MicrosoftMicrosoft
AlibabaAlibaba
AdobeAdobe
AWSAWS
CiscoCisco
SalesforceSalesforce
HuaweiHuawei
AmdocsAmdocs
iFlytekiFlytek
AAIFAAIF
Solo.ioSolo.io
MicrosoftMicrosoft
AlibabaAlibaba
AdobeAdobe
AWSAWS
CiscoCisco
SalesforceSalesforce
HuaweiHuawei
AmdocsAmdocs
iFlytekiFlytek
## Everything you need for agent traffic — in one binary.
One control plane for service traffic, LLM routing, MCP, A2A, and inference — with the policy, observability, and cost controls that a platform team actually trusts.
ROUTE
SECURE
OBSERVE
GOVERN
COST
### ROUTE
One data plane for HTTP, gRPC, and TCP services, every major LLM provider, self-hosted inference, and the MCP and A2A protocols your agents speak.
Service Gateway
Run any north–south or east–west traffic through a single binary. Zero-config TLS, OIDC, mTLS-rotation, native Envoy compatibility for those who want it.
HTTP/2gRPCmTLSTLS-1.3
[Standalone docs →](https://agentgateway.dev/docs/standalone/latest/)[Kubernetes docs →](https://agentgateway.dev/docs/kubernetes/latest/)
LLM Gateway
Drop-in OpenAI-compatible API in front of OpenAI, Anthropic, Bedrock, Gemini, Vertex, and OSS Llama runs — with token budgets, semantic caching, and prompt redaction.
OpenAIAnthropicBedrockGeminiVertex
[Standalone docs →](https://agentgateway.dev/docs/standalone/latest/documentation/llm/)[Kubernetes docs →](https://agentgateway.dev/docs/kubernetes/latest/documentation/llm/)
Inference Routing
Latency-aware, cost-aware, model-aware routing for self-hosted inference. Plug-in vLLM, TGI, Triton; agentgateway picks the warmest replica.
vLLMTGITriton
[Standalone docs →](https://agentgateway.dev/docs/standalone/latest/documentation/inference/)[Kubernetes docs →](https://agentgateway.dev/docs/kubernetes/latest/documentation/inference/)
MCP Gateway
Treat MCP servers like microservices: discover them, sign and scope every tool call, and keep an audit trail of what agents invoked.
DiscoveryVersioningAudit
[Standalone docs →](https://agentgateway.dev/docs/standalone/latest/documentation/mcp/)[Kubernetes docs →](https://agentgateway.dev/docs/kubernetes/latest/documentation/mcp/)
A2A Gateway
Route agent-to-agent invocations between LangChain, CrewAI, ADK, and your own runtime, with identity and tracing on every hop.
LangChainCrewAIADKIdentity
[Standalone docs →](https://agentgateway.dev/docs/standalone/latest/documentation/agent/a2a/)[Kubernetes docs →](https://agentgateway.dev/docs/kubernetes/latest/documentation/agent/a2a/)
LLM Playground
Try a route before you ship it: pick a model, send a prompt from the admin UI, and see which backend actually served the request.
Admin UIPick a modelCompare
[Standalone docs →](https://agentgateway.dev/docs/standalone/latest/documentation/llm/playground/)
### SECURE
Authenticate, authorize, and redact on every hop — not just at the edge.
Security & Policy
The policy layer itself: what attaches where, how rules merge, and how a decision is reached on every hop — with tamper-evident audit logs.
PoliciesAttachmentAuditPII-shield
[Standalone docs →](https://agentgateway.dev/docs/standalone/latest/documentation/configuration/security/)[Kubernetes docs →](https://agentgateway.dev/docs/kubernetes/latest/documentation/security/)
JWT & OIDC
Validate JWTs at the edge and pull claims into routing and authorization decisions, or hand off a full OIDC login flow for browser traffic.
JWTOIDCClaimsJWKS
[Standalone docs →](https://agentgateway.dev/docs/standalone/latest/documentation/configuration/security/jwt-authn/)[Kubernetes docs →](https://agentgateway.dev/docs/kubernetes/latest/documentation/security/jwt/)
API Keys & Basic Auth
Issue and rotate API keys per consumer, or fall back to basic auth for internal tooling that cannot speak OIDC.
API keysBasic authRotation
[Standalone docs →](https://agentgateway.dev/docs/standalone/latest/documentation/configuration/security/apikey-authn/)[Kubernetes docs →](https://agentgateway.dev/docs/kubernetes/latest/documentation/security/apikey/)
External Authorization
Delegate the allow/deny call to your own service over gRPC or HTTP, so existing entitlement logic stays where it already lives.
ext\_authzgRPCHTTP
[Standalone docs →](https://agentgateway.dev/docs/standalone/latest/documentation/configuration/security/external-authz/)[Kubernetes docs →](https://agentgateway.dev/docs/kubernetes/latest/documentation/security/extauth/)
Request Authorization
Express allow/deny rules over method, path, headers, and JWT claims — evaluated per hop, on both HTTP and network listeners.
RBACCELNetwork authz
[Standalone docs →](https://agentgateway.dev/docs/standalone/latest/documentation/configuration/security/http-authz/)[Kubernetes docs →](https://agentgateway.dev/docs/kubernetes/latest/documentation/security/)
MCP Auth
Authenticate callers into MCP servers and scope which tools each identity may invoke, so an agent cannot reach past its mandate.
MCP authnMCP authzTool scoping
[Standalone docs →](https://agentgateway.dev/docs/standalone/latest/documentation/configuration/security/mcp-authn/)[Kubernetes docs →](https://agentgateway.dev/docs/kubernetes/latest/documentation/mcp/auth/)
TLS & mTLS
Terminate TLS at the listener and originate verified TLS or mTLS to every backend, with certificate rotation handled for you.
TLS 1.3mTLSBackend TLS
[Standalone docs →](https://agentgateway.dev/docs/standalone/latest/documentation/configuration/security/backend-tls/)[Kubernetes docs →](https://agentgateway.dev/docs/kubernetes/latest/documentation/security/backendtls/)
CORS & CSRF
Browser-facing protections for gateways that serve web apps directly: origin allow-lists and CSRF token enforcement.
CORSCSRFOrigins
[Standalone docs →](https://agentgateway.dev/docs/standalone/latest/documentation/configuration/security/cors/)[Kubernetes docs →](https://agentgateway.dev/docs/kubernetes/latest/documentation/security/cors/)
Rate Limiting
Local and global rate limits keyed on any request attribute, to blunt abuse and protect backends from a runaway agent loop.
LocalGlobalPer-key
[Standalone docs →](https://agentgateway.dev/docs/standalone/latest/documentation/configuration/resiliency/rate-limits/)[Kubernetes docs →](https://agentgateway.dev/docs/kubernetes/latest/documentation/security/rate-limit-http/)
### OBSERVE
Know exactly what happened on every request, and debug it without a restart.
Observability
OpenTelemetry by default. Token-usage histograms on Prometheus, traces in Jaeger, and request logs with status, latency, and token counts — each carrying the realized USD cost.
OTELPrometheusJaegerToken metrics
[Standalone docs →](https://agentgateway.dev/docs/standalone/latest/documentation/llm/observability/)[Kubernetes docs →](https://agentgateway.dev/docs/kubernetes/latest/documentation/llm/observability/)
agctl CLI
See what a proxy actually loaded, without a restart. `proxy trace` taps live requests into an interactive terminal view, `proxy config` dumps runtime state, and log levels change on the fly.
proxy traceproxy configlog levelsshell completion
[Standalone docs →](https://agentgateway.dev/docs/standalone/latest/documentation/operations/agctl/)[Kubernetes docs →](https://agentgateway.dev/docs/kubernetes/latest/documentation/operations/agctl/)
LLM Playground
Fire test prompts at a provider straight from the admin UI and watch routing, policy, and token accounting play out on a real request.
Admin UITest promptsLive traffic
[Standalone docs →](https://agentgateway.dev/docs/standalone/latest/documentation/llm/playground/)
### GOVERN
Decide what each caller may invoke, inspect what flows through, and know how overlapping rules resolve.
Tool Access Policies
Decide which tools on which MCP targets a caller may reach, and rewrite or restrict what the server exposes downstream.
Target policiesTool scopingRewrites
[Standalone docs →](https://agentgateway.dev/docs/standalone/latest/documentation/mcp/mcp-target-policies/)[Kubernetes docs →](https://agentgateway.dev/docs/kubernetes/latest/documentation/mcp/mcp-access/)
MCP Guardrails
Inspect tool calls and responses in flight, blocking prompt injection and unsafe payloads before they reach an agent or a server.
InjectionContent checksBlocking
[Standalone docs →](https://agentgateway.dev/docs/standalone/latest/documentation/mcp/guardrails/)[Kubernetes docs →](https://agentgateway.dev/docs/kubernetes/latest/documentation/mcp/guardrails/)
Prompt Guards
Pattern and model-based checks on LLM prompts and completions, with redaction for anything that should never leave your estate.
RedactionPIIRegexModeration
[Standalone docs →](https://agentgateway.dev/docs/standalone/latest/documentation/llm/prompt-guards/)[Kubernetes docs →](https://agentgateway.dev/docs/kubernetes/latest/documentation/llm/guardrails/)
Policy Attachment
Where a policy binds — gateway, listener, route, or backend — and how overlapping rules merge into one decision per request.
AttachmentMergingConditional
[Standalone docs →](https://agentgateway.dev/docs/standalone/latest/documentation/configuration/policies/attachment/)[Kubernetes docs →](https://agentgateway.dev/docs/kubernetes/latest/documentation/about/)
### COST
Attribute, price, and cap what your agents spend.
Cost Controls
Spend control in three stages: attribute it, price it, then enforce it — before the invoice is the first place you find out.
AttributePriceEnforce
[Standalone docs →](https://agentgateway.dev/docs/standalone/latest/documentation/llm/cost-controls/)[Kubernetes docs →](https://agentgateway.dev/docs/kubernetes/latest/documentation/llm/cost-controls/)
Budget & Spend Limits
Hard caps per key or team: cut off token consumption and dollar spend once a limit is hit, rather than alerting after the fact.
Token capsDollar limitsPer-team
[Standalone docs →](https://agentgateway.dev/docs/standalone/latest/documentation/llm/cost-controls/budget-limits/)[Kubernetes docs →](https://agentgateway.dev/docs/kubernetes/latest/documentation/llm/cost-controls/budget-limits/)
Virtual Keys
Issue scope