agentgateway is a free, open source api development & testing project written in Rust and released under Apache-2.0. It has 4,895 GitHub stars, 853 forks and 258 open issues, and was last pushed 5 hours ago. On this registry it ranks #49 of 103 tracked projects in API Development & Testing, with 5 head-to-head comparisons available. It gained 28 stars over the last 3 tracked days.

What is agentgateway?

What it is

Agentgateway is an open source proxy written in Rust and licensed under Apache-2.0. It is a next generation agentic proxy for AI agents and MCP servers, and it operates inside the Developer Tools, API gateway, Kubernetes, service mesh, and AI gateway ecosystem. The project is built on the MCP and A2A protocols.

The concrete problem it addresses is the need to secure, observe, and govern traffic between agents, tools, models, and external services. Agent-to-LLM, agent-to-tool, and agent-to-agent communication can be spread across frameworks and environments, which makes routing, authentication, policy, and observability harder to manage. Agentgateway presents itself as a drop-in proxy for those connections.

Key capabilities

  • LLM Gateway routes traffic to OpenAI, Anthropic, Gemini, and Bedrock through a unified OpenAI-compatible API with budget controls, prompt enrichment, load balancing, and failover.
  • MCP Gateway connects LLMs to tools and external data sources through MCP, with tool federation, stdio, HTTP, SSE, Streamable HTTP transports, OpenAPI integration, and OAuth authentication.
  • A2A Gateway enables secure agent-to-agent communication using A2A, with capability discovery, modality negotiation, and task collaboration.
  • Inference Routing sends requests to self-hosted models using Kubernetes Inference Gateway extensions, based on GPU utilization, KV cache, LoRA adapters, and queue depth.
  • Guardrails provide content filtering through regex, OpenAI moderation, AWS Bedrock Guardrails, Google Model Armor, and custom webhooks.
  • Security and observability include JWT, API keys, OAuth, RBAC with CEL policy engine, rate limiting, TLS, and OpenTelemetry metrics, logs, and tracing.
  • The project includes a built-in UI for exploring agent-to-agent or agent-to-tool connections.

Who uses it and how

  • Agent developers route model traffic through the LLM Gateway and apply budget and spend controls.
  • Platform teams expose tools and external data sources to LLMs through the MCP Gateway, using stdio, HTTP, SSE, or Streamable HTTP transports.
  • Kubernetes operators deploy agentgateway with the built-in controller and Gateway API to manage agentic traffic.
  • Teams without a full Kubernetes controller use standalone deployment driven by flat YAML configuration.
  • Developers and operators use the built-in UI to inspect agent-to-agent or agent-to-tool connections.

Getting started

Typical start paths are the standalone quickstart for flat YAML configuration and the Kubernetes quickstart for deployment with the built-in controller and Gateway API.

When to use it — and when not to

Use agentgateway when you want an open source Rust proxy for MCP, A2A, LLM routing, guardrails, and Kubernetes Gateway API workloads. Avoid it when you need a long production track record, because the repository is about one year old, has 258 open issues, and lists no contributor count. The supplied material does not mention paid products it replaces, Docker image names, package managers, or required database, storage, or SMTP services.

project readme (upstream, from github) — read inline
agentgateway License: Apache 2.0 Stars Discord Latest Release Ask DeepWiki Open in Github Codespaces
The <strong>first complete</strong> connectivity solution for Agentic AI.

Agentgateway is an open source proxy built on AI-native protocols (MCP & A2A) that provides drop-in security, observability, and governance for agent-to-LLM, agent-to-tool, and agent-to-agent communication across any framework and environment.



Intro to Agentgateway Video


Agentgateway Intro Video

Key Features

  • LLM Gateway
    Route traffic to major LLM providers (OpenAI, Anthropic, Gemini, Bedrock, and more) through a unified OpenAI-compatible API with budget and spend controls, prompt enrichment, load balancing, and failover.

  • MCP Gateway
    Connect LLMs to tools and external data sources via MCP with tool federation, stdio/HTTP/SSE/Streamable HTTP transports, OpenAPI integration, and OAuth authentication.

  • A2A Gateway
    Enable secure agent-to-agent communication using A2A, with capability discovery, modality negotiation, and task collaboration.

  • Inference Routing
    Intelligent routing to self-hosted models using Kubernetes Inference Gateway extensions, with decisions based on GPU utilization, KV cache, LoRA adapters, and queue depth.

  • Guardrails
    Multi-layered content filtering with regex, OpenAI moderation, AWS Bedrock Guardrails, Google Model Armor, and custom webhooks.

  • Security & Observability
    Auth (JWT, API keys, OAuth), fine-grained RBAC with CEL policy engine, rate limiting, TLS, and OpenTelemetry metrics/logs/tracing.


Getting Started

Documentation

Depending on your deployment environment, check out the following docs:

Agentgateway has a built-in UI for you to explore agentgateway connecting agent-to-agent or agent-to-tool:

Sponsors

Thank you to our sponsors for helping to fund the development of agentgateway!

Contributing

For instructions on how to contribute to the agentgateway project, see the CONTRIBUTION.md file.

Community Meetings

To join a community meeting, add the agentgateway calendar to your Google account. Then, you can find event details on the calendar.

Recordings of the community meetings will be published on our google drive.

Roadmap

agentgateway is currently in active development. If you'd like a feature that's missing, open an issue in our GitHub repo.

Contributors

Thanks to all contributors who are helping to make agentgateway better.


Agentgateway is a Linux Foundation project.

Frequently asked questions

Is agentgateway free to use?

agentgateway is open source under the Apache-2.0 licence. There is no licence fee and no seat count — you can self-host it or, where the project offers one, pay a vendor for a managed version instead.

What does agentgateway do?

Next Generation Agentic Proxy for AI Agents and MCP servers

What is agentgateway written in?

agentgateway is primarily written in Rust. Its source is publicly available at https://github.com/agentgateway/agentgateway, and it has 4,895 GitHub stars.