agent-orchestrator
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@agent-orchestratorinterview qwen3-coder worker for codegen tasks"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
agent-orchestrator
English | 简体中文
agent-orchestrator is a TypeScript orchestration server for multi-model engineering workflows. It is designed for leader-worker execution, deterministic validation, and thin delivery layers through a CLI and MCP server.
What this is
A TypeScript/Node.js monorepo for orchestrating leader and worker agents
A CLI callable by humans or other coding agents through shell commands
An MCP server exposing orchestration capabilities as structured tools
A safe workflow engine that defaults to dry-run behavior
Related MCP server: all-agents-mcp
What this is not
Not a Codex, OpenCode, Cursor, or Claude Code clone
Not an interactive coding terminal or TUI
Not a full chat interface
Not a web UI product
Architecture diagram
Human / Coding Agent / CI / MCP Client
|
v
ao CLI / MCP
|
v
LangGraph Workflows
|
+---------+---------+
| |
v v
Leader Agent Deterministic Tools
|
v
Worker AgentsMonorepo layout
packages/
core/
models/
graph/
tools/
mcp-server/
cli/
apps/
playground/
examples/
leader-worker-basic/
docs/Setup
pnpm install
pnpm typecheck
pnpm testCLI usage
ao plan --goal "Generate TipTap nodes from S1000D proced.xsd"
ao run leader-worker-basic --goal "Generate tests for schema parser"
ao review --diff main...HEAD
ao fix --error ./tmp/tsc-error.log --scope packages/schema-codegen
ao models list
ao mcp serve
ao mcp list-toolsWorker onboarding
Workers are not treated as automatically qualified just because a model endpoint exists.
Use onboarding evaluation before assigning real work:
ao worker interview --provider litellm --model qwen3-coder
ao worker interview --provider litellm --model qwen3-coder --save
ao worker list
ao worker profile litellm:qwen3-coderThe interview workflow evaluates:
instruction following
structured JSON output
summarization
code understanding
simple TypeScript code generation
confidence calibration
Interview results produce a WorkerCapabilityProfile that affects routing:
active: worker can receive the task types it qualified forlimited: worker is restricted to low-risk tasks and requires leader reviewblocked: worker is excluded from production workflows and emits warnings
Example warning output:
Worker litellm:qwen3-coder failed onboarding evaluation.
Status: limited
Reasons:
- structured-output: Output failed schema validation.
- codegen: Generated code uses any.
- confidence-calibration: Worker reported high confidence on an ambiguous task.
Recommended action:
- Do not assign codegen tasks.
- Limit this worker to qualified low-risk tasks.
- Require leader review for every accepted output.If the worker is significantly worse, the profile becomes blocked and production routing should treat it as unavailable.
Persisting worker profiles
Use --save if you want to persist the interview result:
ao worker interview --provider litellm --model qwen3-coder --saveSaved profiles are written to:
.ao/worker-profiles.jsonYou can inspect persisted profiles with:
ao worker list
ao worker profile litellm:qwen3-coderCurrent behavior is conservative: if a workflow is started without an explicit profile object, the system can re-run the interview instead of blindly trusting an old capability record.
MCP server usage
Start the stdio server:
ao mcp serveList exposed tool names:
ao mcp list-toolsEnvironment variables
See .env.example.
LEADER_MODEL_PROVIDERLEADER_MODEL_NAMELEADER_MODEL_BASE_URLLEADER_MODEL_API_KEYWORKER_MODEL_PROVIDERWORKER_MODEL_NAMEWORKER_MODEL_BASE_URLWORKER_MODEL_API_KEYLITELLM_BASE_URLLITELLM_API_KEYMCP_SERVER_NAMEMCP_SERVER_VERSIONLOG_LEVELAO_DRY_RUNAO_ALLOW_WRITEAO_ALLOWED_COMMANDS
Workflows
planning-workflow: builds a plan, worker assignment proposal, risk list, and validation strategyleader-worker-workflow: coordinates leader planning, worker execution, tool validation, and final reviewreview-workflow: summarizes diff impact, risks, missing tests, and follow-up itemsfix-error-workflow: analyzes error logs and proposes safe validation-oriented fix stepsworker-interview-workflow: evaluates a worker model before production routing and generates a capability profile
How to run the basic example
pnpm example:leader-worker-basicHow to add a new worker
Add a worker class under
packages/graph/src/workers.Give it a clear
WorkerCapabilitywith Zod-backed schemas.Declare the worker's supported task types so routing can enforce capability limits.
Route it from a workflow and keep its output reviewable.
Make sure onboarding interview results can constrain how it is assigned.
Add tests for the workflow path it affects.
How to add a new workflow
Create a workflow file under
packages/graph/src/workflows.Use LangGraph.js to model transitions explicitly.
Reuse core contracts and leader review patterns.
Expose it through the CLI or MCP only after tests exist.
How to add a new MCP tool
Add a tool definition in
packages/mcp-server/src/tools.Keep the handler thin and delegate to core workflow APIs.
Register it in
packages/mcp-server/src/server.ts.Add a registration test.
How to configure LiteLLM
Set LEADER_MODEL_PROVIDER=litellm or WORKER_MODEL_PROVIDER=litellm, then provide:
LITELLM_BASE_URLLITELLM_API_KEY
If you want different endpoints for leader and worker traffic, use the model-specific base URL variables instead.
Safety model
Default mode is dry-run.
File writes require explicit policy allowance.
Shell execution is allowlisted.
Worker outputs are not final until leader review completes.
Workers must pass onboarding evaluation before they should receive production tasks.
Workers that fail structured output or reliability checks are limited or blocked.
Secrets are expected from environment variables and should never be logged.
Roadmap
Expand workflow coverage and richer deterministic validations
Add domain-specific orchestration packages later
Add CI automation for checks and releases
Keep the core focused on orchestration rather than UI
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/vndmea/agent-orchestrator'
If you have feedback or need assistance with the MCP directory API, please join our Discord server