CV

cj-vana/claude-swarm

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

117 stars 质量 62 趋势 15MIT

MCP 用于协调并行的 Claude Code 工人群的服务器,其中包含基于协议的行为治理、持续状态和实时监测仪表板

概览

一个MCP服务器,用于协调并行的克洛德代码工人群 与基于协议的行为治理。 启用与持续状态,平行工人的多小时自主编码会话,以及行为约束的运行时间强制. • 安装装置 • 快速启动 • 板子 • 协议 • 工具 通过 MCP 服务器运行多个 Claude 代码工人同时通过 tmux 运行 - 工人在孤立的 git 工作树上运行安全平行修改 - 工人分析代码库,并在实施(自动批准)前制定计划 - 复杂特性获得两个相竞争的实施计划 - 多信号分数检测 挣扎工人 - 具有可配置核查命令的测试-监督员模式 - 失败特性 自动重试可配置限制 - 定义特性之间的执行顺序 - 原子相互排斥防止工人与自动编码和结构审查相冲突 - 自动化编码和结构审查与.

概述(AI 翻译)

一个MCP服务器,用于协调并行的克洛德代码工人群 与基于协议的行为治理。 启用与持续状态,平行工人的多小时自主编码会话,以及行为约束的运行时间强制.

• 安装 快速启动 • • 板子 • 议定书 工具

– – . . .

□ 特性

工人管弦乐团

  • ** 持续状态** - 会话状态通过MCP服务器存活上下文收缩
  • 通过tmux同时运行多个克劳德法典工人
  • ** Git工作树隔离** – – 工人在孤立的工作树上跑去安全平行改造
  • 工人计划模式 – – 工人在实施(自动批准)前分析密码库并制订计划。
  • ** 竞争性规划** - 复杂特点有两个相互竞争的实施计划 -** 信任监测** – – 多信号分数检测困难工人
  • ** 强制核查** – – 具有可配置核查指令的测试即监模式
  • ** 自动重试** - 失败的特性自动重试可配置限制
  • ** 不同特性之间的执行顺序

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

An MCP server for orchestrating parallel Claude Code worker swarms with protocol-based behavioral governance. Enables multi-hour autonomous coding sessions with persistent state, parallel workers, and runtime enforcement of behavioral constraints.

Installation • Quick Start • Dashboard • Protocols • Tools


Features

Worker Orchestration

  • Persistent State - Session state survives context compaction via MCP server
  • Parallel Workers - Run multiple Claude Code workers simultaneously via tmux
  • Git Worktree Isolation - Workers run in isolated git worktrees for safe parallel modification
  • Worker Plan Mode - Workers analyze codebases and produce plans before implementing (auto-approved)
  • Competitive Planning - Complex features get two competing implementation plans
  • Confidence Monitoring - Multi-signal scoring detects struggling workers
  • Enforced Verification - Test-as-supervisor pattern with configurable verification commands
  • Auto-retry - Failed features automatically retry with configurable limits
  • Feature Dependencies - Define execution order between features
  • File-Based Task Locking - Atomic mutual exclusion prevents workers from conflicting
  • Post-Completion Reviews - Automated code and architecture reviews with actionable findings

Long-Running Autonomy

  • Ralph Loop - Fresh Claude context per iteration eliminates context rot for long sessions
  • Days-Long Sessions - Supports hours/days of autonomous execution with checkpointing
  • Crash Recovery - Automatic session resumption after crashes or machine restarts
  • Failure Pattern Learning - Records what works/fails for future worker prompts

Protocol-Based Governance

  • Behavioral Protocols - Define constraints on what workers can/cannot do
  • Pre-spawn Validation - Verify protocols allow task before worker starts
  • Continuous Monitoring - Track constraint violations during execution
  • LLM-Generated Protocols - Workers can propose new protocols (validated against base constraints)
  • Cross-instance Sync - Share protocols across MCP instances

Monitoring & Dashboard

  • Real-time Web Dashboard - Live UI at http://localhost:3456 with Server-Sent Events
  • Live Terminal Streaming - Watch worker output with ANSI color support
  • Review Worker Visibility - Code and architecture review progress in dashboard
  • Violation Tracking - Audit log of all protocol violations
  • Git Checkpoints - Commit progress after each feature

Repository Setup

  • Auto-Configuration - Set up CI/CD, issue templates, and documentation in parallel
在 GitHub 查看完整 README

推荐工具

换一个关键词,或者移除筛选条件。

安装

npx skillfish add cj-vana/claude-swarm
新手?先看 mcpskill.org 教程 →