Running the workbench

August 29, 2026 · View on GitHub

agents-server is the Go-native agent workbench: one binary, your data, run by you. This page gets it running; deployment and authentication take it further, and the wire protocol documents its API surface.

Grab a prebuilt binary for your platform from the Releases page, or build from source. The web UI is compiled into the binary via go:embed, and the built internal/web/frontend/dist is not checked in — so a source build must build the frontend first; make build does both (npm required):

cd cmd/agents-server
make build          # npm install + build the SPA, then go build with it embedded
./agents-server --port 9527

On startup the server prints an auto-generated auth token. Open http://127.0.0.1:9527 to access the web UI.

Flags

The ones you reach for first:

FlagDefaultDescription
--host127.0.0.1Bind address (use 0.0.0.0 for LAN access)
--port9527HTTP listen port
--dbdata.dbSQLite file path, or a postgres:// / postgresql:// DSN
--tokenautoAuth token; randomly generated when omitted (or env AGENTS_TOKEN)
--authtokentoken (single static token) or oauth (per-user login — see OAuth mode)
--log-levelinfodebug, info, warn or error

agents-server --help lists every flag. For the full picture — all flags, the AGENTS_* environment variables, and the runtime settings tuned live in the UI, each with the rule for which plane it lives on — see Configuration reference.