For the complete documentation index, see llms.txt. Markdown versions of all docs pages are available by appending .md to any docs URL.
Binary
Verified : Automated tests passed for: Configuration files: The configuration files on this page were checked against their schema. End-to-end run: Every step ran in a fresh test environment and the results were checked.Install and run agentgateway as a standalone binary on your system.
To run agentgateway as a standalone binary, follow the steps to download, install, and configure the binary on your local machine or server.
Install the binary
Download and install
Get a license key for Solo Enterprise for agentgateway. If you do not have one, contact your account representative. The proxy refuses to start without a valid key. For the ways to supply the key and what happens when it expires, see Licensing. Export the key in the terminal that you start agentgateway from, so that the proxy finds it at startup.
export ENTERPRISE_AGENTGATEWAY_LICENSE_KEY=<license-key>Download and install the Solo Enterprise for agentgateway binaries. Keep in mind the following:
- Binary files: The installation script installs two binary files:
agentgatewayfor the proxy, andagentgateway-stsfor the STS server. You do not install the STS server separately. - Operating system: The binaries are built for Linux on
amd64andarm64, and for macOS onarm64. On an Intel Mac or on Windows, run agentgateway in a container instead. - Version: The installation script installs the latest version by default. To install a specific version, set the
AGENTGATEWAY_VERSIONenvironment variable to a release tag, such asv2026.11.0. - Location: The script installs the binaries in the
$HOME/.agentgateway/bindirectory. To install them somewhere else, set theAGENTGATEWAY_INSTALL_DIRenvironment variable in the same way asAGENTGATEWAY_VERSION.
To install the latest release:
curl -fsSL https://run.solo.io/agentgateway/install | shTo install a specific version, set the
AGENTGATEWAY_VERSIONenvironment variable to a release tag, such asv2026.11.0. The tag must start withv.curl -fsSL https://run.solo.io/agentgateway/install | AGENTGATEWAY_VERSION=v2026.11.0 sh- Binary files: The installation script installs two binary files:
The script does not change your
PATH. Add the installation directory to yourPATHso that you can run the commands in the following steps.Note
The default name for the binary is
agentgateway. If you previously had the upstreamagentgatewaybinary and want to keep using both upstream and enterprise binaries, rename one of them.export PATH=$HOME/.agentgateway/bin:$PATH
Verify the installation
Verify that the agentgateway binary is installed.
agentgateway --versionExample output with the latest release, 2026.11.0. The enterprise binary reports the release tag with a leading v, unlike the container image tag.
{
"version": "v2026.11.0",
"git_revision": "2baf2a51346f73bf16c5f5bee1bdefccab5da3bf",
"rust_version": "1.98.1",
"build_profile": "release",
"build_target": "aarch64-apple-darwin",
"crypto_backend": "aws-lc-rs",
"crypto_fips": false
}Run agentgateway
Run the binary with no arguments to start agentgateway with a generated configuration file.
agentgatewayAgentgateway creates a config.yaml file in your user config directory, which is $XDG_CONFIG_HOME/agentgateway if that variable is set and ~/.config/agentgateway otherwise. The generated file configures a default gateway on port 4000, attaches the UI to that gateway, and points agentgateway at a SQLite database in the same directory. The database powers the Analytics and Logs pages in the UI, and the other features that record data while agentgateway runs. For more information, see Database.
# yaml-language-server: $schema=https://docs.solo.io/agentgateway/standalone/latest/reference/configuration/config.json
config:
database:
url: sqlite:///home/example/.config/agentgateway/data.db
gateways:
default:
port: 4000
ui:
gateways: defaultAgentgateway does not overwrite an existing file, so a later run reuses the configuration from the first one.
To run a configuration file of your own instead, pass it with the -f option. For a runnable starting point, try this example configuration file. Agentgateway watches the file and reloads it when you change it, so you do not need to restart the process to change a route or a policy. For more information, see Update your configuration.
Note that agentgateway does not add a database to a file that you supply. To use the Analytics and Logs pages with your own file, add the config.database field yourself. For more information, see Database.
agentgateway -f config.yamlOpen the UI
The agentgateway UI is a built-in web interface that runs alongside the proxy. Use it to review the configuration that agentgateway loaded and to manage your gateways, routes, LLM providers, and MCP servers without restarting the process.
Where agentgateway serves the UI depends on which of the two previous commands you ran.
- Generated configuration: The generated file attaches the UI to the
defaultgateway, so the UI is served at http://localhost:4000/ui. - Your own configuration file: A file that has no
uisection serves the UI only on the admin interface, which defaults to http://localhost:15000/ui and is reachable only from this host. Add auisection that lists a gateway to serve the UI on a gateway port.


For more information, see Launch the UI.
Next steps
- Set up the UI to open, expose, and secure the web interface.
- Set up a database for the Analytics and Logs pages, and for API key budgets.
- Choose where configuration is stored.
- Update your configuration after agentgateway is running.
- Upgrade agentgateway to a new version.