swairm
Build

Every lane full, and no manager agent.

Pick the number of lanes. A plain loop in the daemon, with no model, starts a fresh builder for every ready ticket, each in its own git worktree and branch, and keeps every lane busy until the work is done.

  • Builders in parallel, each in its own worktree and branch
  • A zero-token loop fills the lanes: no lead-dev or PM agents
  • Told to wrap up at 150k context; a fresh agent carries on
  • Four tools and no MCP servers: about 8k tokens to start
127.0.0.1:8770
The Build view: a card per building ticket with its progress, current step, context, tokens, CPU and memory

Features

Everything in Builders & lanes

01

Lanes

swairm conduct on --lanes 4, or the board's lane control; three by default. The daemon fills them in one start order: urgent work, a red base's fix, a ticket someone waits on, the focus, then the rest.

02

Its own worktree

Each builder works in .worktrees/<id> on the branch swarm/<id>. It is kept when a builder stops, so the next one resumes from it.

03

Fresh contexts

The daemon reads every agent's stream as it grows. At 150k tokens it sends WRAP UP: save a precise next step and end. At 1.4 times that it stops the agent. The next builder resumes from the ticket's log.

04

A lean start

Headless claude -p with Bash, Read, Edit and Write, no MCP servers, its role in the system prompt, auto memory and the git status snapshot off: about 8k tokens before its first step.

05

No early exits

A builder that tries to stop before its ticket lands is sent back to finish it.

06

Taken over when quiet

A builder not heard from for 20 minutes is replaced. A ticket four agents could not finish goes on hold, to split or rewrite.

07

Reviewers and coordinators on demand

A reviewer starts only when tickets wait for review, a coordinator shift only when messages or questions need judgement. Short, then gone.

08

Survives restarts

Every agent writes its stream to a log file, so it outlives a daemon restart and the next daemon adopts it. A start cut off by a restart is resumed at once.

09

Usage limits

An agent that dies within a minute pauses launching, doubling up to an hour: that is usually a usage limit.

10

Cost per ticket

Tokens and cost are recorded per agent and added up on its ticket. The board flags a ticket that runs past token_warn.

Commands

swairm start <id> · start --nextclaim a ticket, create or resume its worktree, print a short card
swairm save "note"commit, take file locks, log the note, rebase onto the base
swairm done ["summary"]run every accept check, then land
swairm review <id> accept|bounce "why"a reviewer's packet and verdict
swairm conduct on --lanes N · conduct offstart or pause the agents for this repository
swairm statusone screen: what's building, open questions, the base's health

Settings

lanesbuilders at once (default 3)
max_contextan agent is told to wrap up at this context size (default 150000)
stop_contextan agent told to wrap up is stopped here (default 1.4 x max_context)
max_triesagents that end without landing before a ticket goes on hold (default 4)
stop_blockshow often a builder that stops early is sent back (default 2)
stale_minutesa builder not heard from this long can be taken over (default 20)
pause_minuteslaunching pauses this long after an agent fails at once (default 5)
agent_modelsa model per role; a ticket's own model wins
agent_toolsthe tools an agent loads (default Bash, Read, Edit, Write)
agent_mcptrue: agents keep their MCP servers

Set one with swairm config key=value, in swairm.json, or in the board's Settings. All about settings.

Write the tickets. Let the swarm build them.

Install once. Every repository on your machine gets a swarm and a board.

curl -LO https://github.com/CodingNinja/swairm/releases/latest/download/swairm-macos.pkg && sudo installer -pkg swairm-macos.pkg -target /