Skip to main content

CLI Agent Orchestrator (CAO)

English | 简体中文

PyPI version Python versions Ask DeepWiki

CLI Agent Orchestrator (CAO) coordinates multiple AI coding CLIs so a supervisor can delegate work to specialist agents in parallel or sequence.

📚 Documentation — guides, reference, and two interactive courses.

What CAO does

CAO runs a local cao-server, starts provider CLIs in isolated terminal sessions, and gives a supervisor tools for coordinating workers. The agents remain full CLI processes with their native authentication and capabilities. See CODEBASE.md for the runtime architecture and package layout.

Prerequisites

Install:

The focused provider guides contain installation, authentication, and provider-specific behavior.

Install CAO

Install the current main branch as a uv tool:

uv tool install git+https://github.com/awslabs/cli-agent-orchestrator.git@main --upgrade
cao --help

For a tagged release, install cli-agent-orchestrator from PyPI. See DEVELOPMENT.md for a source checkout. For container-based installation, see the devcontainer feature.

To update an existing CAO installation:

cao update

See Updating CAO for source-aware behavior and edge cases.

First supervisor launch

The unqualified commands below use CAO's default Kiro CLI provider. If you installed a different provider, follow its focused guide above for the provider override while keeping the same sequence.

  1. Install the built-in supervisor profile:

    cao install code_supervisor
    
  2. In terminal A, start the local server and leave it running:

    cao-server
    
  3. In terminal B, change to the project directory the agents should work in, then launch the supervisor:

    cd /path/to/your/project
    cao launch --agents code_supervisor
    
  4. Observe the supervisor in the attached launch terminal, open the Web UI at http://localhost:9889, or follow the tmux guide to attach to its session.

  5. Stop the named session when finished:

    cao shutdown --session {session-name}
    

    To stop every CAO session instead, run cao shutdown --all.

Where to go next

Operate CAO

  • Control-plane selection: choose the Web UI, shell CLI, operations MCP server, or plugins.
  • Web UI and MCP Apps: browser and host-rendered fleet interfaces.
  • Kiro Crew: see, steer, start, and stop CAO sessions from the Kiro Crew dashboard with the CAO Shelf App, and remote control a session from a Kiro Crew chat.
  • Flows and workflows: scheduled runs and multi-step pipelines.
  • Launch decisions: local routing settings and content-free records.
  • Skills: install, scope, and author reusable agent guidance.
  • Skills lifecycle example: install, discover, load, apply, update, and remove a reusable skill in an isolated home.
  • Memory and self-learning: persistent cross-session memory, and the opt-in loop that turns workflow outcomes into lessons and promoted instructions.
  • AI-DLC portfolio example: coordinate parallel AI-DLC intents across repositories and isolated worktrees.
  • Cross-zone robot transport: coordinate simulated transport, measured custody handoffs, and independent checks.
  • Hierarchical robot factory: a supervisor and three team-manager agents run nine Open Duck Mini robots on a simulated make, assemble, and ship line, and balance its bottleneck.
  • Self-hosted decision model: run the open JevK5-4B decision model locally or on AWS (CDK), behind a loopback-only /v1/systemone API.
  • Tool restrictions: roles, allowlists, and provider enforcement.
  • Kubernetes deployment: run a supervisor and worker fleet on Amazon EKS, with shared workspace, per-pod state, and credential delivery.
  • Updating CAO: update an installed uv tool.
  • Remote CAO: run CAO on one always-on EC2 box and reach it from your laptop.

Configure and integrate

Contribute

Contributing

See CONTRIBUTING.md and DEVELOPMENT.md before submitting changes. Documentation changes must also follow the documentation maintenance rule.

License

This project is licensed under the Apache License 2.0. See LICENSE.

Metadata

Release files for cli-agent-orchestrator 2.5.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cli-agent-orchestrator 2.5.5
File Size Uploaded Provenance Actions
cli_agent_orchestrator-2.5.5.tar.gz 74.1 MB With provenance Details for cli_agent_orchestrator-2.5.5.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for cli-agent-orchestrator 2.5.5
File Interpreter ABI Platform Actions
cli_agent_orchestrator-2.5.5-py3-none-manylinux_2_28_x86_64.whl Python 3 none Linux glibc 2.28+ x86-64 Details for cli_agent_orchestrator-2.5.5-py3-none-manylinux_2_28_x86_64.whl
cli_agent_orchestrator-2.5.5-py3-none-macosx_11_0_arm64.whl Python 3 none macOS 11.0+ ARM64 Details for cli_agent_orchestrator-2.5.5-py3-none-macosx_11_0_arm64.whl

Total release size: 81.2 MB

Release files / cli_agent_orchestrator-2.5.5.tar.gz

Download URL cli_agent_orchestrator-2.5.5.tar.gz
Size 74.1 MB
Tags Source
SHA-256 checksum
How to use checksums
e59ea9afc7fe84b4b1bfb6fcceb3d8991f4b197bb66fe0478821cc5efef5886f
BLAKE2b-256 checksum
How to use checksums
4236b51e29445e8b2abe3442a4adccb181206f605bcac5f2f0cbaf7ec0a63ed7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 24, 2026.

Transparency log

Release files / cli_agent_orchestrator-2.5.5-py3-none-manylinux_2_28_x86_64.whl

Download URL cli_agent_orchestrator-2.5.5-py3-none-manylinux_2_28_x86_64.whl
Size 3.6 MB
Tags Linux glibc 2.28+ x86-64 Python 3
SHA-256 checksum
How to use checksums
cda78a1fad5a7f7541401a02ca0e9ed0a29938c1462f6cddf55b74c38a61b1e4
BLAKE2b-256 checksum
How to use checksums
2a08a76dd3d609554a8dd122040c746af1d7a02fd5a4dc64e66377c6826e503e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 24, 2026.

Transparency log

Release files / cli_agent_orchestrator-2.5.5-py3-none-macosx_11_0_arm64.whl

Download URL cli_agent_orchestrator-2.5.5-py3-none-macosx_11_0_arm64.whl
Size 3.5 MB
Tags Python 3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
91e45c9e8475f403c09956a0fb33f9762839c3173eb1eb96eb3a728a7c43d161
BLAKE2b-256 checksum
How to use checksums
b792d5be07f11eb5aa41a446040f5ae7f9340d83c5e9fd15a793016a6632e52e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 24, 2026.

Transparency log

Security for cli-agent-orchestrator 2.5.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 3 files in this release have been uploaded with provenance metadata.

Select from 3 files

Attestation for cli_agent_orchestrator-2.5.5.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 24, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page