whatisgithub

What is ultraswarm?

fubak/ultraswarm — explained in plain English

Analysis updated 2026-05-18

46JavaScriptAudience · developerComplexity · 4/5Setup · moderate

In one sentence

Ultraswarm orchestrates multiple AI coding assistants in parallel, splitting a plan into tasks run in isolated Git worktrees, then reviewing and merging results.

Mindmap

mindmap
  root((repo))
    What it does
      Splits plans
      Runs workers parallel
      Reviews and merges
    Tech stack
      Node.js
      SQLite
      Git worktrees
    Use cases
      Multi-agent coding
      Isolated task branches
      Cost-tracked runs
    Audience
      Developers

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Run several AI coding assistants in parallel on different tasks from one coding plan.

USE CASE 2

Keep each AI worker's changes isolated in its own Git worktree until reviewed.

USE CASE 3

Set spending caps and path restrictions so workers cannot exceed budget or touch off-limit files.

USE CASE 4

Export a provenance record showing what each AI worker did during a run.

What is it built with?

Node.jsSQLiteGit

How does it compare?

fubak/ultraswarm0xsufi/fable-jailbreakduhubz/rosetta-magazine-researcher
Stars464745
LanguageJavaScriptJavaScriptJavaScript
Setup difficultymoderateeasyeasy
Complexity4/52/51/5
Audiencedeveloperdevelopergeneral

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · moderate Time to first run · 30min

Requires Node 22 or newer and API access or CLIs for the AI worker tools you configure.

The explanation does not state license terms.

So what is it?

Ultraswarm is a Node.js tool that coordinates multiple AI coding assistants working in parallel on software tasks. Rather than using a single AI tool on a codebase directly, Ultraswarm acts as an orchestrator: it breaks a coding plan into tasks, assigns each task to one of several supported AI tools (called workers), runs them in isolated Git branches so they do not interfere with each other, and then merges the results after a review step. The supported worker tools include Codex, Claude Code, Grok, and a provider-agnostic CLI called pi that can also run local models through Ollama. Each worker operates in its own Git worktree, a separate checkout of the repository, so changes from one task are isolated until they pass review. The main brain for decomposing plans and reviewing results defaults to Claude, though an API key can substitute for the Claude CLI. A plan is defined as a JSON file listing tasks with descriptions, target files, complexity scores, and optional constraints on which paths the worker is allowed to touch. Ultraswarm ranks available workers based on capability fit and historical cost and latency data, then routes each task accordingly. After workers finish, the run waits in a review state. You inspect logs and status before separately approving the merge, which is a fast-forward-only Git operation. If the base branch moved while workers were running, a recovery command brings the run back to a mergeable state. Configuration controls which workers are enabled, how many can run in parallel, which file paths are off limits, spending caps in dollars, and whether each run requires explicit approval before starting or before merging. Workers can also be run in containers for stronger isolation. Custom aliases let you register your own named worker configurations that extend a built-in worker type with different models or invocation settings, useful for running several locally hosted models through the same CLI binary. State is stored in a local SQLite database so runs survive interruptions. Commands cover the full lifecycle: run, status, logs, cancel, resume, merge, and an export command that produces a provenance record of what each worker did. Node 22 or newer is required.

Copy-paste prompts

Prompt 1
Explain how Ultraswarm splits a coding plan into tasks and assigns them to AI workers.
Prompt 2
Walk me through writing a Ultraswarm plan JSON file with tasks and file constraints.
Prompt 3
How does Ultraswarm isolate each worker's changes using Git worktrees before merging?
Prompt 4
What happens if the base branch moves while Ultraswarm workers are still running?

Frequently asked questions

What is ultraswarm?

Ultraswarm orchestrates multiple AI coding assistants in parallel, splitting a plan into tasks run in isolated Git worktrees, then reviewing and merging results.

What language is ultraswarm written in?

Mainly JavaScript. The stack also includes Node.js, SQLite, Git.

What license does ultraswarm use?

The explanation does not state license terms.

How hard is ultraswarm to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is ultraswarm for?

Mainly developer.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.