Orchestrator for running parallel Claude Code agents on multiple tasks
Project description
claude-code-orchestrator
Orchestrator for running parallel Claude Code agents on multiple tasks. Each task runs in its own git worktree with a dedicated agent instance.
Features
- Parallel Task Execution: Run multiple Claude Code agents simultaneously on different tasks
- Git Worktree Isolation: Each task runs in its own worktree to prevent conflicts
- Auto-detect Git Provider: Automatically detects Bitbucket or GitHub from remote URL
- MCP Integration: Uses Bitbucket MCP for Bitbucket repos,
ghCLI for GitHub - Extensible MCP Registry: Configure additional MCPs (Atlassian, Linear, Postgres, Chrome, etc.)
- Project Discovery: Automatically analyzes project structure and conventions
- Task Generation: Generate task configurations from todo.md files
Installation
# With pip
pip install claude-code-orchestrator
# With uv
uv add claude-code-orchestrator
# With pipx (for CLI usage)
pipx install claude-code-orchestrator
Prerequisites
For GitHub Repositories
# Install GitHub CLI
brew install gh # macOS
# or: sudo apt install gh # Ubuntu
# Authenticate
gh auth login
For Bitbucket Repositories
# Install Bitbucket MCP
pipx install mcp-server-bitbucket
# Configure MCP
claude mcp add bitbucket -s user \
-e BITBUCKET_WORKSPACE=your-workspace \
-e BITBUCKET_EMAIL=your-email \
-e BITBUCKET_API_TOKEN=your-token \
-- mcp-server-bitbucket
Quick Start
# Check prerequisites
claude-orchestrator doctor
# Initialize project configuration
claude-orchestrator init
# Generate tasks from a todo file
claude-orchestrator generate --from-todo todo.md
# Run all tasks
claude-orchestrator run
# Or combine generation and execution
claude-orchestrator run --from-todo todo.md --execute
Configuration
Create .claude-orchestrator.yaml in your project root:
# Git settings (auto-detected if not specified)
git:
provider: auto # "bitbucket" / "github" / auto-detect
base_branch: main
destination_branch: main
repo_slug: my-repo # Required for Bitbucket
worktree_dir: ../worktrees
# MCPs to enable for agents
mcps:
enabled:
- atlassian # For Jira ticket updates
- linear # For issue tracking
- postgres # For database access
- chrome # For browser automation
# Project context (auto-discovered if not specified)
project:
key_files:
- src/main.py
- tests/
test_command: pytest tests/
CLI Commands
doctor
Check all prerequisites and configuration:
claude-orchestrator doctor
Output:
✓ Git provider: GitHub (github.com detected)
✓ gh CLI: installed and authenticated
✓ MCP atlassian: configured
✗ MCP linear: not configured
Run: pipx install mcp-server-linear && claude mcp add linear...
init
Initialize project configuration:
claude-orchestrator init
This will:
- Detect git provider
- Analyze project structure
- Create
.claude-orchestrator.yaml
generate
Generate task configuration from a todo file:
claude-orchestrator generate --from-todo todo.md
run
Execute tasks:
# Run all tasks
claude-orchestrator run
# Run specific tasks
claude-orchestrator run --tasks task1,task2
# Auto-approve all agent actions
claude-orchestrator run --auto-approve
# Full pipeline
claude-orchestrator run --from-todo todo.md --execute
Optional MCPs
| MCP | Auth Type | Use Case |
|---|---|---|
atlassian |
OAuth | Jira/Confluence integration |
linear |
OAuth | Issue tracking |
postgres |
Env vars | Database access |
chrome |
Pre-configured | Browser automation |
Setting up OAuth MCPs
# Install the MCP
pipx install mcp-server-atlassian
# Add to Claude (first run will open browser for OAuth)
claude mcp add atlassian -s user -- mcp-server-atlassian
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file claude_code_orchestrator-0.1.0.tar.gz.
File metadata
- Download URL: claude_code_orchestrator-0.1.0.tar.gz
- Upload date:
- Size: 19.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9d30a1e12df4856ea2da707bb7aa7888d11799a9394f67efa56e2532d6b312f1
|
|
| MD5 |
22ed7605b75406363a1fc5c31a2096e5
|
|
| BLAKE2b-256 |
7876e3d10cc55c5952331b03bf16531ca6ba9f21245bed26eb15b18ee4c085ab
|
Provenance
The following attestation bundles were made for claude_code_orchestrator-0.1.0.tar.gz:
Publisher:
publish.yml on JaviMaligno/claude-code-orchestrator
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
claude_code_orchestrator-0.1.0.tar.gz -
Subject digest:
9d30a1e12df4856ea2da707bb7aa7888d11799a9394f67efa56e2532d6b312f1 - Sigstore transparency entry: 772288562
- Sigstore integration time:
-
Permalink:
JaviMaligno/claude-code-orchestrator@d8c0ef15e66ba3c197ada5de38a3e588659ee641 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/JaviMaligno
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@d8c0ef15e66ba3c197ada5de38a3e588659ee641 -
Trigger Event:
push
-
Statement type:
File details
Details for the file claude_code_orchestrator-0.1.0-py3-none-any.whl.
File metadata
- Download URL: claude_code_orchestrator-0.1.0-py3-none-any.whl
- Upload date:
- Size: 24.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
25dc51fb603f858664537307d086f3f60d8176d1b292a177aec3e697b206cf6a
|
|
| MD5 |
9ac99dbef4ed354b3ee3d8ca956bf957
|
|
| BLAKE2b-256 |
298d66d00d3e899254939ffced46a540407a971bce7af3f87e01503af662aee6
|
Provenance
The following attestation bundles were made for claude_code_orchestrator-0.1.0-py3-none-any.whl:
Publisher:
publish.yml on JaviMaligno/claude-code-orchestrator
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
claude_code_orchestrator-0.1.0-py3-none-any.whl -
Subject digest:
25dc51fb603f858664537307d086f3f60d8176d1b292a177aec3e697b206cf6a - Sigstore transparency entry: 772288570
- Sigstore integration time:
-
Permalink:
JaviMaligno/claude-code-orchestrator@d8c0ef15e66ba3c197ada5de38a3e588659ee641 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/JaviMaligno
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@d8c0ef15e66ba3c197ada5de38a3e588659ee641 -
Trigger Event:
push
-
Statement type: