I'm excited to share a project I've been building: a plugin for OpenCode that gives your AI assistant persistent, real-time memory using MemPalace.
🔍 THE PROBLEM
Every OpenCode session starts from scratch. Your AI doesn't remember past conversations, previous decisions, or solved problems. You repeat context over and over.
💡 THE SOLUTION
opencode-mempalace-persistence is a pure TypeScript OpenCode plugin that:
• Auto-saves every conversation turn to MemPalace (a local vector database)
• Categorizes memories by type: developer, creative, emotions, family
• Extracts Knowledge Graph facts — decisions, milestones, problems, preferences
• Runs async — never blocks your UI
• Works 100% locally — no cloud, no API keys, no subscriptions
The complete feedback loop:
- AI searches MemPalace before answering (guided by AGENTS.md)
- Plugin saves the response after delivery
- Next session, the AI remembers everything
⚡ QUICK START
Add to your opencode.json:
"plugin": ["opencode-mempalace-persistence"]
Create AGENTS.md telling the model to search MemPalace.
Write your identity in ~/.mempalace/identity.txt.
Done.
🔗 LINKS
GitHub: https://github.com/geco/opencode-mempalace-persistence
npm: opencode-mempalace-persistence
awesome-opencode PR: https://github.com/awesome-opencode/awesome-opencode/pull/357
🗳️ SUPPORT MY WORK
If you find this useful, please consider supporting me as a Blurt witness.
My witness is: node01
🔗 Direct voting links:
• Blurt Wallet (direct highlight): https://blurtwallet.com/~witnesses?highlight=node01
• Blurtblocks: https://blurtblocks.com/witnesses
• Blurt.blog: https://blurt.blog/witnesses
Search for "node01" and click VOTE. Every vote helps me continue building open-source tools for the Blurt and AI community. Thank you! 🚀

Comments