Repository navigation
Home
loka1 edited this page Nov 30, 2026
·
2 revisions
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 rpcprocess 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_waitis 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/retryOfto 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.
- Repository: https://github.com/loka1/pi-orchestra
- Docs site: https://loka1.github.io/pi-orchestra/ (built from
wiki/on every change) - npm:
@loka1/pi-orchestra - Install:
pi install npm:@loka1/pi-orchestra