Polyphony
Multi-agent orchestration with container-isolated workspaces, each agent session runs...
Install
npx skills add alinaqi/maggy --skill polyphony -g -a claude-code -y- Repository
- alinaqi/maggy710
- Category
- AI and agents
- Updated
- 22d ago
- License
- MIT
- Context cost
- Lightabout 896 tokens
- Runs scripts
- No, instructions only
What it does
Multi-agent orchestration with container-isolated workspaces, each agent session runs in its own Docker container with independent git branches
Polyphony, Multi-Agent Orchestration
Container-isolated workspaces for parallel agent execution. Each agent gets its own Docker container with a full git clone on its own branch. No conflicts, independent tests, clean PRs.
Architecture (6 Layers)
- Work Source, Tasks from GitHub Issues (
gh api) or local SQLite queue - Orchestrator, Supervisor loop: discover -> claim -> route -> provision -> run -> verify -> land
- Router, Pure function: Task x Policy -> RunSpec (5-dimension complexity scoring)
- Identity Broker, Resolves named credentials to volume mounts + env overlays
- Workspace Manager, Per-task
git clone --reference, branch checkout, cleanup - Worker Runtime, Docker container create/start/stop/logs lifecycle
Task Lifecycle
DISCOVERED -> CLAIMED -> ROUTED -> PROVISIONED -> RUNNING -> VERIFYING -> LANDED
| |
v v
FAILED --> BLOCKED
|
v
CLAIMED (retry)
Prerequisites
- Docker or OrbStack installed and running
- At least one agent CLI available (Claude, Codex, or Kimi)
- CLI subscriptions configured (not API keys)
Check:
command -v docker &>/dev/null || command -v orbctl &>/dev/null
Configuration
All config lives in ~/.polyphony/:
| File | Purpose |
|---|---|
config.yaml | Workspace root, poll interval, max concurrency |
identities.yaml | Named credential bundles with volume paths |
agents.yaml | Agent profiles (CLI commands, strengths) |
routing.yaml | Routing rules and fallback chains |
Initialize with: polyphony init

