agentgateway

module
v1.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 27, 2026 License: Apache-2.0

README

agentgateway
The first complete 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.


agentgateway UI

Intro to Agentgateway 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:

agentgateway UI

Sponsors

Blacksmith

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.


Linux Foundation logo

Agentgateway is a Linux Foundation project.

Directories

Path Synopsis
api module
controller
api/v1alpha1/agentgateway
+k8s:openapi-gen=true +kubebuilder:object:generate=true +groupName=agentgateway.dev +versionName=v1alpha1
+k8s:openapi-gen=true +kubebuilder:object:generate=true +groupName=agentgateway.dev +versionName=v1alpha1
cmd/agctl command
hack command
hack/crdgen command
hack/testbox command
hack/utils/jwt command
pkg/agentgateway/jwks/mocks
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
pkg/client/clientset/versioned/fake
This package has the automatically generated fake clientset.
This package has the automatically generated fake clientset.
pkg/client/clientset/versioned/scheme
This package contains the scheme of the automatically generated clientset.
This package contains the scheme of the automatically generated clientset.
pkg/client/clientset/versioned/typed/v1alpha1/agentgateway
This package has the automatically generated typed clients.
This package has the automatically generated typed clients.
pkg/client/clientset/versioned/typed/v1alpha1/agentgateway/fake
Package fake has the automatically generated clients.
Package fake has the automatically generated clients.
pkg/logging
Portions of this file are derived from the slog-leveler project (https://github.com/shashankram/slog-leveler) which is licensed under the MIT License.
Portions of this file are derived from the slog-leveler project (https://github.com/shashankram/slog-leveler) which is licensed under the MIT License.
pkg/metrics
Package metrics provides types for collecting and reporting metrics.
Package metrics provides types for collecting and reporting metrics.
pkg/metrics/cmd/findmetrics command
Generate a list of all metrics defined in project source files.
Generate a list of all metrics defined in project source files.
pkg/metrics/metricstest
Package metricstest provides utilities for testing metrics.
Package metricstest provides utilities for testing metrics.
tools module

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL