Give Your AI Persistent Memory: OpenCode + MemPalace in 10 Minute (opens in new tab)
The Problem Every OpenCode session starts from scratch. Your AI doesn't remember past conversations, decisions, or solved problems. You repeat context over and over. The Solution opencode-mempalace-persistence is a pure TypeScript plugin that auto-saves every conversation to MemPalace — a local vector database with 96.6% recall on LongMemEval. No cron, no cloud, no API keys. Architecture The plugin uses two OpenCode hooks: chat.message — when you send a new question, the previous turn (questi...
Read the original article