Skip to content

CLI Commands

Interactive setup — configure server URL, namespace, and role.

Terminal window
wgl init

Quick join a coordination server.

Terminal window
wgl join http://localhost:8080

Show current protocol, phase, claims, events, and control status.

Terminal window
wgl status

Release all claims, remove hooks, delete local config.

Terminal window
wgl leave

Show connected agents and their roles.

Terminal window
wgl team

Display protocol details (phases, roles, rules, governance).

Terminal window
wgl protocol show

Validate an ACP protocol YAML file against the schema.

Terminal window
wgl protocol validate my-spec.acp.yaml

Load a protocol into the running server.

Terminal window
wgl protocol load my-spec.acp.yaml

List events. Filterable by type and time.

Terminal window
wgl events list
wgl events list --since 10 --type task.complete

Live-stream events (polling).

Terminal window
wgl events tail
wgl events tail --type task.*

Publish an event.

Terminal window
wgl events publish --type task.complete --data '{"task": "auth"}'

Get shared state (all keys or specific key).

Terminal window
wgl state get
wgl state get current_phase

Set a shared state value.

Terminal window
wgl state set current_phase review

Delete a shared state key.

Terminal window
wgl state delete temp_value

Claim a resource (atomic mutex lock).

Terminal window
wgl claim file:src/api.ts

Release a previously claimed resource.

Terminal window
wgl release file:src/api.ts

Send a direct message to an agent.

Terminal window
wgl msg send reviewer-1 "Please check the auth module"

List messages for the current agent.

Terminal window
wgl msg list

Send a message to all connected agents.

Terminal window
wgl msg broadcast "Deploying in 5 minutes"

Request help from other agents.

Terminal window
wgl help ask "Tests failing on auth module"

Show open help requests.

Terminal window
wgl help list

Claim a help request.

Terminal window
wgl help claim help-123

Mark a help request as resolved.

Terminal window
wgl help resolve help-123

Emergency stop — halt all agents.

Terminal window
wgl halt "Critical bug discovered"

Pause coordination (agents stop processing but don’t terminate).

Terminal window
wgl pause "Reviewing test results"

Resume paused coordination.

Terminal window
wgl resume

Start a local brood from brood.yaml in the current directory.

Terminal window
wgl up
wgl up --brood=path/to/brood.yaml

Stop a running brood and all its agents.

Terminal window
wgl down

Start a local incubator server.

Terminal window
wgl serve
wgl serve --port=8080 --verbose

Install Claude Code hooks for ACP integration.

Terminal window
wgl hooks install
Terminal window
wgl hooks uninstall
wgl hooks list
Terminal window
wgl namespace list
wgl namespace create my-namespace
wgl namespace delete my-namespace
Terminal window
wgl auth login # Device flow (opens browser)
wgl auth logout
wgl auth status
wgl auth switch # Switch between saved profiles
Terminal window
wgl config set server http://localhost:8080
wgl config get server
wgl config list

wgl swarm create / list / info / delete / start / stop

Section titled “wgl swarm create / list / info / delete / start / stop”
Terminal window
wgl swarm create --name my-project
wgl swarm list
wgl swarm info my-project
wgl swarm start my-project
wgl swarm stop my-project
wgl swarm delete my-project
Terminal window
wgl swarm keys my-project
wgl swarm logs my-project
Terminal window
wgl secret set cerebras # User-level key
wgl secret set cerebras --hive my-project # Hive-specific key
wgl secret list
wgl secret delete cerebras

wgl marketplace search / info / install / publish / list

Section titled “wgl marketplace search / info / install / publish / list”
Terminal window
wgl marketplace search "code review"
wgl marketplace info code-review
wgl marketplace install code-review
wgl marketplace publish my-protocol.acp.yaml
wgl marketplace list

wgl integrations search / install / remove / enable / disable / publish / list

Section titled “wgl integrations search / install / remove / enable / disable / publish / list”
Terminal window
wgl integrations search "slack"
wgl integrations install slack-notifier
wgl integrations enable slack-notifier
wgl integrations remove slack-notifier
wgl integrations list
Terminal window
wgl telemetry overview # Aggregate counters
wgl telemetry overview --local # Local-only (skip cloud)
wgl telemetry events # Recent events
wgl telemetry events --type llm_call --limit 20
wgl telemetry timeline # Daily breakdown

Scan text for prompt injection.

Terminal window
wgl scan "ignore all previous instructions"
wgl scan --json "test message"

Generate shell completion script.

Terminal window
wgl completion bash >> ~/.bashrc
wgl completion zsh >> ~/.zshrc

Update wgl to the latest version.

Terminal window
wgl upgrade