Installation & Setup
@maestria/pi and @maestria/omp are extensions that turn the Pi or Oh My Pi coding agents into disciplined engineering workstations. Each registers 7 specialist subagents, 3 workflow mode commands, and spec-driven orchestration - all with a single extension entry.
Prerequisites
Section titled “Prerequisites”- Pi or Oh My Pi (OMP) CLI - the latest version of your chosen coding agent
- Node.js 22.12+ - Required for npm-based extension resolution
Installation
Section titled “Installation”The recommended approach uses the maestria CLI, which automatically handles peer dependencies:
npx maestria@latest install pipnpx maestria@latest install piyarn dlx maestria@latest install piAlternative: manual Pi CLI setup
# 1. Install the peer dependency for subagent dispatchpi install npm:@gotgenes/pi-subagents
# 2. Install the extensionpi install npm:@maestria/pi
# 3. Restart Pi for both extensions to loadOh My Pi
Section titled “Oh My Pi”omp install @maestria/ompOMP loads the extension from the package manifest on startup. It auto-discovers the 4 methodology skills and deploys the 7 specialist agent files to ~/.omp/agent/agents/. Restart OMP for the extension to activate.
Verify Installation
Section titled “Verify Installation”Start a new session with your platform:
# Pipi
# OMPompThe @maestria/pi or @maestria/omp extension loads automatically from the package manifest. The platform’s resource loader discovers its four methodology skills (orchestrator dispatcher, global agent rules, handoff contract, iteration limits) and injects them into the system prompt.
You should notice the agent behaving as a Maestria dispatcher from the first turn: it responds to requests by decomposing tasks, delegating to specialist subagents, and following the spec-driven orchestration protocol.
You can also list installed extensions to verify:
# Pipi extensions list
# OMPomp extensions listYou should see @maestria/pi or @maestria/omp in the output.
Updating
Section titled “Updating”# Via maestria CLI (recommended)npx maestria@latest update pi# Via maestria CLI (recommended)pnpx maestria@latest update pi# Via maestria CLI (recommended)yarn dlx maestria@latest update pi# Or manuallypi install npm:@maestria/pi@latestomp install @maestria/omp@latestUninstalling
Section titled “Uninstalling”# Via maestria CLInpx maestria@latest uninstall pi# Via maestria CLIpnpx maestria@latest uninstall pi# Via maestria CLIyarn dlx maestria@latest uninstall piThis removes @maestria/pi. The @gotgenes/pi-subagents peer dependency is left in place because other Pi extensions may depend on it.
To remove manually:
# Remove from config and uninstallpi uninstall @maestria/pi
# Optionally remove peer dependency if not needed by other extensionspi uninstall @gotgenes/pi-subagents
# Restart Piomp uninstall @maestria/ompRestart OMP for the changes to take effect.
Next Steps
Section titled “Next Steps”- Quick Start - Your first session with the extension
- Reference - Commands, dispatch modes, and review mode
- Explore the workflow modes -
/fein,/sonar,/blitz