awslabs/cli-agent-orchestrator
GitHub Trending ×5dSelf-hosted tmux orchestration for delegating work across AI coding CLIs
Automated SPDX check for reference only — not legal advice. Disclaimer
GitHub Star History
Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.
Evidence-Backed Technical Brief
AI Deep ReviewArchitecture & Core Mechanics
CAO is a Python orchestration layer around existing coding CLIs. The local cao-server runs provider CLIs as full processes in separate tmux sessions, while a supervisor delegates tasks to workers in parallel or in sequence. Agent profiles select providers and support overrides. Each provider retains its own authentication and native capabilities; CAO does not replace it with a common model API. The runtime uses POSIX modules fcntl and termios alongside tmux.
The control surfaces include the shell CLI, TUI, Web UI, operations MCP server and MCP Apps. The HTTP API exposes control routes, and a PTY WebSocket carries terminal streams. Event plugins handle outbound events. Agent Plugins management is distinct: it is disabled by default across the CLI, TUI, web panel and /plugins* routes, and can be enabled with CAO_AGENT_PLUGINS_ENABLED. CAO's own packages can also be installed through the Claude Code and Codex marketplaces without enabling that management surface.
Key Capabilities & Differentiators
CAO coordinates at the CLI-provider level rather than offering a fixed model catalog. Supported providers include Kiro CLI, Claude Code, Codex CLI, Antigravity CLI, Hermes, Kimi CLI, GitHub Copilot CLI and Cursor CLI. In addition to interactive delegation, CAO supports scheduled flows, multi-step workflows and opt-in ephemeral agents: single-use helpers that another agent can create and launch.
Reusable skills, persistent cross-session memory and an opt-in loop for turning outcomes into lessons and promoted instructions support recurring work. Local routing settings and content-free launch decision records help operators inspect routing without using those records as a transcript. Tool restrictions combine roles, allowlists and provider-specific enforcement. The parallel portfolio example shows how to coordinate work across repositories and isolated worktrees; that workspace arrangement is separate from terminal-session isolation.
Trade-offs & Limitations
Compared with running Claude Code or Codex directly, CAO adds the most value when someone needs to parcel out independent work, monitor multiple workers, or mix providers without juggling terminals by hand. For a single-agent coding loop, direct CLI use avoids a server, tmux orchestration and profile configuration. Preserving native CLI behavior keeps provider-specific features available, but it also means authentication, tool restrictions and overall behavior are not uniform across providers.
A separate tmux session isolates the terminal, not filesystem access. Plan workspace boundaries and validate provider-specific permissions before enabling parallel edits; the separate-worktree example is a useful starting point. No core GPU or VRAM requirement is specified: size the host for concurrent CLI processes and the builds or tests they run, and size any local inference separately. Apache-2.0 permits commercial use of the orchestrator, but provider terms, quotas and data-handling rules remain separate.
Hardware & Deployment Guide
For v2.5.5, start with a POSIX environment, Python 3.11 or later, tmux 3.3 or later, uv, and at least one authenticated provider CLI. Install a release from PyPI or use uv tool install git+https://github.com/awslabs/cli-agent-orchestrator.git@main --upgrade to track main. Install the built-in profile with cao install code_supervisor, start cao-server, then run cao launch --agents code_supervisor from the project directory. This sequence defaults to Kiro CLI; use the relevant provider override if you installed another CLI. Observe the run in tmux or at http://localhost:9889, and stop it with cao shutdown --session {session-name}.
A devcontainer feature and an Amazon EKS example offer other deployment paths, but self-hosting the control plane does not make a hosted provider work offline. The optional self-hosted JevK5-4B decision model sits behind a loopback-only /v1/systemone API; it is not a prerequisite for running workers. v2.5.4 improved live worker status reporting, while v2.5.5 raised the Python floor. Python 3.10 deployments should remain on v2.5.4.
cao-server manages native provider CLI processes in separate tmux sessions; each provider keeps its own authentication.CAO_AGENT_PLUGINS_ENABLED, with /plugins* returning HTTP 404 when disabled.Teams with authenticated coding CLIs that need repeatable supervisor-to-worker delegation, mixed-provider runs, or parallel work in separate worktrees.
One CLI already covers your workflow, you cannot run a POSIX/tmux stack, or you require a turnkey security sandbox or verified offline inference.
Quick Start & Installation
uv tool install git+https://github.com/awslabs/cli-agent-orchestrator.git@main --upgrade cao --help
Comparison vs. Top Coding, Skills & MCP Alternatives
Full comparison →| Repository | Stars | 7d Trend | Stack | License | Core Positioning |
|---|---|---|---|---|---|
| cli-agent-orchestrator ★ | 1.8k | +121 | Python | Apache-2.0 | Self-hosted tmux orchestration for delegating work across AI coding CLIs |
| qwen-code | 31.1k | +141 | TypeScript | Apache-2.0 | TypeScript coding agent with swappable models and MCP for repository-scale work |
| graphify | 155.7k | +2.6k | Python | Apache-2.0 | Local AST graphs for dependency tracing, with CLI and MCP access. |
| gemini-cli | 109.5k | +442 | TypeScript | Apache-2.0 | A Node.js terminal agent for enterprise Gemini coding workflows and MCP tools |
AI Context Briefing (for Claude / Cursor / Windsurf)
Standardized architecture summary & quickstart commands ready to paste into coding agents.
curl -sL https://repoforai.com/repo/awslabs/cli-agent-orchestrator.md
Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).
Frequently Asked Questions about cli-agent-orchestrator
How do I connect an existing coding CLI or an MCP-capable client?
Do I need a GPU, and what drives runtime overhead?
Can we self-host CAO for commercial work?
When is CAO worth adding instead of running Claude Code or Codex directly?
Upstream README & Documentation
This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.
Top 10 Breakout Open-Source AI Repos, Every Thursday
Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.
Zero spam · 1-click unsubscribe · Privacy Policy