Skip to main content
The start and stop commands manage the orchestrator agent and web dashboard lifecycle.

ao start

Start the orchestrator agent and dashboard for a project.

Syntax

Arguments

string
Project ID from config, or a GitHub repository URL for quick onboarding
If you have only one project configured, the project argument is optional.

Options

flag
Skip starting the dashboard server
flag
Skip starting the orchestrator agent session
flag
Clean and rebuild dashboard before starting (fixes cache issues)

Basic Usage

Quick Start from URL

Start directly from a GitHub repository URL:
This will:
  1. Parse the repository URL
  2. Clone the repository (shallow clone, depth 1)
  3. Check for existing agent-orchestrator.yaml
  4. Auto-generate config if none exists
  5. Start orchestrator and dashboard
The cloned repository will be placed in a directory named after the repo (e.g., ./repo).

Clone Authentication

The CLI attempts multiple authentication methods:
  1. GitHub CLI (gh repo clone) - Uses your gh auth token
  2. SSH (git clone git@github.com:...) - Uses your SSH keys
  3. HTTPS (git clone https://github.com/...) - Works for public repos
For private repositories, authenticate with GitHub CLI first:

Port Selection

The dashboard port is read from your config (agent-orchestrator.yaml):
If the port is busy, you’ll see:
Solution: Stop the existing server or change the port in your config.
When using ao start <url>, the CLI auto-generates a config with a free port.

Orchestrator Session

The orchestrator agent runs in a tmux session named:
For example, if your project’s sessionPrefix is ao, the session is ao-orchestrator.

Attach to Orchestrator

If the orchestrator session already exists, ao start will skip creation and show a warning.

Output Example

The browser will automatically open to the orchestrator session page once the server is ready.

Dashboard-Only Mode

Start just the dashboard without the orchestrator agent:
Useful when:
  • Orchestrator session is already running
  • You only want to view existing sessions
  • Testing dashboard changes

Orchestrator-Only Mode

Start just the orchestrator without the dashboard:
Useful when:
  • Dashboard is already running on the port
  • You’re working in the terminal only
  • Debugging agent behavior

ao stop

Stop the orchestrator agent and dashboard for a project.

Syntax

Arguments

string
Project ID from config (optional if only one project exists)

Basic Usage

What Gets Stopped

  1. Orchestrator Session - The tmux session is killed via the session manager
  2. Dashboard Server - All processes listening on the configured port are killed
The stop command kills all processes on the dashboard port, not just the dashboard. Make sure no other services are using that port.

Output Example

Session Not Running

If the orchestrator session doesn’t exist:

Common Issues

No Config Found

Solution: Create a configuration file first:

Multiple Projects

Solution: Provide the project ID as an argument:

Port Already in Use

Solution: Stop the existing server or change the port:

Dashboard Build Not Found

Solution: Build the dashboard:

tmux Not Available

Solution: Install tmux:

Examples

Standard Workflow

Quick Onboarding

Dashboard Rebuild

Attach to Orchestrator

Exit Codes

  • 0 - Success
  • 1 - Error (config not found, port busy, tmux not available)

Next Steps

Spawn Sessions

Create agent sessions for your issues

Status

Monitor running sessions

Dashboard

Learn more about the web interface