Clear work goes to a specialist.
The parent routes repository work to attachable interactive children and keeps intent at the top level.
Looking for Pi subagents? Start with--orchestratorv2: a thin parent that routes clear work to attachable specialists and keeps the user conversation focused. Direct tools and the original --orchestrator workflow mode remain available when those are the better fit.
Routing-first parent control for clear work. Interactive children you can watch, re-enter, or talk to directly. Direct tools and reusable workflows remain available alongside it.
pi install npm:pi-subagenturaA thin, prompt-directed router for attachable interactive children. It keeps the parent focused on the outcome while specialists handle the repository work in sessions you can re-enter.
pi --orchestratorv2The parent routes repository work to attachable interactive children and keeps intent at the top level.
When a request is too broad or has no matching child, Orchestratorv2 asks before it commits to a path.
The current parent branch is the authority for routing metadata; project-local state is repairable cache data.
Interactive artifacts, routing state, pending deliveries, and receipts rehydrate within the matching parent session.
These two real HTML replays make the routing model tangible: you give one outcome to the parent, the thin router fans work out to attachable children, and a child can create its own bounded specialist team.
Give one outcome to the orchestrator.
Clarifies scope, then routes clear work.
Inspect one bounded question.
Own a reusable implementation loop.
Check the result and return a receipt.
Review session continuity and failure paths.
Check public behavior and integration edges.
The annotations mark the parent-to-child handoff and the two specialist launches. Open either replay in a new tab, then return here to compare the two levels of the session tree.
One user talks with a lightweight Orchestratorv2 parent while it fans work out to many attachable child sessions.
That child creates a recovery-safety reviewer and a package/API reviewer, then supervises both in its own conversation.
Replays generated with vibe-replay, an interactive replay and sharing tool for AI coding sessions.
Start with --orchestratorv2 for intent-based routing; nothing else is removed. Direct tools and the original--orchestrator guidance remain available for the jobs they fit best.
Call in-process, interactive, and workflow tools directly. Choose inherited or isolated context, async or blocking execution, and the exact child you want.
piUse the bundled orchestration guidance to turn a goal into a saved workflow for planning, review, research, or implementation loops.
pi --orchestratorSend clear work to attachable interactive specialists, split broad requests, and ask for clarification instead of guessing when scope is ambiguous.
pi --orchestratorv2--orchestrator remains the right entry point for reusable, agent-authored workflows with phases, fan-out, schemas, usage, and background controls.
Use agent(), parallel(),pipeline(), and named phases in a reusable.mjs file. Intermediate results stay out of the parent context until the workflow completes.
Workflows and direct async jobs return an ID for status, results, and cancellation. Interactive children use tmux or Zellij by default, with an in-process fallback when no multiplexer is available.
Background jobs and workflows remain scoped to the parent session. Interactive artifacts can rehydrate with their matching parent, so persistence is explicit rather than implied.
Most Pi extensions help you delegate. This comparison is a published- docs snapshot for the moment you need to watch the child, steer it, recover it, and keep a durable record.
| Feature | pi-subagenturalmn451 · this project | pi-interactive- | pi-subagentsnicobailon | @tintinweb/ | @mjakl/ |
|---|---|---|---|---|---|
| In-process delegationRuns the child in the parent Pi runtime. | YES | NO | NO | YES | NO |
| Attach from another terminalWatch and work in the child outside the parent pane. | YES | YES | NO | NO | NO |
| tmux + Zellij child panesUse the multiplexer you already run. | YES | YES | NO | NO | NO |
| Follow up in a live child sessionContinue the same child context without restarting it. | YES | PARTIAL | YES | YES | YES |
| Immutable per-turn output snapshotsInspect exactly what each completed turn produced. | YES | NO | PARTIAL | NO | NO |
| Automatic restart / reload rehydrationBring interactive children back with durable state. | YES | PARTIAL | PARTIAL | PARTIAL | PARTIAL |
| Bundled orchestration defaultsGuidance for planning, review, and workflows. | YES | YES | YES | NO | NO |
pi-subagentura combines direct in-process delegation with attachable interactive child sessions. Use the old workflow mode for repeatable processes, or add Orchestratorv2 when the parent should route by intent and keep the child work re-enterable.
Yes means the capability is explicitly documented. Partially means a related capability is documented, but not this exact workflow. No means we could not find it in the published documentation. Each package name links to the source used for this snapshot.
Install the extension once, choose the mode that fits the task, and keep the source path one click away.
Make all three control surfaces available to Pi.
Install only for the current project.
pi install -l npm:pi-subagenturaLoad the package for one Pi session without a permanent install.
pi -e npm:pi-subagentura --orchestratorv2