Skip to content
Development
Command

/polyphony-init

Initialize the Polyphony multi-agent orchestration environment.

From plugin
maggy
70525 skills7 agents25 commands1 hook
Install
$ npx -y skills add alinaqi/maggy --agent claude-code

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/polyphony-init

Context preview

What this command does when you run it.

Initialize the Polyphony multi-agent orchestration environment.

Command definition

polyphony-init.md

/polyphony-init — Setup Wizard

Initialize the Polyphony multi-agent orchestration environment.

---

Steps

1. Check Prerequisites

command -v docker &>/dev/null || command -v orbctl &>/dev/null

If neither Docker nor OrbStack is available, inform the user:

> Docker or OrbStack is required for Polyphony container isolation. Install one first.

2. Create Config Directory

mkdir -p ~/.polyphony

3. Copy Config Templates

Copy default configuration files from the templates directory:

TEMPLATES="$(dirname "$(realpath "$0")")/../templates"
cp -n "$TEMPLATES/polyphony-config.yaml" ~/.polyphony/config.yaml
cp -n "$TEMPLATES/polyphony-identities.yaml" ~/.polyphony/identities.yaml
cp -n "$TEMPLATES/polyphony-agents.yaml" ~/.polyphony/agents.yaml
cp -n "$TEMPLATES/polyphony-routing.yaml" ~/.polyphony/routing.yaml

4. Build Worker Image

docker build -t polyphony-worker:latest -f templates/Dockerfile.polyphony .

5. Detect Available Agents

command -v claude &>/dev/null && echo "claude: available"
command -v codex &>/dev/null && echo "codex: available"
command -v kimi &>/dev/null && echo "kimi: available"

6. Confirm

Print summary of what was initialized and which agents are available.

Ships withmaggy

Turn Claude Code into a self-reviewing, test-enforced engineering system that remembers context across sessions — then route work across 13 models from a single dashboard.

Get the whole plugin