Mnema: Shared Memory for Coding Agents
fatihsrb · reddit · 2026-07-19
The author developed a self-hosted MCP server called Mnema, designed to let different AI coding tools like Claude Code and Cursor share the same long-term memory, rather than starting from scratch in every session.
Core features include:
- Cross-tool shared memory: Project decisions, context, and history are stored centrally, accessible by any MCP-compatible agent.
- Shared skills / prompts repository: Centralizes reusable prompts and skills to avoid duplication across tools.
- Hybrid retrieval: Combines BM25 and vector search to quickly recall relevant information from memory and documents.
- Local execution: Runs on a Raspberry Pi using SQLite, with no cloud dependencies.
The motivation is straightforward: AI tools often "lose their memory" when switching, requiring users to repeatedly explain project backgrounds. Mnema aims to turn this context into a "shared brain" for all agents.
More from coding & agent
- Supabase ships official plugins for Kimi Code and Kimi Web — dshukertjr · 2026-07-21
- Claude Code often abandons the plan when a code change gets too large — roske_e · 2026-07-21
- Belgie: Embeds a TypeScript Sandbox for Python AI Agents Without Node.js — TheRealMrMatt · 2026-07-21
- Anthropic's AI Submits 65% of Engineering PRs, Slashes Prompts by 80% — Simon Willison · 2026-07-21
- Multiagent v2 playbook calls for 64 agents, diverse proof routes and adversarial checks — danshipper · 2026-07-21
- Hermes Agent adds built-in Word, Excel, PDF and PowerPoint support — Teknium · 2026-07-21