swairm
New Answer any question from its notification, lane lending, Run now

A swarm of Claude Code agents builds your codebase.

Run many agents on one repository at once, without collisions. Coordination costs no tokens, every agent is kept to its ticket and a context budget, and you can talk to any of them while it works. One Go binary, one local board.

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

The installer puts swairm in /usr/local/bin, writes the Claude Code skill and starts a background daemon. The package isn't signed yet; downloading it with curl avoids the Gatekeeper prompt. Linux and Windows archives are on every release.

127.0.0.1:8770
The swairm board's Build view: questions for the owner, live stats, a card per building ticket with its progress and current step, up next and just landed
  • Manybuilders in parallel, each in its own git worktree
  • 0tokens spent on coordination, waiting or watching
  • 150kcontext cap per agent; a fresh one carries on
  • Livemessages reach an agent after its next tool call

Features

Everything a swarm needs, nothing it doesn't.

Eleven parts, each a page of its own. Pick one, or use the arrows.

Plan

Say what you want. Get small tickets that prove themselves.

Ask your Claude Code session to plan the work. It writes small tickets: what to build, the files each one owns, and the checks that prove it is done. Building starts the moment they are imported.

  • Plan in plain words: “plan this into swairm tickets”
  • Every ticket names its scope, its deps and its accept checks
  • Search every ticket, in any state, before writing a new one
  • Group by feature, label, type, area and milestone
Everything in Plan & tickets
127.0.0.1:8770
An opened ticket in a side sheet: actions, brief, accept checks, log and the agents that worked on it
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
Everything in Builders & lanes
127.0.0.1:8770
The Build view: a card per building ticket with its progress, current step, context, tokens, CPU and memory
Land

Nothing lands until its checks pass.

Two builders never edit the same file, every check runs against the exact commit it tested, and landing is the only step that moves your base branch, one ticket at a time.

  • One building ticket per file: scopes and locks
  • Accept checks run in a clean environment, on the exact commit
  • Rebased first, then squashed, rebased or merged: your choice
  • A conflict names the tickets that changed your files
Everything in Files & landing
Run

Long commands in the background. Heavy ones take turns.

Builds and test suites run as detached jobs with their output in a log, so they outlive the agent's tool call. A few machine-wide heavy slots, shared fairly across every repository, keep ten builds from running at once.

  • Detached jobs with logs, CPU and memory
  • Three heavy slots per machine, shared fairly
  • A queued run returns at once: QUEUED job:N
  • Run now, Restart, Stop and Log from the board
Everything in Jobs & heavy slots
127.0.0.1:8770
The Jobs menu: every job with how long it has run, its CPU and memory, who holds the heavy slots, and Log, Restart and Stop
Wait

Waiting costs nothing, and the holdup gets help.

Agents never sleep in a loop. swairm wait blocks inside the binary until something happens, and when a builder waits on another ticket, swairm moves that ticket to the front.

  • One blocking call, up to 9 minutes: no sleep loops
  • Deadlocks found and reported, once per ring
  • A waiting builder lends its lane to the ticket it waits on
  • The holdup is told to land what it has, and file the rest
Everything in Waiting & hurry
Talk

Steer any agent while it works. Answer from anywhere.

Message a running agent and it reads it after its next tool call. Agents ask you only what only you can decide, and you answer from the notification, the board or the terminal.

  • Messages reach an agent after its next tool call
  • Questions go to the conductor first; only yours reach you
  • Answer from the notification: reply, Yes, No or the default
  • Pick what you hear: Quiet, Standard or Verbose
Everything in Questions & notifications
127.0.0.1:8770
An agent's live transcript: grouped steps, edits, test runs, the running command, and a box to message it
Gate

Keep the base green without slowing anyone down.

Per-ticket checks stay narrow and fast. The gate runs your full test suite on the base in the background, when you choose, and files a fix ticket the moment it turns red.

  • Four modes: schedule, idle, every N landings, manual
  • Runs only when tickets have landed since its last run
  • A red base files a priority-1 fix ticket, naming the suspects
  • Reruns only the failed tests, with gate_rerun
Everything in The gate
Watch

Stuck work is noticed without a model.

A builder blocked in a job or a wait looks alive. Every 30 seconds the daemon checks three plain rules, and only for a ticket that trips one does a short investigator agent take a look.

  • Three plain rules, checked every 30 seconds
  • A short investigator: one tool, a small model
  • It may stop a hung or duplicate job, or message the builder
  • You hear only what it could not fix
Everything in Stuck work
Steer

Decide what gets built first.

Point the swarm at a feature, a label or any filter and its tickets start first, while other work fills free lanes. Or mark one ticket urgent and push it through.

  • Focus on a feature, label, area, type or milestone
  • What the focus waits on starts first too
  • Urgent tickets fill every lane until they land
  • One start order ranks it all, shown on the board
Everything in Focus & urgent
127.0.0.1:8770
The Features view: progress per feature with landing forecasts
See

One live board for every repository on your machine.

A local web page that updates live and costs no tokens to look at. Follow any agent's transcript, open any ticket, see every job, and answer the agents' questions.

  • Build: every live agent, its step, context, tokens, CPU and memory
  • Board, Features, Map, Timeline, Insights and Jobs
  • Follow any agent's transcript live, and message it
  • Every ticket's history: what happened, when, and who did it
Everything in The board
127.0.0.1:8770
The Board view: tickets from backlog to done, grouped by feature, with agents and activity on the side
Tune

Every limit is a setting.

Defaults that work, and every number the daemon acts on is yours to change: from the terminal, in swairm.json, or in one window on the board.

  • swairm config lists every value and where it comes from
  • The board's cog edits them all in one window
  • swairm.json is committed with your repository
  • Machine settings are shared by every repository
Everything in Settings
127.0.0.1:8770
The board's Settings window with the notification profiles

Why swairm

Agent swarms spend their tokens managing themselves. This one doesn't.

Coordination lives in the binary, where it costs nothing. Agents spend their tokens on your code.

Long role prompts, read again and again

Four cards of about 2 KB, already in each agent's prompt

sleep loops, and a polling turn every few minutes

One swairm wait that blocks in the binary: one turn per wait

Manager agents checking every worker's tickets

Accept commands prove a ticket; a reviewer only where none can

Every agent loading tens of thousands of tokens of tools before its first step

About 8k: four tools, no MCP servers, role in the system prompt

How it works

You talk to one Claude session. The daemon runs the swarm.

You never drive the agents yourself. The daemon keeps the work moving and asks you only what only you can answer.

  1. 1

    Ask for a plan

    Tell Claude “plan this”. It follows the planner card, writes small tickets and imports them.

  2. 2

    Tickets own files

    Each ticket names its scope, its deps, and accept checks: commands that prove it's done.

  3. 3

    Builders in parallel

    A fresh builder for every ready ticket, each in its own worktree, holding file locks, wrapping up at 150k tokens.

  4. 4

    Land only when green

    swairm done runs the checks, then rebases and fast-forwards the base. The gate keeps the base green.

The board

Watch every agent. It costs nothing to look.

A local page at 127.0.0.1:8770 for every repository on the machine, live, in light and dark. Every agent's transcript, every ticket's history, every job. Click any screenshot to enlarge it.

Screenshots of the real board with invented projects.

In the box

Every feature, by area.

Open an area for all its features, its commands, its settings and the decisions behind it.

Plan & tickets

Say what you want. Get small tickets that prove themselves.

  • Plan from a sentence
  • Scope: the files a ticket owns
  • Accept checks that run
  • Deps
  • Features, labels and types
10 features

Builders & lanes

Every lane full, and no manager agent.

  • Lanes
  • Its own worktree
  • Fresh contexts
  • A lean start
  • No early exits
10 features

Files & landing

Nothing lands until its checks pass.

  • File ownership
  • Locks follow the branch
  • Files give way
  • Checks you can trust
  • Narrow checks
10 features

Jobs & heavy slots

Long commands in the background. Heavy ones take turns.

  • Detached jobs
  • Heavy slots
  • Shared fairly
  • Queued, not blocked
  • Run now
10 features

Waiting & hurry

Waiting costs nothing, and the holdup gets help.

  • Wait in the binary
  • Long enough, never too long
  • Deadlocks
  • Awaited work first
  • Lane lending
8 features

Questions & notifications

Steer any agent while it works. Answer from anywhere.

  • Messages
  • Questions that don't block
  • Whoever can answer
  • Answer from the notification
  • One thread per ticket
9 features

The gate

Keep the base green without slowing anyone down.

  • schedule (default)
  • idle
  • every
  • manual
  • Its own worktree
9 features

Stuck work

Stuck work is noticed without a model.

  • Jobs that run too long
  • Waits that never end
  • Silence
  • The investigator
  • You hear what's left
7 features

Focus & urgent

Decide what gets built first.

  • Focus
  • From the board
  • Urgent
  • One start order
  • Hold and reprioritise
6 features

The board

One live board for every repository on your machine.

  • Build
  • Board
  • Agent transcripts
  • Ticket dates
  • A card's timeline
12 features

Settings

Every limit is a setting.

  • swairm config
  • help config
  • One window
  • Per repository
  • Per machine
6 features

A ticket

Plain JSON. It says what proves it's done.

Tickets live in .git/swarm/, shared by every worktree and never committed. Accept lines with :: run a command, and the ticket lands with no reviewer. Lines without one go to a reviewer.

Plan & tickets
{
  "id": "m1-03", "title": "Parse the tide table",
  "milestone": "M1", "priority": 2,
  "epic": "tide-app", "type": "feature", "labels": ["backend"],
  "deps": ["m1-01"],
  "scope": ["src/tide/**", "tests/tide/**"],
  "read": ["docs/tides.md#format"],
  "brief": "Input: ... Output: ... Example: ...",
  "accept": [
    "parses the sample table :: go test ./src/tide/...",
    "the README documents the format"
  ],
  "model": "sonnet"
}

Commands

Short commands, one-line answers.

The agents run these. Your own session mostly needs status and board. Every answer starts with a keyword and names the next command, and swairm help fits on one screen.

The builder loop

start <id> · start --next
Claim a ticket, create or resume its worktree, print a short card.
save "note"
Commit, take file locks, log the note, rebase onto the base.
done
Run every accept check, then land.
review <id> accept|bounce
The reviewer's packet and verdict.

Talking

msg <to> "text"
A message to a ticket, a role, all or human.
ask <to> "q" --default "x"
A question; with a default it never blocks.
answer <n> "text" · inbox
Answer a question, or read your messages.

Waiting and long commands

wait landed:ID|job:N|free:PATH|…
Block, using no tokens, until something happens.
run --heavy -- make test
A detached job; heavy ones share a few slots and queue at once.
jobs · run --now N
What runs and who holds the slots; start a waiting job now.

Steering

status · board --open
One screen in the terminal, or the web board.
conduct on --lanes N · off
Start or pause the agents for this repository.
focus epic:<e> · ticket set <id> urgent=true
Build some work first, or push one ticket through.
gate · config
Run the full suite now; every setting and its value.

Requirements

A Mac, git and Claude Code.

  • macOS first. On Linux the daemon runs as a detached process. Windows compiles but is untested.
  • The Claude Code CLI, claude, on your PATH, and git.
  • Optional: Herald, so the swarm's events and your questions arrive as notifications you answer from.
  • Optional: Xcode command line tools, for one-line task summaries from Apple's on-device model.
  • Building from source needs Go and nothing else: swairm uses only the standard library.

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 /