# Swarm UI The swarm's own web surface and the operator's day-to-day view: served by the gateway on the **swarm apex** (`services.hyperhive.swarm.domain`), readable only by operators. The per-hive dashboard, on each hive's own domain, covers host-level detail for one hive. ## What it shows | route | what | | ------------------------- | ------------------------------------------------------------------------------------------- | | `/` | the hive directory, each hive with its last reported status | | `/agents` | every agent: status, config PR, wanted state; create agents, link forge and matrix accounts | | `/agents//terminal` | one agent's live terminal | | `/jobs` | the controller's job graph — where agent creation and credential mints show progress | | `/issues` | a cross-repo issue report | Everything it shows comes from [`swarm-controller`](../../swarm-controller/README.md). An agent created here or with `swarmctl agent create` starts `paused`; set it `up` from its card. ### Linking external accounts Each agent on `/agents` opens two dialogs that write a credential for it into the swarm secret store through swarm-controller. Both are blind set/update actions: no route lists linked accounts or hands a token back. - **link a matrix account** — `PUT /api/hives/{hive}/agents/{agent}/matrix-accounts/{account}`, either a pasted bearer token or a user id + password that swarm-controller logs in with, storing the token it gets back. - **link a forge account** — `PUT /api/hives/{hive}/agents/{agent}/forge-accounts/{label}` with a forge URL and an access token, stored at `swarm/agents//forge/