Pi & Oh My Pi Capture
Mimir captures completed turns from Pi and Oh My Pi across OpenRouter and direct providers. The shared memory skill retrieves prior sessions and evidence.
Install
Section titled “Install”mimir install --harness piActivate
Section titled “Activate”Restart Pi after installing or updating the extension. Run mimir doctor --json and confirm that the extension is active.
How capture works
Section titled “How capture works”- OpenRouter: traffic routes through Mimir with exact session, repository, and harness metadata.
- Direct providers: completed turns and exposed tool results are uploaded as bounded reconstructed exchanges.
- Memory: the
mimir-useskill retrieves prior sessions, decisions, and evidence.
Oh My Pi (OMP)
Section titled “Oh My Pi (OMP)”Install
Section titled “Install”mimir install --harness oh-my-piActivate
Section titled “Activate”Restart omp after install or update. Run mimir doctor --json and confirm
that the extension is active.
How capture works
Section titled “How capture works”- Capture activates on the first completed turn, so idle drafts create no dashboard session.
- OpenRouter traffic and bounded direct-provider evidence use the same capture model as Pi.
- Lifecycle heartbeats keep active sessions current.
Verify
Section titled “Verify”Complete a turn after restarting the harness, then check its durable receipt:
mimir session status <session-id>If the session is missing or incomplete, follow the capture-state checks in Troubleshooting.
Extension locations
Pi installs to ~/.pi/agent/extensions/mimir.ts. Set
PI_CODING_AGENT_DIR to use another Pi agent directory.
Oh My Pi installs to ~/.omp/agent/extensions/mimir.ts or the active OMP
profile. Set OMP_CODING_AGENT_DIR for a nonstandard home directory.
