agent-orchestrator icon indicating copy to clipboard operation
agent-orchestrator copied to clipboard

docs: document ideal workflow for multi-session, multi-project usage

Open fireddd opened this issue 7 months ago • 3 comments

Summary

Document the ideal workflow for leveraging AO to run multiple agent sessions across multiple projects simultaneously. This should cover:

Questions to address

  1. Multi-project setup — How to configure agent-orchestrator.yaml with multiple projects and manage them from a single orchestrator
  2. Session management across projects — Best practices for spawning, monitoring, and coordinating sessions across different repos/projects
  3. Orchestrator per project vs shared orchestrator — When to use a single orchestrator for all projects vs separate orchestrators per project
  4. Batch workflows — How to use ao batch-spawn effectively across projects, handling issue trackers (GitHub, Linear, GitLab) per project
  5. Dashboard usage — Using the web dashboard to monitor sessions across multiple projects simultaneously
  6. Resource management — Practical limits on concurrent sessions, how to manage API rate limits and compute resources across projects
  7. Cross-project artifacts — How sessions in different projects can share context or artifacts

Expected output

  • A guide or documentation page covering multi-session, multi-project workflows
  • Example agent-orchestrator.yaml configs for common multi-project setups
  • Tips and best practices from real-world usage

🤖 Generated with Claude Code

fireddd avatar Apr 06 '26 17:04 fireddd

had a stab at creating the documentation that will help people understand the system: https://code2tutorial.com/tutorial/8795387f-c3d4-44fb-a968-d1bbec74d635/index.md

fireddd avatar Apr 06 '26 17:04 fireddd

New Report

Reported by: New user (via @Maaz in Discord) Date: 2026-05-18

New user could not figure out how to start AO in multiple projects after the initial install. No clear documentation or CLI guidance for multi-project workflow.

This is a documentation gap that directly impacts new-user onboarding.

OrcInc avatar May 18 '26 21:05 OrcInc

For the multi-project guide, I would make one contract explicit: project selection, dashboard visibility, and session ownership are three separate things.

A useful doc section could define the minimum tuple for an actionable session row:

  • project id/name
  • repo, worktree, and cwd
  • orchestrator instance id
  • agent session id plus process generation
  • latest event/output cursor
  • what actions are safe from the dashboard: observe only, send input, interrupt, resume, or spawn new

That helps new users understand when the web dashboard is showing a project inventory versus when it is actually attached to a live session that can consume an action. It also gives clear guidance for shared orchestrator vs per-project orchestrator setups.

Related reference from my side: https://github.com/Snailflyer/faryo

Faryo is much smaller than AO, but it has the same boundary: the project/mobile workbench is only meaningful when actions route back to the same live tmux-backed coding session. This redacted proof GIF is the shape I use for that distinction: https://github.com/Snailflyer/faryo/releases/download/v1.0.7/faryo-public-redacted-same-session-handoff-walkthrough-20260528-0120.gif

Snailflyer avatar May 30 '26 09:05 Snailflyer

Closing this as part of the migration cleanup for the ground-up rewrite of Agent Orchestrator.

This item was opened more than a month before the migration batch and the codebase has been replaced, so this thread no longer maps cleanly onto the current source tree.

If something here still needs tracking, please reopen this item or open a fresh one against the new tree. Thank you for contributing.

harshitsinghbhandari avatar Jun 24 '26 14:06 harshitsinghbhandari