Agency Orchestrator

September 10, 2026 · View on GitHub

English | 中文

One sentence in, a full plan out — multiple AI roles collaborate automatically.

It's your one-person company: you're the boss, AI is the team — auto-assembled, asking your sign-off on big calls, delivering against acceptance criteria.

CI npm version License: Apache-2.0 PRs Welcome

One sentence → full plan · 276 expert AI roles · Zero-code YAML · 15 LLM providers · key supported (DeepSeek recommended), plus 11 key-free options

Note: ao compose --run auto-detects your language. Both 276 Chinese roles and 191 English roles (184 from agency-agents, MIT, plus 7 added here — the C-suite and a video prompt engineer, see agency-agents/company/NOTICE.md) are bundled in the npm package — no extra download needed. 11 English workflow templates are ready in workflows/en/.

📖 Full Tutorial (install to real-world use in 10 minutes)  ·  🎓 Free companion courses (English): Learn AI Coding (182 lessons) + Build AI Agents (40 lessons, incl. multi-agent) · also in 日本語 / Español / 한국어 · 13 courses / 648 lessons in total, all free

If you find this useful, please Star it — helps others discover the project.

Web Studio: one sentence, AI builds the team
Web Studio: type one sentence, AI builds a team from 200+ experts and runs it


Web Studio (GUI)

Prefer not to use the command line? Run ao web locally and pick experts, run workflows, view outputs, and intervene live — all in a GUI, fully bilingual (EN/中文).

Get running

  • Zero-config first run — already logged into Claude Code or another coding CLI? AO auto-detects it — no API key needed
  • AI auto-teaming — don't know which experts to pick? Describe the task in one sentence and AI assembles the team from all 276 roles and runs it
  • "Solo Company" template series — build a product / produce content / run investment research + an all-hands meeting; key steps carry acceptance criteria, so deliverables are verifiable work, not promised miracles

Shape it your way

  • Visual canvas — drag nodes / wire edges (cycle-safe) / edit tasks & roles / save; nodes light up live while running
  • Multilingual role librariesnpm i agency-agents-ko (ko / ru / pt-br / id / ar), then switch libraries from the "Role library" dropdown; workflows just put the package name in agents_dir
  • Creative Library1,500+ image prompts (229 curated + a 1,275-strong extra pool; search, filter, copy, or generate right there with a key) and 76 video prompts (22 five-part genre templates with variable tables, 6 reusable building blocks, 48 community singles). The extra pool loads only when you ask for it, so the page stays fast.

Ship what you made

  • 🆕 Shareable report page — one click on a finished run (CLI: ao report) renders a self-contained single-file HTML: expert timeline + every step's output. Send the file to anyone; it opens on double-click, no AO required
  • 🆕 Result push to group chatsao run --notify <webhook> posts the result to DingTalk / Feishu (Lark) / WeCom / Slack-style webhooks when done (bot format auto-detected by domain). Pair with cron: "your AI team delivers every morning"
  • 🆕 Community templates — a curated remote-manifest section on the Workflows page: one-click import (engine-validated before saving); submit yours via CONTRIBUTING

The one thing only AO does: safe provider switching + one-click rescue

Switch your system Claude to any relay in one click — written to global config so claude just works in any terminal — with an automatic backup first, a one-click revert to official login, and it never touches your official OAuth credentials. Broke ~/.claude with another switcher or by hand (fake token overriding login → CLI unusable machine-wide)? The "System Claude health" card fixes it in one click.

Other tools switch everything but may break your setup; AO does one thing — switch safely, and fix what others broke.

Studio · Build a Team: switchable role libraries (English library, 191 roles, shown), C-suite on top
Build a Team: ☆ favorites, My Roles, and a role-library dropdown — Chinese / English / Korean / Russian / pt-BR / Indonesian / Arabic

Studio · Workflows: run built-in templates with one click
Workflows: run built-in templates with one click, or compare several

Launch: ao web (local — your API key stays on your machine, never uploaded). A desktop client download (Electron · macOS / Windows / Linux) is also available.

Docker / NAS (amd64/arm64): docker run -d -p 8088:8088 -v ao-data:/data ghcr.io/jnmetacode/agency-orchestrator:latest, then open http://<host>:8088 — keys are configured in the Providers tab and persist in the mounted volume. A ready-made docker-compose.yml is in the repo root.


One Sentence, Full Result

Prefer the command line? One command, one sentence, full result:

ao compose "I'm a programmer looking to start a side hustle with AI content, target \$3K/month, give me a complete plan" --run

ao compose CLI demo

5 AI roles collaborate automatically:

  Workflow: Programmer AI Side Hustle Plan
  Steps: 5 | Model: claude-code
  Roles: 🔭 Trend Researcher | 📱 Platform Analyst | 💰 Financial Planner | ✍️ Content Strategist | 📋 Execution Planner
──────────────────────────────────────────────────

  ✅ 🔭 Trend Researcher   31.3s  → 6 niches compared by competition/ceiling/AI leverage
  ✅ 📱 Platform Analyst    32.0s  → 6 platforms scored, recommends "YouTube + Newsletter" combo
  ✅ 💰 Financial Planner   31.8s  → \$3K/mo breakdown: course \$1,800 + community \$600 + consulting \$600
  ✅ ✍️ Content Strategist   44.6s  → 20 topics + 4 headline formulas + content SOP
  ✅ 📋 Execution Planner   42.2s  → 90-day action plan, day-by-day

==================================================
  Done: 5/5 steps | 182.1s | 6,493 tokens
==================================================

No code. No config. No role selection. One sentence → AI auto-decomposes the task → matches roles from 276 experts → executes as DAG → outputs a complete plan.

What Can You Build

ao compose "Analyze the feasibility of building an AI budgeting app" --run        # Startup feasibility
ao compose "Compare Cursor, Windsurf, and Copilot — give me a recommendation" --run  # Tech comparison
ao compose "Write a deep-dive article on AI Agent trends" --run                    # Long-form writing
ao compose "Plan an AI education startup with \$15K budget" --run                   # Business plan
ao compose "PR code review covering security and performance" --run                # Code review
ao compose "Design a pricing strategy for a SaaS product" --run                    # Pricing analysis

Each scenario auto-matches a different combination of AI roles.


Why Agency Orchestrator

Chatting with one AI gives you one perspective. But any real decision needs product, engineering, finance, and marketing perspectives...

Agency Orchestrator = multiple AI experts working in parallel, then synthesized. One person vs. a whole team.

ChatGPT / ClaudeCrewAI / LangGraphAgency Orchestrator
Roles1 generalistWrite your own276 expert roles
UsageChatWrite PythonOne sentence / YAML
API keyRequiredKey supported; 11 key-free options too
Dependenciespip + dozens of packagesnpm + 2 deps
ParallelismManual graphAuto DAG detection
PriceSubscriptionOpen-source + API feesDeepSeek sweet spot is dirt cheap; key-free to start

Get Started in 3 Steps

Step 1: Install

npm install -g agency-orchestrator

Step 2: One sentence, go

# Use your existing Claude subscription (no API key needed)
ao compose "Analyze the feasibility of building an AI budgeting app" --run --provider claude-code

# Or use DeepSeek (\$2 lasts forever)
export DEEPSEEK_API_KEY="your-key"
ao compose "Analyze the feasibility of building an AI budgeting app" --run

Step 3: Use built-in templates or integrate with AI coding tools

# 10 English workflow templates in workflows/en/
ao run workflows/en/solo-founder-plan.yaml -i idea="AI-powered resume builder for job seekers"
ao run workflows/en/pr-review.yaml -i pr_diff=@mypr.diff -i pr_description="Add auth middleware"
ao run workflows/en/business-plan.yaml -i idea="B2B SaaS for remote-team project tracking"

Also works inside Cursor / Claude Code — just say "run a workflow." Supports 19 AI tools (integration guides).

From Plan to Execution: AO × Coding-Agent Combo

Big-tech AI workstations sell "we operate your computer for you." Our answer is division of labor: AO does the thinking, your coding agent does the doing — the plan is reviewed by multiple experts, the execution is a real coding agent, and nothing in between is a black box:

# 1) Multi-expert planning (clarify → plan → project scaffold), code blocks land as real files
ao run workflows/en/solo-founder-plan.yaml -i idea="a CLI bookkeeping tool" --materialize ./my-app

# 2) Install the 276 expert roles into your coding tool (claude-code / cursor / copilot… 14 tools)
ao install --tool claude-code

# 3) Hand off to the coding agent — scaffold and experts are already in place
cd my-app && claude "complete the project per the plan and make the tests pass"

Every artifact lives in ao-output/ and your project directory: re-runnable (--resume), revisable with notes (--feedback), shareable (ao report). Wrong plan? Fix the plan. Wrong code? Fix the code. You always know which layer failed.

Scheduled Runs + Group Push (your AI team clocks in daily)

--notify <url> posts the result to a group chat when a run finishes — bot format auto-detected for DingTalk / Feishu (Lark) / WeCom, generic {text} for everything else (Slack-compatible). With cron it becomes a daily pipeline:

# every weekday 8am: brief the team channel automatically
0 8 * * 1-5 ao run workflows/en/content-pipeline.yaml --notify https://open.feishu.cn/open-apis/bot/v2/hook/xxx

Push failures print one line and never affect the run. Want the full output? ao report last renders a shareable single-file report page.

More Real Demos

$ ao compose "Analyze startup opportunities in short-form video" --run

  Workflow: Short-Form Video Startup Opportunity Analysis
  Steps: 6 | Concurrency: 2 | Model: deepseek-chat
  Roles: 👔 CEO | 📊 Market Researcher | 🔍 User Researcher | 🧭 Product Manager | 📣 Marketing Lead | 💰 CFO
──────────────────────────────────────────────────

  ✅ 👔 CEO              12.7s   → Strategic direction & target user positioning
  ✅ 📊 Market Researcher 45.2s   → 700M DAU data, competitive landscape analysis
  ✅ 🔍 User Researcher   38.1s   → User personas, pain points, willingness to pay
  ✅ 🧭 Product Manager   41.3s   → MVP feature list, content matrix, monetization paths
  ✅ 📣 Marketing Lead    35.6s   → Cold start plan, ad strategy, user funnel
  ✅ 💰 CFO              28.4s   → \$200K startup, \$550K first-year revenue, break-even analysis

==================================================
  Done: 6/6 steps | 233.0s | 65,191 tokens
==================================================

Of the 6 roles, Market Researcher and User Researcher run in parallel (auto-detected from DAG dependencies).

How It Works

name: "Product Requirements Review"
agents_dir: "agency-agents"      # or "agency-agents-zh" for Chinese roles

llm:
  provider: "deepseek"          # No API key: claude-code / gemini-cli / copilot-cli / codex-cli / hermes-cli / codebuddy-cli / cline-cli / opencode-cli / dsh-cli / ollama
  model: "deepseek-chat"

concurrency: 2

inputs:
  - name: prd_content
    required: true

steps:
  - id: analyze
    role: "product/product-manager"
    task: "Analyze this PRD and extract core requirements:\n\n{{prd_content}}"
    output: requirements

  - id: tech_review
    role: "engineering/engineering-software-architect"
    task: "Evaluate technical feasibility:\n\n{{requirements}}"
    output: tech_report
    depends_on: [analyze]

  - id: design_review
    role: "design/design-ux-researcher"
    task: "Evaluate UX risks:\n\n{{requirements}}"
    output: design_report
    depends_on: [analyze]

  - id: summary
    role: "product/product-manager"
    task: "Synthesize feedback:\n\n{{tech_report}}\n\n{{design_report}}"
    acceptance: "1. Clear go/no-go verdict  2. List must-fix issues"  # optional: injected at prompt tail, used as review yardstick
    depends_on: [tech_review, design_review]

The engine automatically:

  1. Parses YAML → builds a DAG (directed acyclic graph)
  2. Detects parallelism — tech_review and design_review run concurrently
  3. Passes outputs between steps via {{variables}}
  4. Loads role definitions from agency-agents (or agency-agents-zh) as system prompts
  5. Retries on failure (exponential backoff)
  6. Saves all outputs to ao-output/
analyze ──→ tech_review  ──→ summary
         └→ design_review ──┘
          (parallel)

15 LLM Providers — 11 Need No API Key

Already paying for one of these? You're ready to go:

You have...Provider configInstall CLICost to you
Claude Max/Pro ($20/mo)provider: "claude-code"npm i -g @anthropic-ai/claude-code$0 extra
Google Accountprovider: "gemini-cli"⚠️ Retired (Google shut down Gemini CLI on 2026-06-18; enterprise Code Assist licenses only) — use Antigravity CLI
GitHub Copilot ($10/mo)provider: "copilot-cli"npm i -g @github/copilot$0 extra
ChatGPT Plus ($20/mo)provider: "codex-cli"npm i -g @openai/codex$0 extra
Antigravity account (Google — Gemini CLI's successor)provider: "antigravity-cli"install.sh (binary agy)$0 extra (free tier ~20 req/day)
OpenClaw accountprovider: "openclaw-cli"npm i -g openclaw$0 extra
Hermes Agent (NousResearch open-source 🔥)provider: "hermes-cli"Install guideFree
Tencent WorkBuddy / CodeBuddy subscriptionprovider: "codebuddy-cli"Bundled with the WorkBuddy desktop app (macOS); or npm i -g @tencent-ai/codebuddy-codeFree (guide)
Whatever provider/account Cline is signed intoprovider: "cline-cli"npm i -g cline + cline authNo extra key (guide)
Whatever provider/account OpenCode is signed intoprovider: "opencode-cli"npm i -g opencode-ai + opencode auth loginNo extra key (guide)
DeepSeek Harness (dsh, developer preview)provider: "dsh-cli"npm i -g @deepseek-ai/dsh (Node ≥ 22.15) + DEEPSEEK_API_KEYNo extra key (guide)
A computerprovider: "ollama"ollama.aiFree (local models, see note below)

⚠️ Model capability drives the value of multi-agent. We verified this with a quality eval (see EVAL_FINDINGS.md; web version: English): on the DeepSeek tier (capable yet cheap), multi-agent output clearly beats a single prompt; but with weak local models (e.g. llama3 8B), the role hand-offs amplify drift and can do worse than a single call. For quality, use a capable model (DeepSeek/Claude/Gemini); for local Ollama, prefer 70B+ models.

Or use traditional API keys (DeepSeek recommended for the price/quality sweet spot):

ProviderConfigEnv Variable
DeepSeekprovider: "deepseek"DEEPSEEK_API_KEY
Volcengine Ark (Doubao / Kimi / GLM · sponsor)provider: "volcengine"ARK_API_KEY
Claude APIprovider: "claude"ANTHROPIC_API_KEY
OpenAIprovider: "openai"OPENAI_API_KEY

Custom API (any OpenAI-compatible endpoint):

ao init --provider openai --model model-name \
  --base-url https://your-api-endpoint/v1 \
  --api-key your-key

Or edit .env manually:

AO_PROVIDER=openai
AO_MODEL=model-name
OPENAI_BASE_URL=https://your-api-endpoint/v1
OPENAI_API_KEY=your-key

⚠️ Use provider: "openai" for third-party APIs, not provider: "ollama". Ollama is for local models only and does not send API keys.

CLI Reference

ao demo                              # Zero-config multi-agent demo
ao init                              # (Optional) Copy 276 Chinese roles locally for editing
ao init --lang en                    # (Optional) Copy 184 English roles locally for editing
ao init --workflow                    # Interactive workflow creator
ao compose "description"             # AI-powered workflow generation
ao compose "description" --run       # Generate AND execute in one command
ao team save <workflow.yaml>         # Save a role line-up as a reusable team (Loadout)
ao team list / show / rm             # Manage saved teams
ao run --team <name> "new task"      # Run a new task with a saved team (locked line-up)
ao prompt optimize "<prompt>"        # AI-optimize a prompt (--save to keep it reusable)
ao prompt test / list / garden       # Test / manage / starter templates (prompt library)
ao skills [name]                     # List / view methodology skills to attach to steps
ao run <workflow.yaml> [options]      # Execute workflow
ao validate <workflow.yaml>          # Validate without running
ao plan <workflow.yaml>              # Show execution plan (DAG)
ao explain <workflow.yaml>           # Explain execution plan in natural language
ao roles                             # List all available roles
ao serve                             # Start MCP Server (for Claude Code / Cursor)
OptionDescription
--input key=valuePass input variables
--input key=@fileRead variable value from file
--output dirOutput directory (default ao-output/)
--resume <dir|last>Resume from previous run
--from <step-id>With --resume, restart from a specific step
--watchReal-time terminal progress display
--quietQuiet mode

AI Workflow Composer

Describe your workflow in one sentence — AI selects the right roles, designs the DAG, and generates a ready-to-run YAML:

ao compose "PR code review covering security and performance"

The AI will:

  1. Select matching roles from 276 available (e.g., Code Reviewer, Security Engineer, Performance Benchmarker)
  2. Design the DAG (3-way parallel → summary)
  3. Generate complete YAML with variable passing and task descriptions
  4. Save to workflows/ — ready to ao run

Add --run to generate and execute in one command. Supports --provider and --model flags (default: DeepSeek).

Teams / Loadouts (save a winning line-up and reuse it)

Every compose builds an ad-hoc team. When a line-up works well, save it as a team and apply it to any new task — a team stores only the roles, decoupled from any specific task:

# Extract the line-up from a workflow that worked well, save it as a team
ao team save workflows/tech-blog.yaml --name blog-crew

# Put the whole crew on a new task (re-designs the steps for those roles and runs)
ao run --team blog-crew "Write an explainer on the RISC-V architecture"

ao team list           # List saved teams
ao team show blog-crew # Inspect the line-up

ao run --team simply locks the compose role catalog down to the team's roles — so nobody is dropped and no role is hallucinated. Teams live in ~/.ao/teams/*.team.yaml (plain YAML, copy-to-share) and are shared between the CLI and the web Studio — pick roles in Studio, hit "Save as team", and ao run --team can use it immediately, and vice versa.

Bring your own experts: set AO_AGENTS_DIR=/your/roles/dir and run / compose / roles / web all switch to your own role library.

Fixed global dir: set AO_HOME=~/.ao (or any dir) so run outputs (ao-output) and generated workflows (compose / --team) land there instead of scattering across the CWD (#20). Or set AO_OUTPUT_DIR / AO_WORKFLOWS_DIR individually. Unset = unchanged (writes to current dir).

Prompt Lab

Turn gut-feel prompts into assets you can optimize, test, compare, and save:

ao prompt optimize "write a tweet selling coffee" --save coffee-copy   # AI rewrites it into a sharper prompt
ao prompt test "You are a translator, output only the translation" --mode system --input "good morning"
ao prompt list / show coffee-copy   # saved prompts + version history
ao prompt garden                    # built-in starter templates

--mode system|user distinguishes role/system prompts from task prompts. Optimize only ever produces a better prompt (it never executes the prompt). The Studio "Prompts" tab adds side-by-side original-vs-optimized comparison with AI scoring. Stored in ~/.ao/prompts/ (AO_PROMPTS_DIR to override), shared between CLI and Studio.

Skills (attach a methodology to a step)

Roles decide who does it; skills decide how. Attach a skill (a methodology playbook) to a workflow step and its method is injected into that step — e.g. make the review step follow a structured review method, or the implementation step do TDD:

steps:
  - id: review
    role: "engineering/engineering-code-reviewer"
    skill: "chinese-code-review"     # single; or skills: ["test-driven-development", ...]
    task: "Review this code {{code}}"
ao skills                            # list all available skills
ao skills test-driven-development    # view a skill's methodology

Skill content comes straight from the open-source superpowers-zh (MIT, 20 skills, bundled as a dependency — zero config). Or set AO_SKILLS_DIR=/your/skills/dir for your own.

Resume & Iterate

Not happy with a step? No need to start over. --resume reloads previous outputs, --from specifies where to restart:

# Round 1: Normal run
ao run workflows/en/solo-founder-plan.yaml -i idea="AI-powered resume builder for job seekers"

# Marketing plan needs work? Re-run from that step
ao run workflows/en/solo-founder-plan.yaml --resume last --from marketing_plan

# Only redo the final decision
ao run workflows/en/solo-founder-plan.yaml --resume last --from ceo_decision

Each round saves to a new timestamped directory in ao-output/. All versions are preserved.

ScenarioCommand
First runao run workflow.yaml -i key=value
Re-run from a stepao run workflow.yaml --resume last --from <step-id>
Re-run only failed stepsao run workflow.yaml --resume last
Resume specific versionao run workflow.yaml --resume ao-output/<dir>/ --from <step-id>

MCP Server Mode

AI coding tools (Claude Code, Cursor, etc.) can invoke workflow operations directly via the MCP protocol:

ao serve              # Start MCP stdio server
ao serve --verbose    # With debug logging

Claude Code (settings.json):

{
  "mcpServers": {
    "agency-orchestrator": {
      "command": "npx",
      "args": ["agency-orchestrator", "serve"]
    }
  }
}

Cursor (.cursor/mcp.json):

{
  "mcpServers": {
    "agency-orchestrator": {
      "command": "npx",
      "args": ["agency-orchestrator", "serve"]
    }
  }
}

6 tools available: run_workflow, validate_workflow, list_workflows, plan_workflow, compose_workflow, list_roles.

YAML Schema

Workflow

FieldTypeRequiredDescription
namestringYesWorkflow name
agents_dirstringYesPath to role definitions directory
llm.providerstringYesclaude-code / gemini-cli / copilot-cli / codex-cli / openclaw-cli / hermes-cli / codebuddy-cli / cline-cli / opencode-cli / dsh-cli / ollama / claude / deepseek / openai
llm.modelstringYesModel name
llm.max_tokensnumberNoDefault 4096
llm.timeoutnumberNoStep timeout in ms (default API 120000 / CLI/ollama 600000). Automatically extends x1.5 on timeout retry up to 3600000. 0 means no timeout
llm.retrynumberNoRetry count (default 3)
concurrencynumberNoMax parallel steps (default 2)
inputsarrayNoInput variable definitions
stepsarrayYesWorkflow steps

Step

FieldTypeRequiredDescription
idstringYesUnique step identifier
rolestringYesRole path (e.g. "engineering/engineering-sre")
taskstringYesTask description, supports {{variables}}
outputstringNoOutput variable name
depends_onstring[]NoDependent step IDs
depends_on_modestringNo"all" (default) or "any_completed"
conditionstringNoCondition expression; step skipped if not met
typestringNo"approval" for human approval gate
promptstringNoPrompt text for approval nodes
loopobjectNoLoop config
loop.back_tostringNoStep ID to loop back to
loop.max_iterationsnumberNoMax loop rounds (1-10)
loop.exit_conditionstringNoExit condition expression

Programmatic API

import { run } from 'agency-orchestrator';

const result = await run('workflow.yaml', {
  prd_content: 'Your PRD here...',
});

console.log(result.success);     // true/false
console.log(result.totalTokens); // { input: 1234, output: 5678 }

Integrations

Works with 14 AI coding tools — install with one command:

./scripts/install.sh                       # auto-detect installed tools
./scripts/install.sh --tool copilot        # or specify one
ToolConfig LocationInstall CommandDocs
Claude CodeSkill mode--tool claude-codeGuide
GitHub Copilot.github/copilot-instructions.md--tool copilotGuide
Cursor.cursor/rules/--tool cursorGuide
Windsurf.windsurfrules--tool windsurfGuide
Kiro.kiro/steering/--tool kiroGuide
Trae.trae/rules/--tool traeGuide
AiderCONVENTIONS.md--tool aiderGuide
Gemini CLIGEMINI.md--tool gemini-cliGuide
Codex CLI.codex/instructions.md--tool codexGuide
OpenCode.opencode/instructions.md--tool opencodeGuide
Qwen Code.qwen/rules/--tool qwenGuide
DeerFlow 2.0skills/custom/--tool deerflowGuide
AntigravityAGENTS.md--tool antigravityGuide
OpenClawSkill mode--tool openclawGuide

Four more tools plug in the other way round — AO runs on the tool's own subscription (--provider …), and some also take the 276 roles as sub-agents (ao install --tool …):

ToolRun AO on its accountRoles as sub-agentsDocs
WorkBuddy / CodeBuddy (Tencent)--provider codebuddy-cliao install --tool workbuddy / codebuddyGuide
Cline--provider cline-cli— (.clinerules are global rules, not agents)Guide
Hermes Agent--provider hermes-cliGuide
DeepSeek Harness (dsh, developer preview)--provider dsh-cliGuide
Cherry Studioits API gateway as an OpenAI-compatible endpointGuide

English Workflow Templates (6)

Ready to run with agency-agents English roles:

TemplateRolesDescription
en/solo-founder-plan.yamlCEO, Market/User Researcher, Tech Lead, Brand, PM, Marketing, CFOSolo founder all-hands — one sentence → 8 departments plan → CEO decision
en/pr-review.yamlCode Reviewer, Security Engineer, Performance BenchmarkerPR review (3-way parallel → merge verdict)
en/product-review.yamlPM, Architect, UX ResearcherPRD review (tech + design parallel → synthesis)
en/business-plan.yamlTrend Researcher, FP&A Analyst, PM, Executive SummaryBusiness plan (market → parallel forecast + roadmap → plan)
en/content-pipeline.yamlSocial Strategist, Content Creator, Growth HackerContent pipeline (research → draft → brand review → finalize)
en/competitor-analysis.yamlTrend Researcher, Analytics Reporter, SEO Specialist, Executive SummaryCompetitor report (research → data + SEO parallel → summary)
ao run workflows/en/solo-founder-plan.yaml -i idea="Your idea here"

Chinese Workflow Templates (32)

Available via ao init (Chinese mode). Use agency-agents-zh roles.

Dev Workflows (7)

TemplateRolesDescription
dev/tech-design-review.yamlArchitect, Backend Architect, Security Engineer, Code ReviewerTech design review (design → parallel review → verdict)
dev/pr-review.yamlCode Reviewer, Security Engineer, Performance BenchmarkerPR review (3-way parallel → summary)
dev/tech-debt-audit.yamlArchitect, Code Reviewer, Test Analyst, Sprint PrioritizerTech debt audit (parallel → prioritize)
dev/api-doc-gen.yamlTech Writer, API TesterAPI doc generation (analyze → validate → finalize)
dev/readme-i18n.yamlContent Creator, Tech WriterREADME internationalization
dev/security-audit.yamlSecurity Engineer, Threat Detection EngineerSecurity audit (parallel → report)
dev/release-checklist.yamlSRE, Performance Benchmarker, Security Engineer, PMRelease Go/No-Go decision

Marketing Workflows (3)

TemplateRolesDescription
marketing/competitor-analysis.yamlTrend Researcher, Analyst, SEO Specialist, Executive SummaryCompetitor analysis (research → parallel analysis → summary)
marketing/xiaohongshu-content.yamlXiaohongshu Expert, Creator, Visual Storyteller, OperatorXiaohongshu content (topic → parallel creation → optimize)
marketing/seo-content-matrix.yamlSEO Specialist, Strategist, Content CreatorSEO content matrix (keywords → strategy → batch generate → review)

Data / Design / Ops Workflows (7)

TemplateRolesDescription
data/data-pipeline-review.yamlData Engineer, DB Optimizer, Data AnalystData pipeline review
data/dashboard-design.yamlData Analyst, UX Researcher, UI DesignerDashboard design
design/requirement-to-plan.yamlPM, Architect, Project ManagerRequirements → tech design → task breakdown
design/ux-review.yamlUX Researcher, Accessibility Auditor, UX ArchitectUX review
ops/incident-postmortem.yamlIncident Commander, SRE, PMIncident postmortem
ops/sre-health-check.yamlSRE, Performance Benchmarker, Infra OpsSRE health check (3-way parallel)
ops/weekly-report.yamlMeeting Assistant, Content Creator, Executive SummaryWeekly/monthly report (organize → highlights → finalize)
TemplateRolesDescription
strategy/business-plan.yamlTrend Researcher, Financial Forecaster, PM, Executive SummaryBusiness plan (market → parallel analysis → integrate)
legal/contract-review.yamlContract Reviewer, Legal ComplianceContract review (clause analysis → compliance → opinion)
hr/interview-questions.yamlRecruiter, Psychologist, Backend ArchitectInterview questions (dimensions → parallel design → scorecard)

General Workflows (12)

TemplateRolesDescription
product-review.yamlPM, Architect, UX ResearcherProduct requirements review
content-pipeline.yamlStrategist, Creator, Growth HackerContent creation pipeline
story-creation.yamlNarratologist, Psychologist, Narrative Designer, CreatorCollaborative fiction (4 roles)
ai-opinion-article.yamlTrend Researcher, Narrative Designer, Psychologist, CreatorAI opinion long-form article
department-collab/code-review.yamlCode Reviewer, Security EngineerCode review (review loop)
department-collab/hiring-pipeline.yamlHR, Tech Interviewer, Biz InterviewerHiring pipeline
department-collab/content-publish.yamlContent Creator, Brand GuardianContent publishing (review loop)
department-collab/incident-response.yamlSRE, Security Engineer, Backend ArchitectIncident response
department-collab/marketing-campaign.yamlStrategist, Creator, ApproverMarketing campaign (human approval)
department-collab/ceo-org-delegation.yamlCEO, Engineering/Marketing/Product/HR LeadsCEO org delegation (decide → parallel depts → summary)
一人公司全员大会.yamlCEO, Market Researcher, User Researcher, PM, Marketing Lead, CFOOne-person company all-hands (CEO → 6 depts parallel → decision)
ai-startup-launch.yamlCEO, PM, Architect, Marketing Lead, Finance AdvisorSaaS product launch decision (CEO → 4 depts parallel → launch plan)

Output Structure

Each run saves to ao-output/<name>-<timestamp>/:

ao-output/product-review-2026-03-22/
├── summary.md          # Final step output
├── steps/
│   ├── 1-analyze.md
│   ├── 2-tech_review.md
│   ├── 3-design_review.md
│   └── 4-summary.md
└── metadata.json       # Timing, token usage, step states

Ecosystem

Your AI subscription ──→ agency-orchestrator ──→ 400+ expert roles collaborate ──→ quality output
                              │                  (276 Chinese + 184 English + 5 languages)
             ┌────────────────┼────────────────┐
             ▼                ▼                ▼
      18 AI Tools           CLI Mode        MCP Server
      (Cursor/Claude Code   (automation/    (Claude Code/
       /Copilot/...)        CI/CD)          Cursor direct)
ProjectDescription
agency-agents184 English AI roles by @msitarzewski (MIT) — bundled in the npm package, auto-selected for English tasks by ao compose, no separate install needed
agency-agents-zh276 Chinese AI role definitions (Chinese) — the Chinese role library for this engine
ko · ru · pt-BR · id · ar187 roles each (184 upstream translations + 3 local-market originals) — npm i agency-agents-<lang>, then switch via the Studio role-library dropdown
ai-coding-guideAI coding tools field guide (Chinese) — 66 Claude Code tips + 9 tools best practices
superpowers-zhAI coding superpowers (Chinese) — 20 skills for Claude Code / Cursor
shellwardAI agent security middleware — prompt injection detection, DLP, command safety
codepetDesktop pet that levels up as you code / use Claude Code — Electron, reads metadata only, local-first

Roadmap

  • v0.1 — YAML workflows, DAG engine, 4 LLM connectors, CLI, streaming output
  • v0.2 — Condition branching, loop iteration, human approval, Resume, 5 department-collab templates
  • v0.3 — 9 AI tool integrations, 20+ workflow templates, ao explain, ao init --workflow, --watch mode
  • v0.4 — MCP Server mode (ao serve), 14 AI tool integrations, one-command installer, 32 workflow templates, 10 LLM providers (7 need no API key: Claude Code / Gemini / Copilot / Codex / OpenClaw / Hermes / Ollama)
  • v0.5ao compose --run one-sentence-to-result, real-time streaming, smart retry (exponential backoff), per-step model override, agent identity
  • v0.6 — Web UI, visual DAG editor, English workflow templates, workflow marketplace

Contributing

See CONTRIBUTING.md. PRs welcome!

License

Apache-2.0