Skip to content
loka1 edited this page Nov 30, 2026 · 2 revisions

pi-orchestra

pi-orchestra is a pi extension that lets one pi session orchestrate other pi sessions — runs, tasks, worker dispatches, wake-ups, questions and gates — with no external runtime.

  • Real isolated workers — every worker is a pi --mode rpc process with its own context window, tools, model and log.
  • Wake-ups, not polling — a settled worker (or a question) wakes the coordinator, so it can start work and end its turn; orchestra_wait is only for steps that need the result.
  • Questions and gates — a worker can ask; the coordinator answers and the worker continues.
  • Durable and local — one JSON state file and one JSONL log per worker under .pi/orchestra/.
  • Browsable — a compact widget plus /orchestra browse, a searchable list of tasks, workers and runs with detail, bulk actions, live transcripts and sorting.
  • Joinable — /orchestra join <id> opens one worker's conversation and lets you type into it, then return to the browser (esc) or your own session (ctrl+g).
  • Background by default — a worker keeps running after you end the turn, including for hours (timeoutMode: "idle"), while the coordinator keeps working in the same session.
  • Bounded — cost and wall-clock budgets per worker and per run, a stall watchdog, and worker_resume / retryOf to continue or repair a worker instead of starting over.
  • Accountable — transcript search, per-worker cost/turn metrics, a JSONL export and a markdown report per run, plus a diff of what each worker changed.

Quick links

Pages

Clone this wiki locally