<img alt="agentgateway" src="https://raw.githubusercontent.com/agentgateway/agentgateway/refs/heads/main/img/banner-light.svg">
<a href="https://opensource.org/licenses/Apache-2.0">
<img src="https://img.shields.io/badge/License-Apache2.0-brightgreen.svg?style=flat" alt="License: Apache 2.0">
</a>
<a href="https://github.com/agentgateway/agentgateway">
<img src="https://img.shields.io/github/stars/agentgateway/agentgateway.svg?style=flat&logo=github&label=Stars" alt="Stars">
</a>
<a href="https://discord.gg/BdJpzaPjHv">
<img src="https://img.shields.io/discord/1346225185166065826?style=flat&label=Join%20Discord&color=6D28D9" alt="Discord">
</a>
<a href="https://github.com/agentgateway/agentgateway/releases">
<img src="https://img.shields.io/github/v/release/agentgateway/agentgateway?style=flat&label=Latest%20Release&color=6D28D9" alt="Latest Release">
</a>
<a href="https://deepwiki.com/agentgateway/agentgateway"><img src="https://deepwiki.com/badge.svg" alt="Ask DeepWiki"></a>
<a href='https://codespaces.new/agentgateway/agentgateway'>
<img src='https://github.com/codespaces/badge.svg' alt='Open in Github Codespaces' style='max-width: 100%;' height="20">
</a>
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.
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.
Connect LLMs to tools and external data sources via MCP with tool federation, stdio/HTTP/SSE/Streamable HTTP transports, OpenAPI integration, and OAuth authentication.
Enable secure agent-to-agent communication using A2A, with capability discovery, modality negotiation, and task collaboration.
Intelligent routing to self-hosted models using Kubernetes Inference Gateway extensions, with decisions based on GPU utilization, KV cache, LoRA adapters, and queue depth.
Multi-layered content filtering with regex, OpenAI moderation, AWS Bedrock Guardrails, Google Model Armor, and custom webhooks.
Auth (JWT, API keys, OAuth), fine-grained RBAC with CEL policy engine, rate limiting, TLS, and OpenTelemetry metrics/logs/tracing.
Depending on your deployment environment, check out the following docs:
agentgateway/agentgateway GitHub project.Agentgateway has a built-in UI for you to explore agentgateway connecting agent-to-agent or agent-to-tool:

|
|
Thank you to our sponsors for helping to fund the development of agentgateway!
For instructions on how to contribute to the agentgateway project, see the CONTRIBUTION.md file.
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.
agentgateway is currently in active development. If you'd like a feature that's missing, open an issue in our GitHub repo.
Thanks to all contributors who are helping to make agentgateway better.
<img src="https://github.com/agentgateway/agentgateway/raw/v1.3.1/img/lf-stacked-color.png" width="300" alt="Linux Foundation logo"/>
Agentgateway is a Linux Foundation project.
$ claude mcp add agentgateway \
-- python -m otcore.mcp_server <graph>