What is zero-knowledge AI memory?
Zero-knowledge AI memory means your AI memories are encrypted on your device with a key only you hold, so the service storing them can't read them. How it works in ownmem, and what it can't protect.
By songth1ef · Published · Last updated
Short answer: Zero-knowledge AI memory is a store for the things an AI should remember about you, encrypted on your own device with a key derived from your passphrase. The service that stores it only ever has ciphertext, so it can't read your memories — and can't recover them if you lose your keys. An AI model still sees whatever pieces you let it read during a conversation.
Why it matters
AI assistants are more useful when they remember you: your projects, preferences, decisions. That memory is also some of the most personal data you have. With ordinary AI memory, it's stored by the AI provider in a form they can read, and it's tied to that one provider.
How it works in ownmem
ownmem (ownmem.ai) applies zero-knowledge storage to AI memory:
- Your passphrase never leaves your browser. Argon2id and HKDF turn it into a key-encryption key.
- A random data key encrypts your memory files and chat history with AES-256-GCM in your browser.
- Our servers store only the encrypted vault plus metadata such as its size and version.
- A 12-word recovery phrase is the only backup key. We don't have one.
Full details: How encryption works.
What zero-knowledge does not mean
- The AI model sees what it reads. To answer you, the model receives your
resident.md, a compact memory map (folder and file names), and the snippets and files the assistant searches or opens in that conversation. Those are processed by the model provider. - No recovery without your keys. Lose both your passphrase and recovery phrase and the data is gone.
- Optional features can step outside it. ownmem's Agent share stores a server-readable copy of folders you choose; it's off by default and labeled as not zero-knowledge.
- Your device matters. Anyone with your unlocked browser can read your vault.
Zero-knowledge memory vs. built-in AI memory
| Aspect | Built-in memory of an AI app | Zero-knowledge memory (ownmem) |
|---|---|---|
| Who can read the stored memory | The provider | Only you (on your devices) |
| Works across AI providers | Usually tied to one app | Any model in ownmem chat, and any MCP client |
| Format | Provider-specific | Plain Markdown files you can export |
| Recovery if you forget your password | Usually possible | Only with your recovery phrase |
How specific AI apps store their built-in memory isn't covered here; check each provider's documentation.
FAQ
Is zero-knowledge the same as end-to-end encryption?
They're closely related. End-to-end encryption usually describes messages between people; zero-knowledge storage means the storage provider can't read what it stores. ownmem's vault is encrypted and decrypted only in your browser.
Can ownmem staff read my memories?
No. We only have ciphertext and never hold your passphrase, recovery phrase or keys.
Then how does the AI use my memory?
Memory tools run in your browser on the decrypted copy and send only their results — snippets or opened files — to the model. See Memory files & tools.
Recovery phrase & lost passphrase
Your 12-word recovery phrase is the only way to reset a forgotten ownmem passphrase. If you lose both, nobody can decrypt your data.
Memory files & tools
Your ownmem memory is a folder of Markdown files under /memories. resident.md is loaded into every chat; the assistant searches and edits the rest with memory_* and vault_* tools that run in your browser.