Pi × Nowledge Mem
Bring your cross-tool knowledge into Pi, and share what you learn in Pi with every other tool.
For your agent
Give this line to your agent. It should read the live guide before changing anything:
Read https://mem.nowledge.co/docs/integrations/pi.mdx, then help me install or update Nowledge Mem for Pi. Use the recommended path first, verify the setup with the success check in the guide, and summarize what changed.pi install npm:nowledge-mem-piPi is a minimal, extensible terminal coding agent. Nowledge Mem adds the layer above: knowledge from all your other AI tools, decisions made in Claude Code, preferences set in Cursor, insights from ChatGPT, searchable inside Pi. And what you learn in Pi flows back to every other tool.
Before You Start
- Nowledge Mem running locally (installation)
- Pi installed
nmemCLI in your PATH. In Nowledge Mem go to Settings → Preferences → Developer Tools → Install CLI, orpip install nmem-cli
nmem status # Nowledge Mem is running
pi --version # Pi is availableSetup
Install the package
pi install npm:nowledge-mem-piVerify the integration
Ask Pi to check your Nowledge Mem connection:
Is Nowledge Mem connected? Run the status skill.You should see connection details and a confirmation that the server is reachable. That's success: Pi can now see knowledge from your other tools.
Update
pi updateCustomize Safely
Use your project's own AGENTS.md, not the installed package cache.
- Merge the package guidance into
AGENTS.mdwhen you want Pi to search or save more proactively in this repo - Keep package files as shipped defaults so updates stay clean
Pi does not expose a separate durable override file beyond its normal project guidance surface. For the full host-by-host map, see Customize Integration Behavior.
What You Can Do
Find knowledge from other tools
Ask "what did we decide about the database?" and Pi can search across decisions you made in Claude Code, insights from ChatGPT, notes from Cursor, not just this session.
Save knowledge for everywhere
When you reach a conclusion in Pi, distill-memory lets Pi save it so your next Claude Code session, Cursor project, or ChatGPT conversation can find it too.
Start with today's context
With the package guidance merged into your project's AGENTS.md, Pi can start by loading today's Working Memory and the past context that matters. No repeating yourself across tools.
Create resumable handoffs
When you ask Pi to save a handoff, you get a structured summary you can pick up in Claude Code or any other tool.
Skills
| Skill | What it does |
|---|---|
read-working-memory | Read today's Working Memory: focus areas, priorities, recent activity. |
search-memory | Search knowledge from all your tools. Supports label and date filters. |
distill-memory | Save a decision, insight, or preference so any tool can find it. |
save-thread | Create a structured handoff summary of the current session. |
status | Connection and configuration diagnostics. |
Configuration
No config needed for local use.
| Env Variable | Default | What it does |
|---|---|---|
NMEM_API_URL | (local) | Remote Nowledge Mem server URL |
NMEM_API_KEY | (none) | API key for remote access |
For a persistent shared setup, configure this machine once with nmem config client .... Environment variables still take priority when you need a temporary override.
Remote access
nmem config client set url https://your-server
nmem config client set api-key your-keySee Access Mem Anywhere.
Troubleshooting
nmem not found. Install with pip install nmem-cli, then run nmem status to verify.
Server not responding. Start the Nowledge Mem desktop app, or check nmem status for diagnostics.
Skills not loading. Run pi list to confirm the package is installed. If nowledge-mem-pi does not appear, reinstall with pi install npm:nowledge-mem-pi.
Related
- Integrations overview
- Claude Code · OpenCode · Hermes Agent · OpenClaw · Alma · Bub
- Plugin source: nowledge-mem-pi-package