Skip to main content
This guide covers common issues you may encounter when using Agent Orchestrator and how to resolve them.

Terminal Issues

Symptom: Terminal in browser shows “Connected” but blank. WebSocket logs show:
Root Cause: node-pty prebuilt binaries are incompatible with your system.Fix: Rebuild node-pty from source:
1

Navigate to node-pty directory

2

Rebuild with node-gyp

3

Verify it works

When this happens:
  • After pnpm install (uses cached prebuilts)
  • After copying the repo to a new location
  • On some macOS configurations with Homebrew Node
Permanent fix: The postinstall hook automatically rebuilds node-pty:

Configuration Issues

Symptom: API returns 500 with “No agent-orchestrator.yaml found”Fix: Ensure config exists in the directory where you run ao start, or symlink it:
Or run the init wizard:
Symptom: Error starting dashboard: “Port 3000 already in use”Solution:
When running multiple projects, each needs a different port: value in its config.
Symptom: Config validation fails with YAML syntax error.Common issues:
  • Incorrect indentation (use 2 spaces, not tabs)
  • Missing quotes around strings with special characters
  • Typo in field names
Solution: Validate your YAML syntax at yamllint.com

Authentication Issues

Symptom: GitHub CLI is not authenticated.Solution:
1

Login with GitHub CLI

2

Select authentication options

  • GitHub.com (not Enterprise)
  • HTTPS (recommended)
  • Authenticate with browser
  • Include repo scope
3

Verify authentication

Symptom: Linear integration fails with missing API key error.Solution:
Symptom: Agent doesn’t have permissions for git operations.Solution:

Runtime Issues

Symptom: Error: “tmux command not found”Solution: Install tmux:
Symptom: Orchestrator can’t create worktrees or clones.Solution:
Symptom: Session ID doesn’t exist or was already destroyed.Solution:

Agent Issues

Symptom: Agent session is stuck or frozen.Solution:
1

Check session status

2

Attach to session to investigate

3

Send message to agent

4

Kill and respawn if necessary

Agents send “stuck” notifications automatically after the inactivity threshold configured in reactions.

Installation Issues

Symptom: Error stating Node.js version is below 20.Solution:
Symptom: pnpm build fails with errors.Solution:
Symptom: Dashboard fails to load or shows 404 errors.Solution: The web app expects agent-orchestrator.yaml in working directory:

Debugging Tips

Enable Verbose Logging

Attach to tmux Session

Inspect Session Metadata

Check Session Status via API

Check tmux Sessions

Killing tmux server will destroy all active agent sessions. Only use when absolutely necessary.

Getting Help

If you encounter an issue not covered here:
  1. Check existing issues: GitHub Issues
  2. Review the SETUP.md guide
  3. Join the community discussions
  4. File a new issue with:
    • Error messages and logs
    • Your configuration (sanitized)
    • Steps to reproduce
    • Environment details (OS, Node version, etc.)