Six steps from zero to governed shipping.
Deep references live on piii.mintlify.app. This page is the shortest viable path to production.
Install → Auth → Learn → Architect → Ship → Govern
Step 01 · 壱
Install
Hokage Edition wizard or direct npm.
Terminal$ npm i -g pi-hokage|→ installs @pi-api/cli + wizard✓ pi is on your PATHStep 02 · 弐
Authenticate
Save your Pi API key (from the dashboard).
Terminal$ pi auth-login|→ paste key, saved to ~/.config/pi✓ authenticatedStep 03 · 参
Learn the repo
Capture your codebase DNA (imports, style, secrets redacted).
Terminal$ pi learn --with-graph|✓ .pi/system-style.json writtenStep 04 · 肆
Architect first
Run a Staff-Engineer session before you type code.
Terminal$ pi resonate "add Stripe checkout" --plan|✓ .pi-plan.md (6 steps)Step 05 · 伍
Import a routine
Pick a template from /templates and import it.
Terminal$ pi routine import stripe-checkout-flow|✓ routine landed in .pi/routines/Step 06 · 六
Govern
Validate, fix, watch, and wire CI — one flag each.
Terminal$ pi flow full-check|✓ learn · validate · fix · doctor
Everything else lives on Mintlify
Long-form, versioned, searchable. We link directly to the pages that matter.
All pi-cli commands with flags and examples.
Inside the Sharingan, Rasengan, and Omni-router.
The 15 ninjutsu pi-cli ships today.
How the NL omni-router and session-learning work.
Workflows, feature flags, polling.
Task trees, pi resume vs pi trace.
Adapters: Git, Perforce, host-labeled Git.
Cloud vs CLI writes, .pi/ layout, IDE handoff.
GitHub / GitLab / Circle workflow generators.