█

AI/TLDR

Buy me a coffee
Buy me a coffee

Agency Orchestrator

One sentence in, a team of AI expert roles out, working from zero-code YAML

Multi-Agent SystemsOpen source
Language
TypeScript
License
Apache-2.0
$npm install -g agency-orchestrator
IN SHORT

What is Agency Orchestrator?

Agency Orchestrator is an open-source TypeScript engine that splits a task across several AI "expert" roles instead of asking one chatbot. It sits in the Multi-Agent Systems category of the Agents & Automation tools and is open-source, written in TypeScript and licensed Apache-2.0. To get started: install.

Overview

Agency Orchestrator is an open-source TypeScript engine that splits a task across several AI "expert" roles instead of asking one chatbot. Give `ao compose` a single sentence and it decomposes the task, picks matching roles from its bundled library, writes a workflow, and runs it; the README's example sends a side-hustle question to a trend researcher, platform analyst, financial planner, content strategist and execution planner, each handing its output to the next. The role library ships inside the npm package: 276 Chinese roles and 191 English roles (184 of them from the MIT-licensed agency-agents project), with Korean, Russian, Brazilian Portuguese, Indonesian and Arabic libraries installable as separate packages.

Under the hood every workflow is plain YAML. Each step names a role, a task with `{{variables}}`, an output name and its `depends_on` list; the engine builds a directed acyclic graph, runs independent steps in parallel up to a `concurrency` limit, loads each role's definition as its system prompt, retries failures with exponential backoff and saves every step to `ao-output/`. Steps can also carry conditions, loops, human approval gates and an `acceptance` line that states what a good result must contain.

The same engine is reachable several ways: the `ao` CLI, a local Web Studio (`ao web`) with a team builder, template runner and visual canvas, an Electron desktop client for macOS, Windows and Linux, a Docker image for servers and NAS boxes, an MCP server for Claude Code or Cursor, and a programmatic `run()` API. It can run on an existing coding-CLI subscription such as Claude Code, Copilot CLI or Codex CLI, or on local Ollama, without an API key, or call API providers such as DeepSeek, the Claude API, OpenAI or any OpenAI-compatible endpoint. The project's own evaluation notes that weak local models can make multi-agent output worse than a single call, and recommends capable models.

Agency Orchestrator Web Studio's Build a Team screen with a one-line goal box, a Let AI build the team & run button and a grid of expert role cards
Web Studio: type one goal, let AI assemble a team from the role library and run it.Agency Orchestrator README ↗

What it does

  • `ao compose "..." --run` turns one sentence into a generated YAML workflow with auto-selected roles and executes it
  • YAML workflows compiled into a DAG with automatic parallelism, `{{variable}}` passing, conditions, loops, approval gates and per-step acceptance criteria
  • Bundled role libraries (276 Chinese, 191 English) plus reusable saved teams via `ao team save` and `ao run --team`
  • Web Studio, Electron desktop client, Docker image and an MCP server exposing six workflow tools
  • Runs on logged-in coding CLIs (Claude Code, Copilot, Codex and others) or local Ollama without an API key, or on DeepSeek, Claude, OpenAI and OpenAI-compatible APIs
  • Resume from any step with `--resume last --from <step-id>`, shareable single-file HTML reports via `ao report`, and webhook push with `--notify`
Studio Build a Team page in dark mode showing the English role library with 191 roles and C-suite role cards such as Chief Executive Officer and Chief Financial Officer
Build a Team: switchable role libraries, with the C-suite roles on top.
Studio Workflow Templates page listing templates such as Content Creation Pipeline, Product Requirements Review, Tech Blog and Investment Analysis, each with a Run button
Workflow Templates: run a built-in multi-role workflow with one click.

Getting started

Install the CLI from npm, run one sentence, then move on to templates, your own YAML or the Studio. The role libraries are bundled, so there is nothing else to download.

Install

bashbash
npm install -g agency-orchestrator

Run one sentence

Reuse a logged-in Claude Code subscription with no API key, or set a DeepSeek key (the default provider for `compose`).

bashbash
ao compose "Analyze the feasibility of building an AI budgeting app" --run --provider claude-code

# or with DeepSeek
export DEEPSEEK_API_KEY="your-key"
ao compose "Analyze the feasibility of building an AI budgeting app" --run
Terminal recording of an ao compose command that builds a five-role workflow for a side-hustle plan and runs each step in turn
The project's scripted terminal demo of `ao compose ... --run`.Agency Orchestrator README ↗

Run a built-in template, then resume from any step

English templates live in `workflows/en/`. Every run lands in a timestamped folder under `ao-output/`; `--resume last --from` re-runs only the step you want to redo.

bashbash
ao run workflows/en/solo-founder-plan.yaml -i idea="AI-powered resume builder for job seekers"
ao run workflows/en/solo-founder-plan.yaml --resume last --from marketing_plan

Write your own workflow

Steps that depend on the same parent run in parallel. Check a file with `ao validate` and view its DAG with `ao plan` before running it.

yamlyaml
name: "Product Requirements Review"
agents_dir: "agency-agents"
llm:
  provider: "deepseek"
  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}}"
    depends_on: [tech_review, design_review]

Open the Studio, Docker image or MCP server

`ao web` starts the local GUI; the Docker image serves it on port 8088 with keys set in the Providers tab; `ao serve` starts the MCP stdio server for Claude Code or Cursor.

bashbash
ao web

docker run -d -p 8088:8088 -v ao-data:/data ghcr.io/jnmetacode/agency-orchestrator:latest

ao serve

Commands and code are distilled from the project's own documentation — always check the official repo for the latest.

When to use it

  • Get a multi-perspective plan, such as a startup feasibility study or business plan, from a single sentence without picking roles by hand
  • Run repeatable reviews, like a PR review with code, security and performance reviewers in parallel, from a checked-in YAML file
  • Put a scheduled multi-role report on cron and push the result to a Feishu, DingTalk, WeCom or Slack-style webhook
  • Plan a project with several expert roles, then hand the scaffold to a coding agent such as Claude Code to build it

How Agency Orchestrator compares

Agency Orchestrator alongside other open-source multi-agent systems tools AI/TLDR tracks, ranked by GitHub stars.

ToolStarsWhat it does
Paperclip★ 118kA self-hosted control plane that runs a team of AI agents like a company, with an org chart, tasks, budgets and approvals.
Ruflo★ 82.7kAgent meta-harness that wraps Claude Code and Codex with 100+ specialized agents, swarm coordination, vector memory, background workers and cross-machine agent federation.
MetaGPT★ 71.5kA multi-agent framework that models a software company, assigning roles like product manager, architect, and engineer to generate code from a single prompt.
AutoGen★ 62kMicrosoft Research's framework for building applications where multiple agents converse with each other and with tools to solve tasks.
CrewAI★ 61.4kA framework for assembling teams ('crews') of role-playing agents that divide tasks and collaborate to complete a goal.
AgentScope★ 36.9kA framework for building multi-agent applications with message passing, visual debugging tools, and distributed execution.
OpenAI Agents SDK★ 30.9kOpenAI's lightweight Python SDK for building multi-agent workflows using explicit handoffs, tools, and guardrails.
Agency Orchestrator★ 2.5kOne sentence in, a team of AI expert roles out, working from zero-code YAML