Gitワークツリー分離と専門AIエージェントを使用したマルチエージェントオーケストレーションシステム。Rust製。
Version 0.4.3 - Rust-Native Multi-Agent Orchestration with ai-session Integration
ccswarm is a workflow automation framework for coordinating specialized AI agents using Claude Code CLI. It provides task delegation infrastructure, template-based scaffolding, and Git worktree isolation for parallel development.
AI Integration: ccswarm uses native PTY sessions via ai-session crate. Multi-provider system exists but orchestrator coordination loop is not fully implemented. See docs/UPCOMING_FEATURES.md for roadmap.
| Category | Status | Description |
|---|---|---|
| CLI Infrastructure | ✅ Working | All commands parse and route correctly |
| Session Management | ✅ Working | Native PTY-based sessions |
| TUI Monitoring | ✅ Working | Real-time terminal UI with ratatui |
| Configuration | ✅ Working | Project configs, agent settings |
| Git Worktrees | ✅ Working | Create, list, remove, prune |
| Template System | ✅ Working | Predefined templates for app scaffolding |
| Task Queue | ✅ Working | Task queuing and tracking |
| AI Execution | ⚠️ Simulated | Returns keyword-based responses |
| Provider System | 🚧 Planned | Code exists, not integrated |
| ACP Integration | 🚧 Stub | CLI wrapper only, no WebSocket |
| Parallel Executor | ⚠️ Partial | Structure exists, not integrated with orchestrator |
start Command | ⚠️ Partial | Initializes but coordination loop not implemented |
| Auto-Create | ⚠️ Partial | Templates work, full AI generation incomplete |
| Sangha (Voting) | 🚧 Planned | Data structures only |
| Extensions | 🚧 Planned | Stub implementation |
Note: See docs/analysis/ for detailed capability gap analysis.
| Document | Description |
|---|---|
| Getting Started | Installation, tutorial, first project |
| Architecture | System design, components, data flow |
| Configuration | All configuration options with examples |
| Commands Reference | Complete CLI command reference |
| Claude ACP Guide | Claude Code integration setup |
| Troubleshooting | Common issues and solutions |
| Upcoming Features | v0.4.0 implementation patterns |
| Application Spec | Detailed feature specifications |
| Contributing | How to contribute |
Status Legend: ✅ Working | ⚠️ Partial | 🚧 Planned
ccswarm help <topic> for detailed guidanceccswarm doctor --fix diagnoses and fixes issuesSee docs/UPCOMING_FEATURES.md for detailed implementation patterns and integration guides.
Features with code already in codebase but not fully integrated:
Roadmap:
| Phase | Task | Priority | Status |
|---|---|---|---|
| 1 | Fix start command coordination loop | Critical | Not Started |
| 1 | Wire ParallelExecutor to orchestrator | Critical | Not Started |
| 1 | Implement inter-process communication (Unix socket/SQLite) | Critical | Not Started |
| 2 | Integrate ai-session MessageBus for agent coordination | High | Not Started |
| 2 | Enable context compression (93% token savings) | High | Not Started |
| 2 | Make ACP optional (--enable-acp flag) | Medium | Not Started |
| 3 | Multi-vendor agent support (Gemini CLI, Codex CLI, OpenCode) | Medium | Planned |
| 3 | Sangha collective decision-making | Low | Planned |
Note: ACP (Agent Client Protocol) will be optional. PTY/CLI remains the primary execution method. See Issue #67 for discussion.
New to ccswarm? See the Getting Started Guide for a complete walkthrough.
git clone https://github.com/nwiizo/ccswarm.git
cd ccswarm
cargo build --release
cargo install --path crates/ccswarm
# Interactive setup
ccswarm setup
# Or quick init
ccswarm init --name "MyProject" --agents frontend,backend
# Start system
ccswarm start
# Launch TUI (in another terminal)
ccswarm tui
# Create a task
ccswarm task "Create login form [high] [feature]"
# Auto-create complete app
ccswarm auto-create "Create TODO app with React" --output ./todo-app
cd sample/
./setup.sh
./claude_acp_demo.sh # Claude Code integration
./task_management_demo.sh # Task management
./multi_agent_demo.sh # Multi-agent collaboration
┌─────────────────────────────────────────┐
│ ProactiveMaster │ ← Type-State Pattern
│ ├─ Channel-Based Orchestration │ Zero shared state
│ ├─ Task Analysis & Delegation │ Pattern matching
│ └─ Quality Review Integration │ Async/await
├─────────────────────────────────────────┤
│ Multi-Provider Integration │ ← Planned (v0.4.0)
│ ├─ Provider System (5 impl.) │ Code exists, not wired
│ └─ Current: Simulated Execution │ Keyword-based responses
├─────────────────────────────────────────┤
│ Specialized Agent Pool │ ← Actor Model
│ ├─ Frontend Agent (React/Vue/UI) │
│ ├─ Backend Agent (APIs/Database) │
│ ├─ DevOps Agent (Docker/CI/CD) │
│ └─ QA Agent (Testing/Quality) │
├─────────────────────────────────────────┤
│ Template System │ ← Variable substitution
├─────────────────────────────────────────┤
│ Git Worktree Manager │ ← Isolated development
├─────────────────────────────────────────┤
│ Real-time Monitoring (TUI) │ ← Crossterm-based
└─────────────────────────────────────────┘
ccswarm/
├── crates/
│ └── ccswarm/ # Main orchestration crate
│ ├── src/
│ │ ├── acp_claude/ # Claude ACP integration
│ │ ├── cli/ # CLI commands
│ │ ├── orchestrator/ # ProactiveMaster
│ │ ├── agent/ # Agent types
│ │ ├── session/ # Session management
│ │ ├── template/ # Template system
│ │ ├── subagent/ # Parallel execution
│ │ ├── tui/ # Terminal UI
│ │ └── resource/ # Resource monitoring
│ └── tests/
├── docs/ # Documentation
└── sample/ # Demo scripts
| Limitation | Impact | Workaround |
|---|---|---|
start command exits immediately | No continuous orchestration | Use TUI or individual commands |
| ParallelExecutor not wired | No true parallel agent execution | Tasks run sequentially |
| ACP WebSocket not functional | No real-time bidirectional comms | Uses CLI wrapper instead |
| ai-session MessageBus unused | No inter-agent coordination | Agents work independently |
| No IPC between processes | Commands are isolated | Each command is standalone |
| macOS/Linux only | No Windows support | Use WSL on Windows |
See docs/analysis/00-capability-gap-analysis.md for detailed analysis.
cargo test --workspace
cargo fmt --all
cargo clippy --workspace -- -D warnings
See CONTRIBUTING.md for guidelines.
ccswarm can run without Claude Code! See STANDALONE_DEPLOYMENT.md for:
MIT License - see LICENSE for details.
Experience Claude Code integration with autonomous AI orchestration in ccswarm v0.4.3
互換性