Mco
Orchestrate AI coding agents. Any prompt. Any agent. Any IDE. Neutral orchestration layer for Claude Code, Codex CLI, Gemini CLI, OpenCode, Qwen Code — works from Cursor, Trae, Copilot, Windsurf, or plain shell.
Install / Use
/learn @mco-org/McoQuality Score
Category
Development & EngineeringSupported Platforms
README
AI coding agents are now standard tools for every developer. But one agent is just one perspective.
Work like a Tech Lead: assign one task to multiple agents, run in parallel, and compare outcomes before acting.
One command. Five agents working at once.
Works with OpenClaw
Running OpenClaw on your machine? It can use MCO as its multi-agent backbone. Just tell OpenClaw what you need:
"Use mco to run a security review on this repo with Claude, Codex, and Gemini. Synthesize the results."
OpenClaw reads mco -h, learns the CLI, and orchestrates the entire workflow autonomously. Your local machine becomes a multi-agent review team — OpenClaw is the manager, MCO is the dispatcher, and Claude/Codex/Gemini/OpenCode/Qwen are the team members.
This works the same way from Claude Code, Cursor, Trae, Copilot, Windsurf, or any agent that can run shell commands.
Demo video (Bilibili): 给 OpenClaw 装上兵权:组建你自己的 AI 军团
What is MCO
MCO (Multi-CLI Orchestrator) is a neutral orchestration layer for AI coding agents. It dispatches prompts to multiple agent CLIs in parallel, aggregates results, and returns structured output — JSON, SARIF, or PR-ready Markdown. No vendor lock-in. No workflow rewrite.
With the rise of agentic coding — led by projects like OpenClaw and the broad availability of Claude Code, Codex CLI, Gemini CLI, and more — every developer now has access to powerful AI agents. MCO takes the next step: instead of relying on a single agent, you orchestrate a team.
MCO is designed to be called by any orchestrating agent or AI-powered IDE — Claude Code, Cursor, Trae, Copilot, Windsurf, or OpenClaw. The calling agent organizes context, assigns tasks, and uses MCO to fan out work across multiple agents simultaneously. For example, OpenClaw running on your machine can call mco review to dispatch code reviews to Claude, Codex, and Gemini in parallel — turning your local setup into a multi-agent review team with a single command. Agents can also orchestrate each other: Claude Code can dispatch tasks to Codex and Gemini via MCO, and vice versa.
One Agent is a Tool. Five Agents are a Team.
No single AI model sees everything. Each model has its own training data, reasoning style, and blind spots. Using just one agent is like having a team of five engineers and only asking one for their opinion.
MCO turns this into a team workflow:
- Assign — You give MCO a task and a list of agents. Like a Tech Lead assigning the same code review to five team members.
- Execute in parallel — All agents work simultaneously. Wall-clock time ≈ the slowest agent, not the sum.
- Review and deduplicate — MCO collects each agent's findings, deduplicates identical issues across agents, and tracks which agents found what (
detected_by). - Synthesize consensus — Optionally, one agent summarizes the combined results: what everyone agrees on, where they diverge, and what to do next.
In practice, different agents catch different things:
- One agent spots a race condition in your async code but overlooks an SQL injection in the ORM layer.
- Another finds the injection immediately but misses the race condition entirely.
- A third catches neither of those but flags a subtle memory leak in the resource cleanup path.
These aren't hypothetical — different models genuinely have different strengths. Some are better at security analysis, some at logic flow, some at performance patterns. By running 3–5 agents in parallel on the same codebase, you get a union of perspectives rather than the intersection. The result is a more thorough review than any single agent could produce, regardless of which one you pick.
This principle extends beyond code review:
- Architecture analysis — different agents surface different design risks and trade-offs
- Bug hunting — broader coverage across code paths and edge cases
- Refactoring assessment — multiple perspectives on impact and safety of proposed changes
The question isn't "which AI agent is best" — it's "why limit yourself to one?"
Key Highlights
- Parallel fan-out — dispatch to multiple agents simultaneously, wait-all semantics
- Any IDE, any agent — works from Claude Code, Cursor, Trae, Copilot, Windsurf, or plain shell
- Agent-to-agent orchestration — agents can dispatch tasks to other agents through MCO
- Dual mode —
mco reviewfor structured code review findings,mco runfor general task execution - Cross-agent deduplication — identical findings from multiple agents are merged automatically with
detected_byprovenance - Consensus engine — merged findings get
consensus_score = agreement_ratio × max_confidenceplusconfirmed/needs-verification/unverifiedconsensus levels - Cross-session memory —
--memoryflag persists findings and agent scores via evermemos-mcp, building institutional knowledge across runs - LLM synthesis —
--synthesizeruns an extra pass to produce consensus/divergence summary across all agents - Live terminal streaming —
--stream liverenders rich real-time terminal progress;--stream jsonlremains available for machine consumers - Debate mode —
--debateadds a second challenge round where agents critique the merged findings before final ranking - Divide mode —
--divide files|dimensionssplits review work by file slices or review dimensions while preserving the existing merge + consensus pipeline - CI/CD integration —
--format sariffor GitHub Code Scanning,--format markdown-prfor PR comments - Environment health check —
mco doctorprobes binary presence, version, and auth status for all providers - Token usage tracking —
--include-token-usagefor best-effort per-agent and aggregate token consumption - Progress-driven timeouts — agents run freely until completion; cancel only when output goes idle
- Stateful sessions —
mco sessionfor persistent multi-turn conversations with prompt queue and cancellation - ACP transport —
--transport acpfor structured JSON-RPC communication via the Agent Client Protocol - Custom ACP agents —
--agent NAME COMMANDto register any ACP-compatible binary as a provider - Custom agent registry —
.mco/agents.yaml,.mcorc.yaml, or~/.mco/agents.yamlcan register shim, ACP, or Ollama-backed agents; inspect them withmco agent list/ `mco a
