Quickstart Guide
This guide will get you from zero to your first running agent in under 5 minutes.Prerequisites
Before you begin, ensure you have:- Node.js 20+ installed (nodejs.org)
- Git 2.25+ installed
- tmux installed (for default runtime)
- GitHub CLI (
gh) installed and authenticated
Quick check: Run
node --version, git --version, tmux -V, and gh auth status to verify.Installation
Clone and setup
Clone the repository and run the setup script:The setup script will:
- Validate prerequisites (Node.js 20+, Git 2.25+)
- Optionally install tmux if using Homebrew
- Optionally authenticate GitHub CLI
- Install pnpm (via corepack or npm)
- Install dependencies and build all packages
- Link the
aoCLI globally
Two Ways to Start
Option A: Start from a Repository URL (Fastest)
The quickest way to get started—provide a GitHub URL and the orchestrator auto-configures everything:- Clone the repository (or reuse an existing clone)
- Auto-detect language, package manager, SCM platform, and default branch
- Generate
agent-orchestrator.yamlwith smart defaults - Start the dashboard and orchestrator
Supports GitHub, GitLab, and Bitbucket URLs (HTTPS and SSH format).
Option B: Initialize from an Existing Local Repo
If you already have a repository checked out locally:--auto flag generates configuration with smart defaults based on your repository. For interactive configuration (step-by-step prompts), omit the --auto flag:
- Data directory (default:
~/.agent-orchestrator) - Worktree directory (default:
~/.worktrees) - Dashboard port (default:
3000) - Runtime plugin (default:
tmux) - Agent plugin (default:
claude-code) - Project details (repo, path, default branch)
- Issue tracker (GitHub or Linear)
Start the Orchestrator
Once you have a configuration file (agent-orchestrator.yaml), start the orchestrator and dashboard:
http://localhost:3000 (or your configured port).
The
ao start command runs both the Next.js dashboard server and the orchestrator agent. Keep this terminal running, or use a process manager like PM2 for production.Spawn Your First Agent
Now that the orchestrator is running, spawn an agent session to work on an issue:my-project with your project ID (from agent-orchestrator.yaml) and 123 with a GitHub issue number or Linear ticket ID.
Monitor Progress
You can monitor agent progress in three ways:1. Web Dashboard
Open your browser tohttp://localhost:3000 to see:
- All active sessions
- Status and activity indicators
- Branch and PR links
- Real-time event logs
2. CLI Status
Run the status command for a terminal-based view:3. Attach to Session
To watch an agent work in real-time, attach directly to its tmux session:Ctrl+B then D to detach without stopping the agent.
Example Workflow
Here’s a complete example from start to finish:What Happens Next?
Once the agent is working:- Agent works autonomously: Reads code, makes changes, writes tests
- Commits and pushes: Creates commits and pushes to a feature branch
- Opens PR: Creates a pull request with the changes
- Handles CI failures: If CI fails, the agent receives logs and attempts fixes (if
ci-failedreaction is enabled) - Addresses review comments: When reviewers request changes, the agent responds (if
changes-requestedreaction is enabled) - Notifies you: You get a desktop notification when the PR is ready to merge or needs human judgment
Reactions are configured in
agent-orchestrator.yaml. See the Configuration Reference for details.Common Commands
Spawning and Managing Sessions
Spawning and Managing Sessions
Monitoring and Interaction
Monitoring and Interaction
Configuration
Configuration
Troubleshooting
'ao' command not found
'ao' command not found
The CLI is not in your PATH. Add npm’s global bin to your shell profile:
Port 3000 already in use
Port 3000 already in use
Another service is using port 3000. Either:
-
Change the port in
agent-orchestrator.yaml: -
Or kill the process using port 3000:
tmux not found
tmux not found
Install tmux for the default runtime:
GitHub CLI not authenticated
GitHub CLI not authenticated
Authenticate with GitHub:Follow the prompts to authenticate via browser.
Next Steps
Now that you have Agent Orchestrator running:Configuration
Customize reactions, plugins, and notification routing
Installation
Detailed installation guide and prerequisites
CLI Reference
Complete list of all
ao commandsPlugin Development
Build custom plugins for runtimes, agents, and trackers
