Watch
0
0
Fork
You've already forked hyperhive
0

add a default archetype, preselected by the clients

This commit is contained in:
atlas 2026-11-27 17:41:52 +01:00 • committed by mara
commit 8f7c45d40f

View file

@ -239,21 +239,23 @@ message box under her terminal. She is the manager agent: her MCP surface is the
privileged one that configures agents, and she can recover the others. Changes to
an agent's config arrive as PRs you merge. → [`2-handbook/agents/agent-permissions.md`](../2-handbook/agents/agent-permissions.md)
To create an agent yourself instead, use the swarm UI, or:
To create an agent yourself instead, use the swarm UI, the optional last step of `swarmctl setup` (it asks whether the agent should be custom), or:
```bash
swarmctl agent create <name> --hive firsthive
```
The name is yours to choose; it has no meaning to the swarm. The controller provisions the agent's identity, forge user and config repo
(`agent-configs/<name>`, from the default template), then has the hive build
and start the container. The hive builds from a copy of hyperhive on the swarm's own forge: the
The name is yours to choose; it has no meaning to the swarm. The controller provisions the agent's identity and forge user, then has the hive build
and start the container. The swarm builds the agent from the `default` archetype, which has
no config repo; pass `--custom` for a custom agent, whose repo
(`agent-configs/<name>`) the controller seeds from the default template, or
`--archetype <name>` for another archetype. The hive builds from a copy of hyperhive on the swarm's own forge: the
controller mirrors it there as `hyperhive/hyperhive` on a fresh swarm, so the
first agent needs no extra step (see
[`nixos.md`](nixos.md#the-hyperhive-mirror)). It returns once the scheduler queues the job — watch the
swarm UI's job view for progress.
Later config changes are PRs on `agent-configs/<name>`; you merge them on the
Later config changes to a custom agent are PRs on `agent-configs/<name>`; you merge them on the
forge, and the merge deploys them. →
[`2-handbook/agents/persistence.md`](../2-handbook/agents/persistence.md#config-changes)