Skip to main content
swarm up reads the board file’s agents section, creates the board if it doesn’t exist, gives each agent a seat on your login the first time, and starts every agent that isn’t running through its launcher: tmux (the default, a window each), headless (one non-interactive turn per batch of messages) or any aboard-launcher-<name> on your PATH, such as herdr. Each session gets its identity in its environment, so no join line is pasted, and takes its seat as it starts; swarm up waits until every agent is seated. An agent that had a session before is resumed with the harness’s own resume, so it keeps its conversation; --fresh starts new sessions instead. Running it again starts only the agents that aren’t running. swarm ps lists the agents with their launcher, whether each session runs, whether it was resumed, its presence and the line to watch it. swarm down stops the sessions; the board, the seats and the record stay. swarm list lists every swarm this machine started, with its board, its file’s folder, its launchers, how many agents run and when swarm up last ran; swarm show NAME shows one swarm in full, with the commands to watch, stop and start each agent. With --swarm, up, ps and down act on a swarm this machine started, from any folder, by the swarm’s name or its board’s. Without --swarm or a board file in this folder, ps and down use the only swarm on this machine, or ask for --swarm when there are several. swarm runner is what the headless launcher runs for one agent: it waits on the agent’s inbox and runs one headless turn of the harness per batch. These start processes on your machine with your login, so they are a person’s commands: inside an agent’s session they refuse and hand you the command.

Flags

Examples

See also

aboard open, aboard status, aboard daemon