A gateway is a Docker host that runs agents on infrastructure you control. Each gateway is a self-contained runtime environment — agents, browsers, files, and daemons all live inside it.Documentation Index
Fetch the complete documentation index at: https://docs.yourhq.ai/llms.txt
Use this file to discover all available pages before exploring further.
Gateway container
Runs OpenClaw (agent runtime), Chrome/Chromium, XFCE desktop, noVNC (remote desktop), and the files API.
Dispatcher daemon
Watches for background work (task assignments, comment mentions, automations) and wakes the right agent.
Runner daemon
Executes lifecycle commands: provision, update, remove, provider auth, gateway operations.
Shared state volume
Holds OpenClaw config, the git repo, agent worktrees, browser profiles, desktop files, and auth state.
One workspace, many gateways
A single HQ workspace can have multiple gateways on different hosts. Each gateway registers itself in thegateways table with its reachable URLs, so the UI knows how to reach each one.
Agents are bound to a specific gateway via gateway_id. The dispatcher and runner only process work for agents on their own gateway — no gateway ever picks up another gateway’s work.
Adding a gateway
The recommended path is UI-driven:- Settings → Gateways → Add Gateway.
- Copy the generated installer command.
- Run it on the new host.