Hives

A hive is one host running hive-c0re and its agent containers. This section is for the operator of that host: the per-hive dashboard, the hivectl CLI and the operator/agent trust boundary on the host. For what the whole swarm shares, see the swarm UI instead.

For swarmctl, the swarm operator's CLI, see swarmctl-cli.md. The tool surface agents get inside their containers is in 4-implementation/agent-tools/.

Where things are

Everything starts at the dashboard, served at /. A pages menu (the link icon beside the profile avatar, at the right of the tab strip) links to the other surfaces: the API docs and the swarm UI.

The dashboard is a single page with these tabs:

Each agent also serves a small web server, with its stats and screen pages: open /agent/<name>/ (or http://<host>:<port>/ if the gateway isn't in front). The agent's web server covers it. To watch an agent work, use its terminal in the swarm UI.

The things you do here

Check on an agent. 4G3NTS shows every container as a row: name, whether it's running, what it's doing (a live status pill such as rebuilding… or starting… while something's in flight), and quick links (stats, screen). Open the agent in the swarm UI to watch it work.

Review a config change. Agent config changes (new packages, env vars, MCP servers) are pull requests on the agent's agent-configs repo. Review and merge them on the forge; the merge deploys the change. See persistence.md.

Start, stop, restart or rebuild an agent. Select one or more agents on 4G3NTS (select the icon) and use the selection bar, or use the per-agent ⋮ menu on a single row. Rebuilding downloads and applies the closure the swarm declares for the agent again. The hive applies a changed declaration itself, so use it to retry one that failed.

Watch a build. The R3BU1LD QU3U3 tab shows the rebuild queue live, plus a streaming log of whatever's building. Useful right after merging a config change or bumping a flake input.

Grant or revoke a permission. Not on the hive dashboard: an agent's permissions live in the swarm. Set them with swarmctl agent permissions, or on the swarm UI's create-agent screen when creating the agent; see 5-project/process/conventions.md.

Read an agent's logs. Logs aren't in the hive dashboard. Every hive ships its agents', daemons' and infra containers' journals to the swarm's VictoriaLogs; read them in Grafana's Explore, as swarm/services.md says.

Set up a schedule. Scheduled prompts are swarm-level: set them with swarmctl schedule (swarm/schedules.md) or in the schedules card on the swarm UI's swarm page (swarm-ui.md).

More depth

The dashboard is a single-page app: GET / returns a static shell, /api/state returns JSON, and JavaScript renders, with no full-page reloads.

For the code, these jump straight to the relevant section: