← Back to Leaderboard
Sjoelhooks

joelhooks/swarm-tools

Local MCP coordination for parallel coding agents, with Git-backed task tracking

Engineering Health (Methodology)
C · 44/100
Maintenance Activity
● Updated 4mo ago
Latest Release
claude-code-swarm-plugin@0.63.3
Commercial License Check
Custom / Check Repo

Automated SPDX check for reference only — not legal advice. Disclaimer

Maintenance12/35
Fork Adoption15/25
Release Cadence11/20
License Clarity6/20
Self-HostedLocal AIMCPCLI
Total Stars
★ 756
24h Growth
+0
7d Growth
+5
Forks
69

GitHub Star History

Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.

joelhooks/swarm-tools Star History (2025-12-07 - 2026-12-04) ALL-TIME STAR HISTORY (2025-12 – 2026-12) +751 in 362d · avg +2/day 798 399 0 2025-12-07: ★ 52026-01-03: ★ 2682026-01-31: ★ 3692026-02-28: ★ 5062026-03-28: ★ 5882026-04-25: ★ 6342026-05-23: ★ 6702026-06-20: ★ 6982026-07-18: ★ 7082026-08-15: ★ 7222026-09-12: ★ 7282026-10-10: ★ 7402026-11-04: ★ 7472026-12-04: ★ 756 ★ 756 2025-12 2026-06 2026-12

Evidence-Backed Technical Brief

AI Deep Review

Architecture & Core Mechanics

Swarm is a TypeScript monorepo with Bun and Turbo tooling. The coordinator looks up prior sessions, selects a strategy, breaks work into task cells, and dispatches parallel workers. It reviews completions before approval and records outcomes. OpenCode and Claude Code are the integration hosts; in Claude Code, the marketplace plugin starts the MCP server automatically.

Hive stores task cells under Git-backed .hive/, while embedded libSQL (SQLite) stores the append-only coordination log. Swarm Mail exposes DurableMailbox, DurableLock, and DurableDeferred primitives for coordination, with events such as message_sent, file_reserved, checkpoint, and outcome. Hivemind handles retrieval of past lessons. Git sync for Hive tasks should not be read as replication of the local coordination log.

Key Capabilities & Differentiators

The /swarm workflow combines task decomposition, worker dispatch, path reservations, checkpoints, and coordinator review. /hive, /inbox, /status, and /handoff expose task inspection, messaging, progress checks, and session handoff. Completion records capture duration, errors, files touched, and success. Patterns progress from candidate to established to proven; a failure rate above 60% generates an anti-pattern, and confidence decays over 90 days without revalidation.

Hivemind uses Ollama embeddings and falls back to full-text search (FTS). OLLAMA_MODEL defaults to mxbai-embed-large (1,024 dimensions); other listed choices are nomic-embed-text (768), all-minilm (384), and snowflake-arctic-embed (1,024). These dimensions describe the stored vectors, not retrieval quality or runtime cost.

Trade-offs & Limitations

Host-native subagents are simpler for one-off parallel work. A task tracker plus Git worktrees is a better fit when the primary requirement is explicit task ownership and isolated working directories. Swarm adds durable task state, agent messaging, and a reusable record of outcomes, but its path reservations are a coordination mechanism, not an isolation boundary. Work that repeatedly overlaps on the same files is a poor fit for straightforward parallel decomposition.

Embedded storage avoids operating a separate database, but Git-backed tasks and local coordination events have different sharing and retention needs. FTS avoids running Ollama at the cost of relying on text matches rather than embedding similarity. Commercial adopters should resolve the license discrepancy before rollout: an MIT notice is present, but the repository license field is unspecified.

Hardware & Deployment Guide

Bun is required; Ollama is optional. Install the CLI with npm install -g opencode-swarm-plugin. For OpenCode, run swarm setup; for Claude Code, keep the global CLI installed, add the joelhooks/swarm-tools marketplace, then install swarm. Use swarm doctor to check dependencies and swarm init to initialize Hive in a project. For local embeddings, OLLAMA_HOST defaults to http://localhost:11434. The coordination stack needs no external database server, but offline inference depends on the coding host’s model configuration.

For source development, use bun install, bun turbo build, and bun turbo test. On February 6, 2026, opencode-swarm-plugin@0.63.2 addressed unresolved workspace:* dependencies in published packages by switching CI to Bun 1.3.8 and adding a resolution safeguard. claude-code-swarm-plugin@0.63.3 then linked the plugin version lines. Check that global CLI and plugin installation both work before rolling out to a team.

Host integration: OpenCode uses swarm setup; the Claude Code marketplace plugin starts MCP automatically and requires the global CLI.
Task persistence: Hive stores task cells in Git-backed .hive/ so they can be shared through Git and recovered in later sessions.
Worker coordination: Swarm Mail supplies durable messaging, exclusive path reservations, and checkpoints backed by libSQL events.
Retrieval: Hivemind supports Ollama embeddings from 384 to 1,024 dimensions across the listed models, with full-text search as a fallback.
Learning: Completion records capture duration, errors, files touched, and success; anti-patterns are generated above a 60% failure rate.
Packaging: The OpenCode 0.63.2 fix moved CI to Bun 1.3.8 and added a safeguard against unresolved workspace:* dependencies.
Best For

OpenCode or Claude Code teams that regularly split work across distinct paths and need task state, worker handoffs, and searchable lessons across sessions.

Skip If

You mostly do short, sequential edits, need hard isolation between workers, or require centrally replicated coordination state out of the box.

Reviewed on 2026-12-04 · Grounded in GitHub README, root file tree & releasesMethodology

Quick Start & Installation

Self-HostedLocal AIMCPCLI
npm install -g opencode-swarm-plugin
swarm setup

Comparison vs. Top Coding, Skills & MCP Alternatives

Full comparison →
RepositoryStars7d TrendStackLicenseCore Positioning
swarm-tools ★756+5TypeScript—Local MCP coordination for parallel coding agents, with Git-backed task tracking
agents43.2k+212PythonMITOne Markdown plugin catalog adapted to seven AI coding tools
rea488.8k+7.6kTypeScriptMITA local CLI and MCP server for evidence-backed app and binary analysis
chrome-devtools-mcp60.4k+760TypeScriptApache-2.0Chrome DevTools via MCP and CLI for live browser debugging and performance analy

AI Context Briefing (for Claude / Cursor / Windsurf)

Standardized architecture summary & quickstart commands ready to paste into coding agents.

Raw .md ↗
curl -sL https://repoforai.com/repo/joelhooks/swarm-tools.md

Embed Star History Chart & Badges in README.md

Full-history Star History SVGs and velocity cards on GitHub Camo: drop-in replacement for OSSInsight and Star History widgets.

joelhooks/swarm-tools Star History on RepoForAI

Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).

Frequently Asked Questions about swarm-tools

How does Swarm integrate with OpenCode and Claude Code, and where does it keep state?

OpenCode uses the globally installed opencode-swarm-plugin package and swarm setup. Claude Code also requires that global CLI package, plus the swarm plugin from the joelhooks/swarm-tools marketplace; the plugin starts the MCP server automatically. Hive persists tasks in .hive/, while embedded libSQL records coordination events.

Do I need a GPU, and how should I size a workstation?

No fixed GPU, VRAM, or RAM minimum is established. Bun and embedded libSQL handle coordination, and full-text search works without Ollama. If you enable Ollama, size for the chosen embedding model and concurrent activity, then measure a representative run with your coding host. The listed dimensions describe vector width, not model memory requirements.

Can we self-host this for commercial work with sensitive source code?

Commercial use is not verified by the available evidence: the project includes an MIT notice, but the repository license field is unspecified. Confirm the license text and its scope for the source and packages you intend to use. Local coordination storage also does not guarantee local inference; audit the coding host’s model configuration and establish retention rules for Git-backed task records and local session state.

How does it compare with native subagents or a task tracker plus Git worktrees?

Start with native subagents for occasional parallel work, or a task tracker plus Git worktrees if separate working directories are the main requirement. Swarm is a stronger fit when you also need cross-session task state, agent messaging, file reservations, and searchable lessons. Reservations coordinate participating agents; they are not a substitute for worktree or process isolation.

Upstream README & Documentation

This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.

Maintaining joelhooks/swarm-tools? Pin to Homepage + competitor /alternatives pages with a custom Cloud/Demo CTA.Feature joelhooks/swarm-tools on Homepage & Alternatives ($19)
WEEKLY BREAKOUT DIGEST

Top 10 Breakout Open-Source AI Repos, Every Thursday

Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.

Zero spam · 1-click unsubscribe · Privacy Policy

Saved in your browser · Export Markdown RFC tables or jump into /vs compare