AI Orchestration Tool for Claude Code - Multi-agent orchestration for complex development tasks
Project description
Ensemble
"One task. Many minds. One result."
AI Orchestration Tool for Claude Code.
Overview
Ensemble is an AI orchestration system that combines the best practices from:
- shogun - Autonomous AI collaboration with tmux parallel execution
- takt - Workflow enforcement with quality gates
- Boris's practices - Effective use of skills, subagents, CLAUDE.md, and hooks
Features
- Autonomous AI Coordination: One instruction triggers multiple AI agents working together
- Flexible Execution Patterns:
- Pattern A: Simple tasks via subagent
- Pattern B: Medium tasks via tmux parallel panes (2-4 workers, auto-scaled)
- Pattern C: Large tasks via git worktree separation
- Parallel Execution Enhancements:
- Dynamic worker count (auto-scales based on task count)
- Worker-level subagent parallelization (for 3+ files)
- Parallel Review: Architecture + Security reviews run in parallel
- Self-Improvement: Automatic learning and CLAUDE.md updates
- Categorized learning (communication, workflow, code quality, tools)
- Duplicate detection and consolidation
- Subagent execution result collection
- Compaction Recovery: Built-in protocol to prevent role amnesia
- Extensibility:
/create-skill- Generate project-specific skill templates/create-agent- Auto-generate specialized agents from tech stack
Installation
Using uv (recommended)
# Install globally
uv tool install ensemble-claude
# Or add to your project
uv add ensemble-claude
Using pip
pip install ensemble-claude
From source
git clone https://github.com/ChikaKakazu/ensemble.git
cd ensemble
# Using uv
uv pip install -e .
# Or using pip
pip install -e .
Quick Start
# 1. Initialize Ensemble in your project
ensemble init
# 2. Launch the tmux sessions (2 separate sessions)
ensemble launch
# 3. Open another terminal to view workers session
tmux attach -t ensemble-workers
# 4. Run a task in the Conductor session
/go implement user authentication
# Light workflow (minimal cost)
/go-light fix typo in README
# Create project-specific tools
/create-skill my-feature "Description of the skill"
/create-agent # Interactive tech stack analysis
CLI Commands
| Command | Description |
|---|---|
ensemble init |
Initialize Ensemble in current project |
ensemble init --full |
Also copy agent/command definitions locally |
ensemble launch |
Start 2 tmux sessions (conductor + workers) |
ensemble launch --no-attach |
Start sessions without attaching |
ensemble upgrade |
Sync template updates (agents, commands, scripts) |
ensemble --version |
Show version |
In-Session Commands (Conductor)
| Command | Description |
|---|---|
/go <task> |
Full workflow with auto-pattern detection |
/go-light <task> |
Lightweight workflow for simple changes |
/go-issue [number] |
Start implementation from GitHub Issue |
/create-skill <name> <desc> |
Generate project-specific skill template |
/create-agent |
Auto-generate specialized agent from tech stack |
/review |
Run architecture + security review |
/improve |
Manual self-improvement analysis |
/status |
View current progress |
/deploy |
Version bump, merge, and publish to PyPI |
Requirements
- Python 3.11+
- Claude Code CLI (
claudecommand available) - tmux
- git 2.20+ (for worktree support)
- Claude Max plan recommended (for parallel execution)
Agent Architecture
┌─────────────┐
│ Conductor │ ← Orchestrator (planning, judgment, delegation)
└──────┬──────┘
│
┌────┴────┐
▼ ▼
┌────────┐ ┌──────────┐
│Dispatch│ │ Learner │
└───┬────┘ └──────────┘
│ ↑ Learning records
▼
┌─────────────────────────────┐
│ Reviewer / Security-Reviewer│ ← Parallel reviews
└─────────────────────────────┘
│
▼ (worktree mode)
┌──────────┐
│Integrator│ ← Merge & integrate
└──────────┘
License
MIT License - see LICENSE for details.
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 ensemble_claude-0.4.9.tar.gz.
File metadata
- Download URL: ensemble_claude-0.4.9.tar.gz
- Upload date:
- Size: 86.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 |
de446fd6166aeecefe74d08832931c2ab75122e04060aa7c0c6e467dcaae42a7
|
|
| MD5 |
7ef1dcf05a240f1a02b1594774b2af8d
|
|
| BLAKE2b-256 |
a488ff91605dbeca0d7269a1acdcabaf795fe1e5a879bdac0f3d274049f2e991
|
Provenance
The following attestation bundles were made for ensemble_claude-0.4.9.tar.gz:
Publisher:
publish.yml on ChikaKakazu/ensemble
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ensemble_claude-0.4.9.tar.gz -
Subject digest:
de446fd6166aeecefe74d08832931c2ab75122e04060aa7c0c6e467dcaae42a7 - Sigstore transparency entry: 928201146
- Sigstore integration time:
-
Permalink:
ChikaKakazu/ensemble@909c1cd5d89bdd0338350caaee9e5e91f5aebc69 -
Branch / Tag:
refs/heads/deploy/production - Owner: https://github.com/ChikaKakazu
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@909c1cd5d89bdd0338350caaee9e5e91f5aebc69 -
Trigger Event:
push
-
Statement type:
File details
Details for the file ensemble_claude-0.4.9-py3-none-any.whl.
File metadata
- Download URL: ensemble_claude-0.4.9-py3-none-any.whl
- Upload date:
- Size: 95.5 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 |
74314043909cddde304462750f4215690389fd4af8e4e4b736f4d25fc24110b7
|
|
| MD5 |
7df775ba453863e3ffed376b70f3f245
|
|
| BLAKE2b-256 |
6f5710c5a08d83f9637c4873a504bba9887d416c92acd0ca4ba808e68372798b
|
Provenance
The following attestation bundles were made for ensemble_claude-0.4.9-py3-none-any.whl:
Publisher:
publish.yml on ChikaKakazu/ensemble
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ensemble_claude-0.4.9-py3-none-any.whl -
Subject digest:
74314043909cddde304462750f4215690389fd4af8e4e4b736f4d25fc24110b7 - Sigstore transparency entry: 928201148
- Sigstore integration time:
-
Permalink:
ChikaKakazu/ensemble@909c1cd5d89bdd0338350caaee9e5e91f5aebc69 -
Branch / Tag:
refs/heads/deploy/production - Owner: https://github.com/ChikaKakazu
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@909c1cd5d89bdd0338350caaee9e5e91f5aebc69 -
Trigger Event:
push
-
Statement type: