Skip to main content
Agentgateway is a single binary written in Rust. Choose the installation method that fits your environment.
Building from source gives you the latest code and the ability to customize the build.

Requirements

Install Rust via rustup:
Install Node.js and npm via nodejs.org or your system package manager.

Clone the repository

Build the UI

Agentgateway ships with a built-in admin UI. Build it first so it can be embedded into the binary:

Build the binary

The compiled binary is placed at:
For faster incremental builds during development, use the quick-release profile:
This trades some optimization for faster compile times — suitable for development but not production.

Verify the installation

Running Agentgateway

Once installed, start the gateway by pointing it at a config file:
With no config file provided, Agentgateway starts with an empty configuration and exposes only the admin interface.

Admin UI

Agentgateway includes a built-in admin UI available at:
The UI lets you inspect the running configuration, browse connected backends, and view active listeners and routes — without restarting the process.
The admin interface listens on port 15000 by default. This is separate from your proxy listener port (e.g., 3000 in the basic example). Do not expose port 15000 publicly in production.

Environment variables

Next steps

Quickstart

Run the basic MCP proxy example end-to-end.

MCP Proxy Guide

Configure authentication, authorization, and observability for MCP.

Docker deployment

Production Docker deployment patterns and best practices.

Kubernetes deployment

Deploy Agentgateway on Kubernetes using the Gateway API.