diff --git a/README.md b/README.md index 0c2c5208..56c49373 100644 --- a/README.md +++ b/README.md @@ -21,16 +21,21 @@ the substrate. host (NixOS, runs hive-c0re.service) │ ├── operator -│ ├── browser → :7000 hive-c0re dashboard -│ ├── browser → :8100-8999 per-agent web UIs (all agents, FNV-1a hash) +│ ├── browser → :80 (hive-gateway) dashboard + per-agent UIs +│ │ /agent// → per-agent unix socket │ └── CLI → /run/hyperhive/host.sock admin protocol │ ├── hive-c0re (Rust daemon: lifecycle / broker / approvals / │ auto-update / dashboard / sockets) │ -└── nixos-containers - ├── hm1nd manager agent (privileged MCP surface) - └── h- sub-agent (vanilla MCP surface + per-agent extras) +├── optional containers +│ ├── hive-gateway nginx — proxies :80 → c0re dashboard + per-agent sockets +│ ├── hive-forge Forgejo — per-agent accounts, config mirror (agent-configs/) +│ └── hive-matrix tuwunel — Matrix homeserver + per-agent accounts +│ +└── agent containers + ├── h-ruth manager (privileged MCP surface, approval gating) + └── h- sub-agent (claude + MCP tools + per-agent web UI + unix socket) ``` Depth lives in [`docs/`](docs/) — pick the one matching your task: diff --git a/branding/component-diagram.svg b/branding/component-diagram.svg new file mode 100644 index 00000000..dda6b476 --- /dev/null +++ b/branding/component-diagram.svg @@ -0,0 +1,398 @@ + + hyperhive — component diagram + Architecture diagram: host machine running hive-c0re, optional service containers (gateway, forge, matrix), and agent containers (manager + sub-agents) communicating over unix sockets and a sqlite broker. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + HOST (NixOS) + + + + + OPERATOR + browser + + CLI + + + + + + + + hive-c0re + + lifecycle · broker · approvals + auto-update · dashboard + sockets · rebuild-queue + + :7000 · /run/hyperhive/host.sock + /run/hyperhive/agent-*.sock + + + + + + + + hive-gateway + + nginx container · :80 + /agent/<name>/ → unix sock + forge.<domain> vhost + + + + + + hive-forge + + Forgejo · :3000 + per-agent accounts + tokens + agent-configs/ mirror + + + + + + hive-matrix + + tuwunel Matrix server + per-agent accounts + federation enabled + + + + + + + + h-ruth + + manager agent + privileged MCP surface + approval gating + config proposals + unix sock + web UI + + + + + + h-iris + + sub-agent + claude + MCP tools + send/recv/ask + bash tasks + unix sock + web UI + + + + + + h-damocles + + sub-agent + claude + MCP tools + NixOS plumbing + harness ergonomics + unix sock + web UI + + + + + + h-<name> + + ··· + any number of agents + + + + + + + :80 + + + + :7000 + + + + + + + config mirror + + + + + + + manager sock + + + + + + + + + + + + sqlite broker + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + LEGEND + + + + + unix sockets (control) + + + + broker messages + + + + HTTP / web proxy + + + + config / git + + + + Matrix homeserver + + + + optional / many + + optional containers dashed + + + + + hyperhive — identity = unix socket · communication = broker · config = git + + +