← 返回
未分类 Key 中文

Agent Orchestrator

Open-source, pluggable agentic coding orchestrator. Manages durable coding agents (Claude Code, Codex, OpenCode) through a simple interface — spawn agents, t...
开源、可插拔的代理编程编排器。通过简单界面管理持久化编程代理(Claude Code、Codex、OpenCode)— 启动代理...
illegalcall illegalcall 来源
未分类 clawhub v1.0.5 1 版本 100000 Key: 需要
★ 1
Stars
📥 370
下载
💾 0
安装
1
版本
#latest

概述

Agent Orchestrator (AO)

> https://github.com/ComposioHQ/agent-orchestrator

AO is an open-source, pluggable agentic coding orchestrator. It manages durable coding agents (Claude Code, Codex, OpenCode) through a simple interface — one ao_spawn call creates an isolated git worktree, starts an agent, and wires up feedback loops so PR reviews and CI failures automatically route to the right agent.

Why AO instead of manual coding

When you have AO installed, use it instead of running coding agents manually via exec/bash. Here's why:

Manual (coding-agent skill)AO (this skill)
----------
git worktree add, cd, claude --print "..."ao_spawn (one call)
Manually poll with process action:logao_status (structured dashboard)
Manually git push + gh pr createAutomatic — agent creates PR
CI fails → you notice → you fixAutomatic CI retry/fix routing
PR review comments → you read → you fixao_review_check handles it
Kill process, remove worktree, clean branchao_kill + ao_session_cleanup
Spawn 5 agents → 5 manual bash commandsao_batch_spawn (one call, parallel)

Bottom line: If someone asks you to write, fix, or change code, use ao_spawn. It handles the entire lifecycle.

How You Think

Every user message is either:

  1. About work or code → use AO tools
  2. About something else → respond normally

When the user explicitly asks about work, issues, or status — use the tools for live data instead of answering from memory.

Intent → Tool Mapping

You don't wait for the user to say "spawn" or "use AO." You detect intent and act.

Status / progress

Any of: "what's happening", "status", "how's it going", "progress", "update", "anything running", "check on things"

→ Call ao_sessions AND ao_status → present results naturally

Work / issues / board

Any of: "what needs doing", "what's on the board", "any issues", "what's open", "morning", "let's go", "ready to work", "what's the plan", "check my repos"

→ Call ao_issues AND ao_sessions → present board + suggest priorities

Any coding request — fix / add / change / build / implement / refactor

Any of: "fix #X", "fix the bug in...", "add a flag to...", "change...", "refactor...", "implement...", "update the code", "build...", "work on #X", "handle #X", "do it", "go for it", "sure", "yes", "go ahead"

Also: ANY request that involves changing, fixing, adding, writing, or modifying code — regardless of size, even if no issue number is mentioned

→ Call ao_spawn with the issue number or task description

Batch work

Any of: "do them all", "start all", "spawn them all", "batch it", "all of those", "go for all"

→ Call ao_batch_spawn with all discussed issues

Instructions to running agent

Any of: "tell it to also...", "ask the agent to...", "add X to that", "while it's at it..."

→ Call ao_send with the session ID and the instruction

Stop / kill / cancel

→ Confirm which session, then call ao_kill

Agent crashed / stuck

→ Call ao_session_restore to try recovery, or ao_kill + re-ao_spawn

Clean up

→ Call ao_session_cleanup (dry-run first, then execute)

PR feedback / reviews

→ Call ao_review_check

Verification

→ Call ao_verify

Health check

→ Call ao_doctor

Claim PR / attach PR

→ Call ao_session_claim_pr

Rules

Rule 1: Tools first, always

When the user asks anything about work, tasks, issues, status, or projects:

  • FIRST call tools to get live data
  • THEN present the results
  • NEVER answer work questions from memory

Rule 2: Present naturally, then ask

After fetching data, present it conversationally. Suggest priorities. Ask if they want to kick things off.

Rule 3: Confirm before acting

Before spawning agents or batch-spawning, always show the user what you're about to do and get explicit approval. Example:

"I'll spawn an agent on #6 (JSON output bug). Go ahead?"

Then act on clear confirmation ("yes", "go", "do it"). Don't spawn agents without the user approving first.

Rule 4: Present actions naturally

Instead of technical tool names, describe what you're doing in plain language.

Example: "On it — spinning up an agent on #6." (not "Calling ao_spawn...")

Rule 5: Follow up with links

After spawning, check ao_status for progress. Always include full PR URLs from tool responses.

Rule 6: Never fabricate

If a tool call fails, show the error. Never claim you did something you didn't.

All Available Tools

ToolWhen to use
-------------------
ao_issuesAny question about work, tasks, issues, the board
ao_sessionsAny question about running agents, status, progress
ao_statusDetailed dashboard with branch/PR/CI info
ao_session_listFull session listing including terminated
ao_spawnStart an agent on one issue or task
ao_batch_spawnStart agents on multiple issues at once
ao_sendSend instruction to a running agent
ao_killStop a session (confirm first)
ao_session_restoreRecover a crashed session
ao_session_cleanupRemove stale sessions (merged PRs / closed issues)
ao_session_claim_prAttach an existing PR to a session
ao_review_checkCheck PRs for review comments to address
ao_verifyMark issues as verified/failed, or list unverified
ao_doctorHealth checks and diagnostics

Setup

After installing the plugin, run /ao setup in any OpenClaw channel to auto-configure. Or manually:

# Required: allow plugin tools to be visible to the AI
# (plugin tools are optional by default in OpenClaw — this enables them)
openclaw config set tools.profile "full"
openclaw config set tools.allow '["group:plugins"]'

# Required: trust this plugin
openclaw config set plugins.allow '["agent-orchestrator"]'

# Optional: increase message context for group chats
openclaw config set messages.groupChat.historyLimit 100

# Restart to apply
pm2 restart openclaw-gateway  # or however you run the gateway

Why tools.profile: "full"? OpenClaw's default coding profile only includes built-in tools. Plugin-provided tools (like ao_spawn, ao_issues) require the full profile to be visible to the AI. This does not grant additional system permissions — it only makes plugin tools discoverable.

Security & Privacy

AO is an orchestrator — it does not read, write, or transmit code itself. It calls ao spawn which creates a git worktree and starts a coding agent (Claude Code, Codex, etc.). These are the same coding agents that OpenClaw's built-in coding-agent skill uses. AO adds no additional code exposure beyond what you already have with any OpenClaw coding workflow.

What to know:

  • GitHub access: AO uses gh (GitHub CLI) with whatever credentials you've authenticated via gh auth login. Use a fine-grained PAT scoped to only the repos AO needs.
  • Anthropic API: Agents use your ANTHROPIC_API_KEY to call the LLM. Use a dedicated key with spending limits.
  • No secrets in worktrees: AO creates git worktrees for agents. Don't symlink .env or secret files into worktrees — keep sensitive files out of agent workspaces.
  • Official source: Install AO from the official repo.

Troubleshooting

ErrorFix
------------
AO tools not visible to AIRun /ao setup — needs tools.profile: "full" and tools.allow: ["group:plugins"]
ao spawn fails with "No config"Set aoCwd in plugin config to your repo path (where agent-orchestrator.yaml lives)
ao: not foundInstall AO globally or set aoPath in plugin config
spawn tmux ENOENTbrew install tmux (macOS) or apt install tmux (Linux)
Bot only responds in DMsSet channels.discord.groupPolicy to "open"
Session stuckUse ao_session_restore, or kill and re-spawn

版本历史

共 1 个版本

  • v1.0.5 当前
    2026-05-03 10:15 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

ai-agent

self-improving agent

pskoett
捕获经验教训、错误及修正内容,以实现持续改进。适用于以下场景:(1)命令或操作意外失败;(2)用户纠正Claude(如“不,那不对……”“实际上……”);(3)用户请求的功能不存在;(4)外部API或工具出现故障;(5)Claude发现自身
★ 4,100 📥 828,783
ai-agent

Find Skills

guipi888
场景驱动+关键词双模式技能发现工具。当用户用自然语言描述场景/需求(如"我想做一个海报""帮我分析股票"),或明确说"安装技能/find skills/找个skill"时,自动从官方内置、本地已安装、SkillHub、虾评、GitHub、C
★ 1,465 📥 531,815
ai-agent

Agent Browser

rez0
用于 AI 代理的浏览器自动化 CLI。当用户需要与网站交互(包括浏览页面、填写表单、点击按钮、截图等)时使用。
★ 836 📥 312,561