A community-driven registry for Claude, Cursor, Windsurf, Cline & more. Not affiliated with Anthropic.
Are you the author? Sign in to claim
A self-improving multi-agent orchestration framework for Claude Code, Gemini CLI, and Codex CLI — 18 agents, 13 skills,
A self-improving multi-agent orchestration framework for Claude Code, Gemini CLI, and Codex CLI. Coordinate 18 specialized AI agents and 13 orchestration skills through a complete software development lifecycle, from issue to merged PR, with recursive orchestration, parallel review gates, and a git-native knowledge base.
metaswarm is an extraction of a production-tested agentic orchestration system. It has been proven in the field writing production-level code with 100% test coverage, mandatory TDD, multi-reviewed spec-driven development, and SDLC best practices across hundreds of PRs. It provides:
bd CLI) for issue/task management, dependencies, and knowledge primingYour prompt (spec with DoD items) or GitHub Issue
│
▼
┌─────────────────────────────────┐
│ Swarm Coordinator │
│ - Assign to worktree │
│ - Spawn Issue Orchestrator │
└─────────────────────────────────┘
│
▼
┌─────────────────────────────────┐
│ Issue Orchestrator │
│ - Create BEADS epic │
│ - Decompose into work units │
└─────────────────────────────────┘
│
▼
Research → Plan → Design Review Gate (5 parallel reviewers)
│
▼
Work Unit Decomposition (DoD items, file scopes, dependency graph)
│
▼
Orchestrated Execution Loop (per work unit):
IMPLEMENT → VALIDATE → ADVERSARIAL REVIEW → COMMIT
(Optionally delegates IMPLEMENT to Codex/Gemini CLI)
(Cross-model REVIEW: writer always reviewed by different model)
│
▼
Final Comprehensive Review (cross-unit integration)
│
▼
PR Creation → PR Shepherd (auto-monitors to merge)
│
▼
Closure → Knowledge Extraction (feedback loop)
metaswarm/
├── .claude-plugin/
│ └── plugin.json # Claude Code plugin manifest
├── gemini-extension.json # Gemini CLI extension manifest
├── .codex/
│ ├── install.sh # Codex CLI install script
│ └── README.md # Codex CLI usage guide
├── hooks/
│ ├── hooks.json # SessionStart + PreCompact hook definitions
│ └── session-start.sh # Context priming (platform-aware)
├── skills/ # Orchestration skills (Agent Skills standard — portable)
│ ├── start/ # Main entry point — workflow guide + 18 agent personas
│ ├── orchestrated-execution/ # 4-phase execution loop (IMPLEMENT→VALIDATE→REVIEW→COMMIT)
│ ├── design-review-gate/ # Parallel 5-agent review
│ ├── plan-review-gate/ # 3-reviewer adversarial plan review
│ ├── setup/ # Interactive project setup
│ ├── migrate/ # Migration from npm to plugin installation
│ ├── status/ # Diagnostic checks
│ ├── pr-shepherd/ # PR lifecycle automation
│ ├── handling-pr-comments/ # Review comment workflow
│ ├── brainstorming-extension/
│ ├── create-issue/
│ ├── external-tools/ # Cross-model AI delegation (Codex, Gemini CLI)
│ └── visual-review/ # Playwright-based screenshot review
├── commands/ # Slash commands
│ ├── *.md # Claude Code commands (15 files)
│ └── metaswarm/*.toml # Gemini CLI commands (12 files)
├── agents/ # 18 agent persona definitions
├── rubrics/ # Quality review standards
├── guides/ # Development patterns
├── knowledge/ # Knowledge base schema + templates
├── templates/ # Setup templates (CLAUDE.md, AGENTS.md, GEMINI.md + append variants)
├── lib/ # Platform detection, sync, setup scripts
├── cli/ # Cross-platform installer (npx metaswarm)
├── CLAUDE.md # Claude Code project instructions
├── AGENTS.md # Codex CLI project instructions
├── GEMINI.md # Gemini CLI extension context
├── INSTALL.md
├── GETTING_STARTED.md
├── USAGE.md
└── CONTRIBUTING.md
claude plugin marketplace add dsifry/metaswarm-marketplace
claude plugin install metaswarm
Then run /setup in Claude Code.
gemini extensions install https://github.com/dsifry/metaswarm.git
Then run /metaswarm:setup in your project.
codex plugin marketplace add dsifry/metaswarm-marketplace
codex
# Open /plugins, select the metaswarm marketplace, and install metaswarm.
Then run $setup in your project.
Detect installed CLIs and install metaswarm for all of them:
npx metaswarm init
Run /start-task (Claude/Gemini) or $start (Codex) and describe what you want in plain English. No issue required.
/start-task Add a webhook system with retry logic, signature verification,
and a delivery log UI.
See INSTALL.md for prerequisites, platform-specific details, and migration from older versions.
metaswarm doesn't just execute — it learns from every session and gets smarter over time.
After every PR merge, the self-reflect workflow (/self-reflect) analyzes what happened:
The reflection system also introspects into the Claude Code session itself, looking for:
These signals feed back into the knowledge base and can generate proposals for new skills, updated rubrics, or revised agent behaviors.
The knowledge base grows continuously, but agents don't load all of it. The bd prime command uses selective retrieval — filtering by affected files, keywords, and work type to load only the relevant subset:
# Only loads knowledge relevant to auth files and implementation work
bd prime --files "src/api/auth/**" --keywords "authentication" --work-type implementation
This means the knowledge base can grow to hundreds or thousands of entries without consuming context window. Agents get precisely the facts they need — the 5 critical gotchas for the files they're about to touch, not the entire institutional memory.
.coverage-thresholds.json| Platform | Install Method | Commands |
|---|---|---|
| Claude Code | Plugin marketplace | /start-task, /setup, etc. |
| Gemini CLI | Extension (gemini extensions install) | /metaswarm:start-task, etc. |
| Codex CLI | Plugin marketplace | $start, $setup, etc. |
bd) v0.40+ — for task tracking (recommended)gh) — for PR automation (recommended)npx playwright install chromium)MIT
metaswarm stands on the shoulders of two key projects:
BEADS by Steve Yegge — The git-native, AI-first issue tracking system that serves as the coordination backbone for all agent task management, dependency tracking, and knowledge priming in metaswarm. BEADS made it possible to treat issue tracking as a first-class part of the codebase rather than an external service.
Superpowers by Jesse Vincent and contributors — The agentic skills framework and software development methodology that provides foundational skills metaswarm builds on, including brainstorming, test-driven development, systematic debugging, and plan writing. Superpowers demonstrated that disciplined agent workflows aren't overhead — they're what make autonomous development reliable.
metaswarm was created by Dave Sifry, founder of Technorati, Linuxcare, and Warmstart, and former tech executive at Lyft and Reddit. Extracted from a production multi-tenant SaaS codebase where it has been writing production-level code with 100% test coverage, TDD, and spec-driven development across hundreds of autonomous PRs.
npx CLI installing 100+ agents, commands, hooks, and integrations in one command
干净、强大、属于你的 AI Agent 平台 --AI agents, without the clutter.
Native macOS app to monitor Claude AI usage limits and watch your coding sessions live
Pocket Flow: Codebase to Tutorial