Local-first memory for AI agents

Give your AI agents a memory that stays

Private, file-based memory that lets your agents recall context across every conversation and project — over the Model Context Protocol, all on your machine.

macOS only · open source · runs 100% on-device · no account, no cloud

What is Localmem

Persistent context, without giving up your privacy

🔒
100% local & private
Memories live in plain files on your Mac. Nothing ever leaves the device — no cloud, no accounts.
🗂️
Cross-project by design
Recall context across every conversation and repo. One shared memory, wherever your agent works.
🔌
Speaks MCP
A native Model Context Protocol server any compatible agent can connect to in seconds.
🛡️
Per-memory access control
Grant or revoke what each agent can read and write, memory by memory.
📜
Full audit log
Every store and recall is logged locally, so you always know what your agents remember.
App + CLI
A polished macOS app for browsing memories, plus a fast CLI for scripting and automation.
A look inside

See Localmem in action

How it works

Three steps to lasting memory

1
Install & connect
Download the app or run the CLI, then point your agent at the local MCP endpoint.
2
Agents store & recall
Your agents write and search memories automatically as they work — no manual bookkeeping.
3
You stay in control
Browse, edit, and revoke memories anytime from the app. Your data, your rules.

One memory, every agent

Claude Code
Claude Desktop
Cursor
Codex
Antigravity
Any MCP client
On the roadmap

More, coming soon

☁️
Soon
Encrypted iCloud sync
Optional sync across your Macs — CloudKit only ever sees encrypted records, never plaintext.
📱
Soon
iPhone companion
Browse, search, and capture memories on the go — the same private vault in your pocket.
📦
Soon
Import & export
Move memories in and out as JSON or SQLite — understandable without any proprietary tooling.
🔌
Soon
More connectors
Additional agent adapters and integrations, so every tool you use shares one memory.

Download Localmem

Coming soon

The native macOS app is on its way. Star the repo to get notified at launch.

macOS 13+ · Apple Silicon & Intel