# agentgateway/agentgateway

Next Generation Agentic Proxy for AI Agents and MCP servers

Repository: https://github.com/agentgateway/agentgateway
Canonical: https://ross.abutalabs.com/products/agentgateway
Homepage: https://agentgateway.dev
Language: Rust
License: Apache-2.0
License Family: permissive
Topics: agents, ai, mcp, rust, ai-gateway, gateway-api, kubernetes, mcp-gateway, reverse-proxy, service-mesh, api-gateway
Last push: 2026-08-26T22:27:02+00:00

## Health v2 (maintenance only)
Score: 81/100 (v2, computed 2026-09-03T02:39:23.370411+00:00)
- activity 99, release rhythm 83, longevity 38
- inputs: {"age_days": 533, "days_push": 7, "days_rel": 35, "gap_med": 2.0, "n_releases_24m": 91}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 4563, forks 770 (observed 2026-08-28T04:08:53.322184+00:00)

## What it is
Agentgateway is an open-source, Rust-based proxy and gateway for agentic AI traffic, handling LLM provider routing, MCP tool servers, and A2A agent-to-agent communication alongside traditional HTTP, gRPC, and TCP traffic in one data plane. It can run as a standalone binary or as a Kubernetes Gateway API data plane with a built-in control plane, offering security, observability, and cost governance.

## Use cases
- proxy LLM requests to OpenAI, Anthropic, Gemini, and Bedrock through one OpenAI-compatible API
- expose and federate MCP tool servers to AI clients with OAuth and authorization
- secure and observe agent-to-agent (A2A) communication
- enforce LLM spend budgets, rate limits, and prompt guardrails
- load balance and fail over across multiple LLM providers
- route inference requests to self-hosted model pools on Kubernetes
- front regular APIs and microservices with the same gateway used for AI traffic

## When to choose
- you need a single gateway for both traditional service traffic and AI-native protocols (MCP, A2A, LLM providers)
- you run Kubernetes and want Gateway API / Inference Extension integration
- you need enterprise features like mTLS, OIDC, multi-tenancy, and cost attribution for agent workloads
- you want tool federation and policy enforcement in front of MCP servers

## When to avoid
- you only need a simple reverse proxy with no AI-specific routing or policy needs
- you want a lightweight client-side SDK rather than an infrastructure gateway
- your stack has no Kubernetes or container deployment capability and you need a managed SaaS gateway

## Facets
- artifact type: service
- maturity: active
- function: api-gateway, proxy, llm-inference, mcp, agent-framework, rate-limiting, auth, authorization, monitoring, middleware, routing, websocket, rpc
- domain: artificial-intelligence, large-language-models, apis, microservices, cloud-computing, security, networking, self-hosted
- platform: rust, self-hosted, cloud, cli, cross-platform
- tags: mcp-gateway, a2a, llm-gateway, gateway-api, inference-routing, service-mesh, openai-compatible, ai-gateway, traffic-management, cost-controls, ai-agents, kubernetes, docker

## Member repositories
- agentgateway/agentgateway (main) score 81

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:53.322184+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:19:59.541922+00:00, confidence not recorded.
  - readme: https://github.com/agentgateway/agentgateway (fetched 2026-08-28T04:08:53.322184+00:00, sha 5b9a2d3a8efa)
  - homepage: https://agentgateway.dev (fetched 2026-08-29T09:05:36.640929+00:00, sha 0157c7e0a00f)
  - site_page: https://agentgateway.dev/docs (fetched 2026-08-29T09:05:36.650537+00:00, sha 0b764c093c29)
  - site_page: https://agentgateway.dev/docs/standalone/latest (fetched 2026-08-29T09:05:36.652399+00:00, sha 14a001b7abf6)
  - site_page: https://agentgateway.dev/docs/kubernetes/latest (fetched 2026-08-29T09:05:36.655276+00:00, sha 46bc9ce247b1)
  - site_page: https://agentgateway.dev/docs/standalone/latest/llm (fetched 2026-08-29T09:05:36.668964+00:00, sha 448807e605ab)
  - site_page: https://agentgateway.dev/docs/kubernetes/latest/llm (fetched 2026-08-29T09:05:36.671837+00:00, sha 0b46d6bbdb5b)
  - site_page: https://agentgateway.dev/docs/standalone/latest/inference (fetched 2026-08-29T09:05:36.674392+00:00, sha 3e913456e376)
  - site_page: https://agentgateway.dev/docs/kubernetes/latest/inference (fetched 2026-08-29T09:05:36.677314+00:00, sha 9807b5e34517)
  - site_page: https://agentgateway.dev/docs/standalone/latest/mcp (fetched 2026-08-29T09:05:36.679758+00:00, sha 446cde6a285e)
- Data as of 2026-08-30T08:39:29.467469+00:00.
