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
- Resin lets an agent build standalone LLM inference engines; vLLM and SGLang optimize DeepSeek kernels differently — AccBalanced · 2026-10-27
- How I let my cloud Grok Bot code on my Mac mini via Tailscale, no public ports — talkaboutdesign · 2026-10-27
- Context layout is a cost decision: one memory edit can bust your entire agent prompt cache — dscape · 2026-10-27
- Alchemy adds effect/Workflow support across Durable Objects, Workflows and Lambda Durable Functions — samgoodwin89 · 2026-10-27
- Alchemy's Lambda Web Functions run plain Node web servers on Lambda, no OpenNext needed — samgoodwin89 · 2026-10-27
- Alchemy makes all ~2,850 AWS bindings work from any cloud, not just S3/Lambda/DynamoDB — samgoodwin89 · 2026-10-27