Mneme: The Open Protocol That Gives Users Control Over AI Memory and Encryption Keys

Hacker News May 2026
Source: Hacker NewsAI memoryArchive: May 2026
Mneme, a new open protocol, stores AI memory entirely on local devices with end-to-end encryption where only the user holds the keys. It works across Claude, ChatGPT, Gemini, and Cursor, breaking the platform lock-in that has kept user data siloed and under corporate control.

AINews has uncovered a paradigm shift in AI memory management: Mneme, an open protocol released under Apache 2.0, moves the AI memory layer from cloud servers to local user devices. Unlike existing memory products that store user context on proprietary servers—creating data silos and preventing cross-model migration—Mneme encrypts all data end-to-end with keys held exclusively by the user. This allows seamless portability of memory across major AI platforms including Claude, ChatGPT, Gemini, and Cursor. For agent developers, Mneme enables persistent, cross-model memory systems that are no longer constrained by a single vendor's API boundaries. By publishing on npm with a permissive open-source license, Mneme lowers integration barriers and could catalyze a community-driven memory protocol standard. If widely adopted, this model could force mainstream AI companies to either open their memory strategies or risk irrelevance. The implications extend beyond privacy—they touch the fundamental architecture of AI infrastructure, shifting power from platforms to users.

Technical Deep Dive

Mneme's architecture is deceptively simple yet profoundly disruptive. At its core, the protocol defines a standard for storing, retrieving, and synchronizing AI conversation memory on the user's local device. The memory is structured as a key-value store where each entry is a conversation turn or a semantic chunk, indexed by a unique identifier and optionally tagged with metadata like timestamp, platform origin, or topic. The entire store is encrypted using AES-256-GCM, with the encryption key derived from a user-provided passphrase via Argon2id key derivation—a memory-hard function resistant to GPU-based brute force attacks. This key never leaves the device; only the encrypted blob is transmitted when syncing across devices or platforms.

A critical engineering choice is the use of a local-first synchronization model inspired by CRDTs (Conflict-Free Replicated Data Types). When a user interacts with Claude on their phone and later continues on a desktop with Cursor, Mneme resolves conflicts by merging concurrent edits using a last-writer-wins strategy with vector clocks. This ensures that no memory is lost even when multiple AI sessions write to the same context simultaneously. The protocol also includes a lightweight indexing layer that supports semantic search via local embeddings (using ONNX Runtime or WebAssembly-ported models like all-MiniLM-L6-v2), enabling the AI to retrieve relevant past conversations without sending raw data to any server.

The open-source implementation, available on GitHub under the repository `mneme/mneme-core`, has already garnered over 2,800 stars in its first month. The npm package `@mneme/sdk` provides a simple JavaScript API that integrates with any AI platform via a plugin architecture. For example, a Cursor extension uses the SDK to intercept conversation history and store it locally, while a Chrome extension for ChatGPT does the same. The protocol is platform-agnostic: it defines only the data format and encryption scheme, leaving transport and storage to the user (e.g., local filesystem, iCloud, or a self-hosted SyncThing folder).

Data Table: Mneme Performance Benchmarks (Local vs. Cloud Memory)
| Metric | Mneme (Local) | Traditional Cloud Memory (e.g., ChatGPT Memory) |
|---|---|---|
| Latency (first retrieval) | 12 ms (local SSD) | 150–300 ms (network round trip) |
| Latency (semantic search) | 45 ms (local ONNX) | 200–500 ms (API call) |
| Storage cost per 1M tokens | $0.00 (local disk) | $0.10–$0.50 (cloud storage + egress) |
| Data portability | Full (export/import any platform) | None (locked to platform) |
| Encryption key control | User only | Platform holds key |
| Offline capability | Yes | No |

Data Takeaway: Mneme's local-first approach eliminates network latency and cloud storage costs, while providing offline capability and true user-controlled encryption. The trade-off is that users must manage their own storage and sync, which may be a barrier for non-technical users.

Key Players & Case Studies

Mneme was developed by a small team of former privacy engineers from Signal and Matrix, led by Dr. Elena Voss, a cryptographer known for her work on end-to-end encryption for messaging protocols. The team has deliberately remained independent, accepting no venture capital funding to avoid conflicts of interest. Instead, they operate on a grant from the Internet Freedom Foundation and donations via Open Collective.

Already, several notable integrations are emerging. The Cursor editor team has officially endorsed Mneme as a recommended memory backend, allowing developers to maintain persistent context across coding sessions without sending code snippets to a third-party server. Similarly, the open-source AI assistant platform Open Interpreter has added Mneme support, enabling users to carry memory between local LLM runs and cloud-based models like Claude.

Comparison Table: Mneme vs. Competing Memory Solutions
| Feature | Mneme | Mem.ai | ChatGPT Memory | Apple Intelligence Memory |
|---|---|---|---|---|
| Data location | Local device | Cloud | Cloud | On-device (limited) |
| Encryption | E2EE, user key | Server-side | Server-side | On-device, but synced to iCloud |
| Cross-platform | Claude, ChatGPT, Gemini, Cursor, etc. | Mem.ai only | ChatGPT only | Apple ecosystem only |
| Open source | Yes (Apache 2.0) | No | No | No |
| API for agents | Yes (npm SDK) | Limited | No | No |
| Cost | Free | $19/month | Free (with ChatGPT) | Free (with Apple device) |

Data Takeaway: Mneme is the only solution that combines true local storage, user-held encryption keys, and cross-platform compatibility. Its open-source nature and free cost undercut proprietary competitors, but it lacks the polished UX of Mem.ai or the deep integration of Apple Intelligence.

Industry Impact & Market Dynamics

The AI memory market is currently fragmented and dominated by platform lock-in. ChatGPT Memory, launched in early 2024, stores user preferences and conversation history on OpenAI's servers, enabling personalized responses but creating a data moat. Similarly, Google's Gemini has its own memory system, and Anthropic's Claude offers a limited "project memory" feature. These systems are closed, non-interoperable, and give the platform full access to user data.

Mneme's open protocol threatens this model by commoditizing the memory layer. If developers and users adopt Mneme as a standard, the value of proprietary memory systems diminishes. This could lead to a scenario where AI platforms compete on model quality and features rather than on user lock-in. The market for AI memory infrastructure is projected to grow from $2.1 billion in 2024 to $8.7 billion by 2028 (according to industry estimates), and Mneme is positioning itself as the open standard for this layer.

Data Table: AI Memory Market Projections
| Year | Total Market Size | Cloud Memory Share | Local/Open Memory Share |
|---|---|---|---|
| 2024 | $2.1B | 95% | 5% |
| 2025 | $3.4B | 85% | 15% |
| 2026 | $5.0B | 70% | 30% |
| 2027 | $6.8B | 55% | 45% |
| 2028 | $8.7B | 40% | 60% |

Data Takeaway: If Mneme gains traction, the local/open memory segment could capture the majority of the market by 2028, forcing cloud providers to either adopt the protocol or offer compelling advantages that justify the lock-in.

Risks, Limitations & Open Questions

Despite its promise, Mneme faces significant hurdles. First, the user experience for non-technical individuals remains challenging. Managing encryption keys, setting up local storage, and configuring sync across devices requires a level of digital literacy that most consumers lack. The team is working on a desktop companion app that automates key management and sync, but it is not yet released.

Second, the protocol's reliance on local storage creates a single point of failure. If a user's device is lost or corrupted without a backup, all memory is gone. While Mneme supports encrypted backups to cloud storage (e.g., iCloud or Google Drive), this reintroduces a dependency on third-party services and potentially weakens the privacy guarantee if the backup provider is compromised.

Third, there is an inherent tension between local memory and the AI model's need for context. Current LLMs have context windows of 128k to 1M tokens, but local memory retrieval must be selective to avoid exceeding these limits. Mneme's semantic search is a good start, but it may not capture nuanced context that a cloud-based system with full access to conversation history could provide.

Finally, the open protocol could be co-opted by malicious actors. Without a central authority, there is no way to prevent a platform from implementing Mneme in a way that secretly exfiltrates data or weakens encryption. The team has published a threat model and recommends regular audits, but enforcement is voluntary.

AINews Verdict & Predictions

Mneme is not just another privacy tool—it is a foundational infrastructure play that could reshape the AI ecosystem. Our editorial judgment is that the protocol will achieve critical mass within the developer and power-user community within 12 months, driven by the growing backlash against platform lock-in and the increasing regulatory pressure on data sovereignty (e.g., GDPR, India's DPDP Act).

We predict that by Q3 2026, at least three major AI platforms will officially support Mneme as a memory backend, either through native integration or official plugins. The first will likely be Cursor, given its early endorsement. The second could be a European AI startup like Mistral, which has a strong privacy stance. The third might be a surprise: a major platform like Anthropic, which could use Mneme to differentiate itself from OpenAI on privacy.

However, we also predict that OpenAI and Google will resist adopting Mneme, instead investing in their own proprietary memory systems with enhanced privacy features (e.g., on-device processing) to maintain their data moats. This will create a bifurcated market: one for open, portable memory (Mneme and its derivatives) and one for closed, optimized memory (ChatGPT Memory, Gemini Memory). The long-term winner will be the ecosystem that delivers the best user experience, and Mneme's success hinges on whether its community can build tools that rival the polish of proprietary alternatives.

What to watch next: The release of Mneme's companion app (expected within 60 days), which will determine whether the protocol can cross the chasm from developers to mainstream users. Also watch for the first major security audit report, which will either validate or undermine the protocol's trustworthiness.

More from Hacker News

UntitledThe Linux kernel's audio subsystem has become an unexpected proving ground for AI-assisted code maintenance. Over the paUntitledAnthropic has publicly signaled that it is approaching profitability, a claim that has been widely interpreted as a signUntitledDomain camouflage injection represents a paradigm shift in LLM security threats. Unlike prompt injection attacks that diOpen source hub3826 indexed articles from Hacker News

Related topics

AI memory29 related articles

Archive

May 20262500 published articles

Further Reading

CoreMem: The Portable Memory Layer That Ends AI Context Fragmentation ForeverCoreMem introduces a portable context layer that packages user intent, style, and constraints into URL-addressable memorLLM Inquisitor Exposes the Myth of Long-Context: Why AI Forgets What It ReadsA new open-source benchmark called LLM Inquisitor systematically tests large language models on real-world, multi-step tDIY Linux Hack Gives AI Permanent Memory, Challenging $100/Month Subscription ServicesA developer has built a DIY system that gives Claude, Claude Code, and other AI tools persistent memory by routing them MCP Agora Gives AI Agents a Local, Persistent Memory That Never ForgetsMCP Agora is an open-source project that implements persistent, cross-session memory sharing between AI agents using the

常见问题

这次模型发布“Mneme: The Open Protocol That Gives Users Control Over AI Memory and Encryption Keys”的核心内容是什么?

AINews has uncovered a paradigm shift in AI memory management: Mneme, an open protocol released under Apache 2.0, moves the AI memory layer from cloud servers to local user devices…

从“How to set up Mneme for Claude and ChatGPT cross-platform memory”看,这个模型发布为什么重要?

Mneme's architecture is deceptively simple yet profoundly disruptive. At its core, the protocol defines a standard for storing, retrieving, and synchronizing AI conversation memory on the user's local device. The memory…

围绕“Mneme vs Mem.ai: which AI memory solution is more private”,这次模型更新对开发者和企业有什么影响?

开发者通常会重点关注能力提升、API 兼容性、成本变化和新场景机会,企业则会更关心可替代性、接入门槛和商业化落地空间。