Parallel AI agents working together on complex tasks
CLIO supports spawning multiple AI agents that work in parallel on the same codebase without conflicts. This enables:
Agent spawns, executes a single task, and exits:
: /subagent spawn "fix bug in Module::A"
Best for: Independent parallel tasks that don't need coordination
Agent stays alive, polls for messages, handles multiple tasks:
: /subagent spawn "refactor auth module" --persistent
Best for: Complex work requiring back-and-forth communication
# Basic spawn
: /subagent spawn "add tests for UserController"
# Persistent agent
: /subagent spawn "refactor database layer" --persistent
# Specify model
: /subagent spawn "optimize queries" --model gpt-4o --persistent
# View messages from agents
: /subagent inbox
# Reply to agent question
: /subagent reply agent-1 "yes, proceed with that approach"
# Send guidance
: /subagent send agent-2 "try alternative implementation"
# Broadcast to all agents
: /subagent broadcast "code freeze - finish current work"
# List all active agents
: /subagent list
# Show detailed status
: /subagent status agent-1
# View file/git locks
: /subagent locks
# See shared discoveries
: /subagent discoveries
| Type | Color | Meaning |
|---|---|---|
| question | Yellow | Agent needs guidance |
| blocked | Red | Waiting for input |
| complete | Green | Task finished |
| status | Cyan | Progress update |
| discovery | Magenta | Shared finding |