Pi + Memanto
Connect via CLI (recommended)
Add
--global to install for every project instead:
~/.pi/agent/AGENTS.md, ~/.pi/agent/skills/memanto/, and ~/.pi/agent/extensions/memanto-sync.ts.
Auto-sync on session start
Pi has no JSON hook file, so Memanto ships its auto-sync as a Pi extension — the same behavior the Claude Code integration gets from itsSessionStart hook.
memanto-sync.ts listens for session_start and runs memanto memory sync in the background, so MEMORY.md is current before you start working. It is deliberately unobtrusive:
- Fresh starts only. It skips
/resume,/fork, and/reloadso re-entering a session doesn’t re-sync. - Never blocks startup. The sync is fire-and-forget; Pi is usable immediately.
- Fails quietly. If the
memantoCLI isn’t installed or isn’t onPATH, the error is swallowed rather than surfaced on every launch. - Confirms only on success. When the sync exits
0and Pi is running with a UI, it posts a singleMemanto: memory syncednotification. A non-zero exit says nothing at all. - No dependencies. It is a single self-contained file — no
npm installstep.
Pi loads project-local
.pi/extensions/ only after you have trusted the project. Until then the extension is inert and MEMORY.md won’t auto-sync — run memanto memory sync --project-dir . by hand, or install with --global.MCP
Pi does not support MCP, so the CLI connector above is the only integration path. Every other Memanto capability —remember, recall, answer — is available to Pi as ordinary shell commands, which is how the instruction file and skill tell it to work.
Disconnect
AGENTS.md, the skill directory, and the extension file. Add --global to remove the user-wide install.