selfhost.directory

The index of self-hostable projects — ranked, categorized and served with live updates.
Own your data and stop giving it to big tech.

agentgateway logo

Self-host agentgateway

v1.7.0

AI-native gateway for LLM, MCP and agent traffic

ReleaseOpen SourceApache-2.0
docker run -d --name agentgateway --user "$(id -u):$(id -g)" -v "$PWD/agentgateway-config:/config" -p 4000:4000 cr.agentgateway.dev/agentgateway:v1.6.0
Updated2 weeks ago
LanguageRust
Setup difficultyEasy
Stars
6 180
Ports
4000 (Default gateway port; the UI is served on it when attached to that gateway), 15000 (Admin interface, loopback-only by default)
Docker
cr.agentgateway.dev/agentgateway
agentgateway admin UI landing page, light themeagentgateway admin UI landing page, dark theme

What is agentgateway?

Should you self-host agentgateway?

agentgateway scores 76/100 on selfhost.directory (how scoring works) and ranks #3 of 38 in API Gateway. It has 6 180 GitHub stars, +903 in the last 30 days.

It shipped 9 stable releases in the past year. The latest, v1.7.0, came out on 27 October 2026. New versions land roughly every 4 weeks.

Setup is easy: most people get it running in one sitting. An official Docker image is available. It is Apache-2.0-licensed and written mostly in Rust.

Its closest alternative on selfhost.directory is OmniRoute (88/100, 87 254 stars). It scores higher overall, so compare the two before you pick. See agentgateway vs OmniRoute side by side.

Features

  • A2A agent-to-agent gateway
  • Authentication and authorization
  • Built-in admin UI
  • Cost and budget controls
  • Dynamic configuration updates
  • Guardrails / content filtering
  • Inference Routing
  • LLM Gateway
  • LLM Playground
  • MCP gateway with tool federation
  • Observability
  • Rate Limiting
  • Service gateway (HTTP, gRPC, TCP)
  • TLS and mTLS

agentgateway 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

How to install agentgateway

Install agentgateway with Docker

mkdir agentgateway-config
docker run -d \
  --name agentgateway \
  --user "$(id -u):$(id -g)" \
  -v "$PWD/agentgateway-config:/config" \
  -p 4000:4000 \
  cr.agentgateway.dev/agentgateway:v1.6.0

Generates a default config.yaml and SQLite database in the mounted /config directory; UI at http://localhost:4000/ui.

How to configure agentgateway

  • config.database.urlDatabase connection URL for the analytics, logs and UI storage; a postgres:// or postgresql:// URL selects PostgreSQL, anything else is a SQLite file path.

    values: sqlite://... or postgres://...

  • replicaCount
  • podDisruptionBudget.enabled
  • monitoring.enabled
  • extraEnv

agentgateway releases & version history

@ Every self-hosted release, weekly

One Monday email with the week's stable releases across the directory.

More in API Gateway

Rate this project

Click to rate — no account needed.

0 comments

Posting as guest
Loading comments…