Antigravity MCP 与插件 · 框架与插件 · 1 天前 · ★ 1,710

多智能体 CLI 编排器

awslabs/cli-agent-orchestrator
在隔离的 tmux 会话中协调 Claude Code、Kiro、Codex 等多个 AI 编码 CLI 协同工作。适合需要并行跑多个智能体、拆分复杂任务的大型开发场景。
git clone https://github.com/awslabs/cli-agent-orchestrator.git

<!-- An absolute raw URL, not a repo-relative path: this file is also the PyPI long description (see readme in pyproject.toml) and PyPI cannot resolve relative paths.

The banner is used rather than the bare mark because it supplies its own background, so the mark's navy never has to survive a backdrop it cannot see. The bare mark would need a <picture>/prefers-color-scheme swap, since that navy contrasts at only 1.77:1 on GitHub's dark theme, and PyPI allows <img> but not <picture>, so that markup would either be dropped or escaped into visible tag soup depending on how it sanitizes.

The same constraint means the banner cannot be swapped per theme either. It is light, matching PyPI and GitHub's light theme, and it shows as a bright panel on GitHub's dark theme. That is a deliberate trade, not an oversight. Keep in sync with README.zh-CN.md. -->

CLI Agent Orchestrator (CAO)

English | 简体中文

&lt;img src=&quot;/proxy/img?u=aHR0cHM6Ly9pbWcuc2hpZWxkcy5pby9weXBpL3YvY2xpLWFnZW50LW9yY2hlc3RyYXRvci5zdmc&amp;amp;sig=45dd6881ce159737a676&quot; alt=&quot;PyPI version&quot; loading=&quot;lazy&quot; referrerpolicy=&quot;no-referrer&quot;&gt; &lt;img src=&quot;/proxy/img?u=aHR0cHM6Ly9pbWcuc2hpZWxkcy5pby9weXBpL3B5dmVyc2lvbnMvY2xpLWFnZW50LW9yY2hlc3RyYXRvci5zdmc&amp;amp;sig=d9fc7d3fa8510e4356b6&quot; alt=&quot;Python versions&quot; loading=&quot;lazy&quot; referrerpolicy=&quot;no-referrer&quot;&gt; &lt;img src=&quot;/proxy/img?u=aHR0cHM6Ly9kZWVwd2lraS5jb20vYmFkZ2Uuc3Zn&amp;amp;sig=6678c3f9fdf6795a1bb2&quot; alt=&quot;Ask DeepWiki&quot; loading=&quot;lazy&quot; referrerpolicy=&quot;no-referrer&quot;&gt;

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:

  • Python 3.11 or later
  • tmux 3.3 or later
  • uv
  • At least one supported provider CLI, authenticated before you launch CAO:

Kiro CLI, Claude Code, Codex CLI, Antigravity CLI, Hermes, Kimi CLI, Qwen Code, MiniMax Code, GitHub Copilot CLI, OpenCode CLI, Oh My Pi(OMP) CLI, Cursor CLI, or Grok Build CLI

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
  1. In terminal A, start the local server and leave it running:
   cao-server
  1. 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
  1. 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.

  1. 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

CLI, operations MCP server, or plugins.

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.

multi-step pipelines.

load, apply, update, and remove a reusable skill in an isolated home.

persistent cross-session memory, and the opt-in loop that turns workflow outcomes into lessons and promoted instructions.

parallel AI-DLC intents across repositories and isolated worktrees.

coordinate simulated transport, measured custody handoffs, and independent checks.

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.

JevK5-4B decision model locally or on AWS (CDK), behind a loopback-only /v1/systemone API.

provider enforcement.

Amazon EKS, with shared workspace, per-pod state, and credential delivery.

and read-only prerequisite checks.

  • Remote CAO: run CAO on one always-on EC2 box and reach it from your laptop.

Configure and integrate

and launches, and their limits.

ephemeral agents and a decider, written for an agent to follow.

selection, and overrides.

streaming contract.

1.0.0 packages, and CAO's own operator and contributor packages. Every surface — the CLI, TUI, web panel, and the /plugins* HTTP routes — is built but gated off by default pending a naming decision. Set CAO_AGENT_PLUGINS_ENABLED to open it; until then the routes answer 404, exactly as an unregistered path would. CAO's own packages also install without that gate from the repository's marketplace catalogs: /plugin marketplace add awslabs/cli-agent-orchestrator in Claude Code, or codex plugin marketplace add awslabs/cli-agent-orchestrator in Codex (details).

  • Event plugins: outbound events, installation, and authoring.
  • Provider behavior:

Kiro CLI, Claude Code, Codex CLI, Antigravity CLI, Hermes, Kimi CLI, Qwen Code, MiniMax Code, GitHub Copilot CLI, OpenCode CLI, Oh My Pi(OMP) CLI, Cursor CLI, and Grok Build CLI.

guidance.

Contribute

flow.

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.