Agent Plugins
Momo provides official plugins for OpenCode, OpenClaw, and Pi.
| Agent | Plugin Package | Best For |
|---|---|---|
| OpenCode | @momomemory/opencode-momo | VS Code extension users, context injection per session |
| OpenClaw | @momomemory/openclaw-momo | CLI-first workflows, auto recall/capture |
| Pi | @momomemory/pi-momo | Terminal-based coding agent users |
Prerequisites
Section titled “Prerequisites”All plugins require:
- A running Momo server — See Self-Hosting to set one up
- Momo server URL — Default is
http://localhost:3000 - API key — Only if your Momo server has
MOMO_API_KEYSconfigured
Quick Comparison
Section titled “Quick Comparison”OpenCode
Section titled “OpenCode”- Install:
bunx @momomemory/opencode-momo install - Config:
~/.config/opencode/momo.jsonc(nested underopencodekey) - Env vars:
MOMO_OPENCODE_BASE_URL,MOMO_OPENCODE_API_KEY - Key feature: Context injection at session start, ingestion tools for OCR/transcription
OpenClaw
Section titled “OpenClaw”- Install:
openclaw plugins install @momomemory/openclaw-momo - Config:
openclaw.jsonunderplugins.entries.openclaw-momo.config - Env vars:
MOMO_OPENCLAW_BASE_URL,MOMO_OPENCLAW_API_KEY(no generic fallback) - Key feature: Auto-recall before every AI turn, auto-capture after each response
- Install:
pi install npm:@momomemory/pi-momo - Config:
.momo.jsonc(project) or~/.pi/momo.jsonc(global), nested underpikey - Env vars:
MOMO_PI_BASE_URL,MOMO_PI_API_KEY, and relatedMOMO_PI_*settings - Key feature: Terminal-native, debug command for troubleshooting
Common Features
Section titled “Common Features”All plugins share these capabilities:
- Memory storage — Save facts, preferences, and episode memories
- Memory search — Find relevant context by query
- User profiles — Computed narratives of user preferences
- Container tags — Namespace isolation per project/user
Choosing a Plugin
Section titled “Choosing a Plugin”Choose OpenCode if:
- You use the OpenCode VS Code extension
- You want automatic context injection at the start of each session
- You need OCR and transcription ingestion tools
Choose OpenClaw if:
- You prefer CLI-first workflows
- You want continuous memory (auto-recall before every turn)
- You use OpenClaw as your primary agent framework
Choose Pi if:
- You use the Pi terminal-based coding agent
- You want project-local config via
.momo.jsonc - You prefer a simple, terminal-native experience