cao-supervisor-protocols
FeaturedSupervisor-side orchestration patterns for assign, handoff, and idle inbox delivery in CAO
AI & Automation 1,089 stars
227 forks Updated today Apache-2.0
Install
Quality Score: 89/100
Stars 20%
Recency 20%
Frontmatter 20%
Documentation 15%
Issue Health 10%
License 10%
Description 5%
Skill Content
# CAO Supervisor Protocols
Use this skill when supervising worker agents through CLI Agent Orchestrator.
This skill covers how supervisors should dispatch work, decide between `assign` and `handoff`, and receive worker results without blocking inbox delivery.
## Core MCP Tools
From `cao-mcp-server`, supervisors orchestrate work with:
- `assign(agent_profile, message)` for asynchronous work that returns immediately
- `handoff(agent_profile, message)` for synchronous work that blocks until the worker finishes
- `send_message(message, receiver_id=None)` for direct messages — `receiver_id` defaults to the terminal that created yours via handoff/assign
- `answer_user_prompt(terminal_id, answer)` for answering a Hermes worker that reports `waiting_user_answer`
Your own terminal ID is available in the `CAO_TERMINAL_ID` environment variable. CAO appends it to assigned task messages and records it on worker terminals automatically, so you rarely need to handle it yourself.
## Choosing Between Assign and Handoff
Use `assign` when the worker should continue independently and report back later. This is the normal pattern for fan-out work or parallel execution.
Use `handoff` when the next step is blocked on the worker result. The orchestrator waits for completion, captures the worker output, and returns it directly to the supervisor.
Typical pattern:
- Use `assign` for analysis, research, or code changes that can run in parallel.
- Use `handoff` for report generation, blocking ...
Details
- Author
- awslabs
- Repository
- awslabs/cli-agent-orchestrator
- Created
- 1 years ago
- Last Updated
- today
- Language
- Python
- License
- Apache-2.0
Integrates with
Similar Skills
Semantically similar based on skill content — not just same category
AI & Automation Featured
cao-worker-protocols
Worker-side callback and completion rules for assigned and handed-off tasks in CAO
1,089 Updated today
awslabs AI & Automation Solid
cao-agent-routing
Find and select the best installed CAO agent profile for a task before delegating with assign or handoff. Use when a supervisor needs to route coding, documentation, infrastructure, review, research, or other specialist work and the user has not already chosen an agent profile.
1,089 Updated today
awslabs AI & Automation Listed
multi-agent-supervisor
Hierarchical multi-agent orchestration supervisor that decomposes tasks, delegates to specialized worker agents, tracks state, and employs triumvirate consensus for high-stakes operations
4 Updated 4 weeks ago
AreteDriver