| Crates.io | cc-colony |
| lib.rs | cc-colony |
| version | 2.3.1 |
| created_at | 2025-11-11 19:28:53.242668+00 |
| updated_at | 2025-11-20 19:41:05.775087+00 |
| description | Multi-agent orchestration for Claude Code with tmux and integrated MCP executor |
| homepage | https://github.com/mcfearsome/cc-colony |
| repository | https://github.com/mcfearsome/cc-colony |
| max_upload_size | |
| id | 1928065 |
| size | 1,569,334 |
Multi-agent orchestration for Claude Code on tmux.
Colony enables you to run multiple Claude Code agents in parallel, each in their own isolated tmux session, with proper state management and inter-agent communication.
--features webview)colony init - Initialize a new colony configurationcolony start - Start all agents in the colonycolony attach - Attach to the tmux sessioncolony tui - Launch the interactive TUIcolony dashboard - Launch web dashboard (requires --features webview)colony status - Show status of running agentscolony broadcast <message> - Send a message to all agentscolony stop [agent_id] - Stop one or all agentscolony logs [agent_id] - View agent logscolony destroy - Destroy the colony and clean up resourcescolony tasks - Manage tasks (list, create, claim, etc.)colony messages - View messages between agentscolony auth login - Authenticate with OAuth, API key, or Bedrockcolony auth status - Show authentication statuscolony auth logout - Remove credentialscolony auth refresh - Refresh authentication tokencolony relay connect - Connect to relay service for mobile/web controlcolony relay status - Show relay connection statuscolony relay disconnect - Disconnect from relay servicecargo build --release
cargo install --path .
Initialize a colony in your project:
colony init
Edit colony.yml to configure your agents
Start the colony:
colony start
Monitor with the TUI:
colony tui
Colony is configured via colony.yml. See the initialization output for basic configuration options, or check colony.example.yml for a comprehensive example with all features including per-agent MCP server configuration.
Each agent can have its own MCP (Model Context Protocol) server configuration:
agents:
- id: backend-1
role: Backend Engineer
focus: API development
model: claude-opus-4-20250514
mcp_servers:
filesystem:
command: npx
args:
- -y
- "@modelcontextprotocol/server-filesystem"
- /path/to/directory
git:
command: uvx
args:
- mcp-server-git
- --repository
- /path/to/repo
MCP servers configured in colony.yml will:
.claude/settings.json in the working directory.colony/projects/{agent-id}/.claude/settings.json--settings flagSee colony.example.yml for more examples of MCP server configurations.
Connect your colony to app.colony.sh for mobile and web control:
# Connect to relay service
colony relay connect
# You'll be prompted for a token from https://app.colony.sh
# Or provide it directly:
colony relay connect --token YOUR_TOKEN
# Check connection status
colony relay status
# Disconnect
colony relay disconnect
Once connected, you can:
The relay connection includes:
Supported remote commands:
Perfect for:
Multiple agents can work in the same worktree by specifying the same worktree name:
agents:
- id: reviewer-1
role: Backend Reviewer
focus: Review backend code
worktree: shared-review # Shares with reviewer-2
- id: reviewer-2
role: Frontend Reviewer
focus: Review frontend code
worktree: shared-review # Shares with reviewer-1
Benefits of shared worktrees:
Set custom environment variables for each agent:
agents:
- id: test-agent
role: Integration Tester
focus: Run integration tests
env:
TEST_ENV: integration
DATABASE_URL: postgresql://localhost:5432/test_db
LOG_LEVEL: debug
Environment variables are:
Add specialized instructions to each agent's startup prompt:
agents:
- id: security-auditor
role: Security Auditor
focus: Review code for security vulnerabilities
instructions: |
Your mission is to identify security vulnerabilities.
Focus areas:
- SQL injection vulnerabilities
- XSS (Cross-Site Scripting) issues
- Authentication and authorization flaws
When you find an issue:
1. Document the vulnerability
2. Assess severity (Critical/High/Medium/Low)
3. Provide a fix example
Custom instructions:
|Colony includes built-in skills to help agents with common tasks:
The colony-message skill provides comprehensive guidance on using the inter-agent messaging system. Agents can invoke it to learn how to:
Usage: Agents can refer to .claude/skills/colony-message.md or invoke the skill for messaging guidance.
Example workflows covered:
A live dashboard script is available at scripts/colony_dashboard.sh for real-time monitoring.
MIT