Skip to content

@maestria/pi

Structured workflows for Pi.

Install the Pi extension for the main loop, reviewer, workflow modes, and session tracking.

npx maestria install pi

Works with npm, pnpm, yarn, bun, or deno.

A native Pi extension.

Main loop plus reviewer

Pi runs the main loop with the recon, architecture-plan, and diagnose skills and dispatches the reviewer subagent for independent blind review.

Workflow modes

/fein runs the full method, /sonar stays research-only, and /blitz takes the fast path.

Session tracking

The extension records subagent runs and handoff history in the session; `/maestria-status` summarizes the mode, reviewer runs, and recent handoffs.

Host-owned controls

Pi supplies the runtime; subagent dispatch needs the `@gotgenes/pi-subagents` extension, which the CLI installs. Read-only and lifecycle behavior follows the installed extension and host configuration.