by richarvey
Self-hosted semantic memory for AI agents, served over MCP. Persistent sessions, experience scoring, a graveyard for dead ends and skills compiled from what worked, plus knowledge from the RSS feeds you read. One Rust binary on SQLite: a tray app for macOS, Windows and Linux, or a server.
# Add to your Claude Code skills
git clone https://github.com/richarvey/OmniMemOmniMem is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by richarvey. Self-hosted semantic memory for AI agents, served over MCP. Persistent sessions, experience scoring, a graveyard for dead ends and skills compiled from what worked, plus knowledge from the RSS feeds you read. One Rust binary on SQLite: a tray app for macOS, Windows and Linux, or a server. It has 105 GitHub stars.
OmniMem's catalog security scan is still queued. You can run an instant dependency and prompt-injection check now with the "Scan for vulnerabilities" button above.
Clone the repository with "git clone https://github.com/richarvey/OmniMem" and add it to your Claude Code skills directory (see the Installation section above).
OmniMem is primarily written in Rust. It is open-source under richarvey on GitHub, so you can review or fork the full source.
Yes. AgentsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh OmniMem against similar tools.
No comments yet. Be the first to share your thoughts!
Unlocks once the catalog security scan passes (runs nightly).
The deep catalog scan for this skill is still queued. Run an instant dependency check now instead.
Stop living the same session twice.
Every coding agent session starts from zero. It doesn't know your project. It doesn't remember what failed last week. It has no idea you lost an evening working out why WebKitGTK quietly ignores a redirect from a custom URL scheme.
So you explain everything again, and the agent confidently suggests the exact thing that didn't work. Same alarm, same song. You're Bill Murray and your agent is Punxsutawney.
OmniMem fixes that. It gives your AI agent a memory that lasts across sessions, projects and machines, over MCP, so it works with whichever agent you like. It runs on your own kit and it's free.
claude> answer the settings form with a 303 redirect
⚠ WARNING: previously abandoned approach
303 from omnimem://: WebKitGTK never follows it (effort: 4/5)
→ answer with a page that replaces itself instead
That warning came from memory, not luck. A mistake you've already paid for doesn't get to charge you twice.
[!NOTE] OmniMem 7 is one app in place of the four containers 6.x ran. The installers for every platform are on the releases page. Upgrading from an earlier 7? See Upgrading. Running 6.x? See Coming from 6.x: the 6.x Docker stack stays on the
v6.7.xbranch, and its one-line installer still works.
OmniMem 7 is a single binary. The MCP server, the memory engine, the embedding model, RSS ingestion and the database all live in one process, with your memories in one SQLite file. No containers to wrangle, no database server to babysit.
omnimem serve: a systemd service from the .deb or .rpm, or a container, configured with environment variables (one .env file for the service), with the same settings panel at /admin once you've signed in.The embedding model (all-MiniLM-L6-v2 on ONNX Runtime) runs locally. Nothing leaves the machine unless you add an Anthropic API key for the optional Claude Haiku features: fact extraction, query expansion, deeper contradiction checks and RSS summaries.
Everything is on the releases page, each file with a .sha256 beside it.
| Where | Download | What you get |
|---|---|---|
| Windows 10 and 11 (x64) | OmniMem-<version>-x64.msi |
The tray app, installed for you alone with no administrator needed. Not signed yet, so SmartScreen asks first: More info, then Run anyway |
| macOS 13.4 or later (Apple silicon) | OmniMem-<version>-arm64.dmg |
The menu bar app: drag it to Applications. There's no Intel build. omnimem-<version>-macos-arm64.tar.gz is the bare binary |
| Linux desktop (amd64, arm64) | omnimem-desktop-<version>-linux-<arch>.flatpak |
The tray app with everything it needs: flatpak install --user the file. omnimem-desktop-<version>-linux-<arch>.tar.gz is the same app for systems without Flatpak, needing GTK 3 and libayatana-appindicator3 |
| Linux server (amd64, arm64) | omnimem_<version>_<arch>.deb, omnimem-<version>-1.<x86_64|aarch64>.rpm |
The headless server as the omnimem systemd service, configured in /etc/omnimem/omnimem.env, with its data in /var/lib/omnimem. omnimem-<version>-linux-<arch>.tar.gz has an install.sh for other distributions |
| Docker (amd64, arm64) | richarvey/omnimem:<version> |
The same server as a container, with one /data volume. See the Docker guide |
Linux builds need glibc 2.38 or newer: Debian 13, Ubuntu 24.04, Fedora 39 and later.
Then point your agent at http://127.0.0.1:8765/mcp. In the desktop app the tray menu does it for you: Add to Claude Code and Add to Claude Desktop check first so OmniMem is never added twice, and Copy MCP URL covers everything else. By hand, for Claude Code, that's:
claude mcp add --transport http --scope user omnimem http://127.0.0.1:8765/mcp
Or as a Claude Code plugin, which adds the same server:
/plugin marketplace add richarvey/OmniMem
/plugin install omnimem@omnimem
The server hands its own usage guide to every agent that connects, so there's no instructions file to copy around. The quick start covers the rest.
Five kinds of memory, all searched together when your agent recalls something:
The top result might be a decision from six months ago on another project, yesterday's fix, or an article that landed on Tuesday night. It doesn't matter where it came from, as long as it's useful.
It isn't a key-value store with an MCP wrapper. OmniMem tries to behave the way memory actually does: things fade, they sometimes contradict each other, and the hard-won stuff earns its place.
omnimem hook puts the project's briefing in the opening context of every session, stops a tool call that repeats a known dead end before it runs (handing back what failed and what worked instead), and records what a session changed when it ends. omnimem install-hooks sets them up. Over ten paired runs on one task, every attempt at the abandoned approach was stopped, no treated run hit a failing test suite against 8 of 10 without, and it cost 27% less.ACTIVE → DEPRIORITISED → ARCHIVED → DELETED. "Forget about X" usually means stop bringing it up, not wipe it from existence.find_duplicates().briefing() hands over project context, experience stats, stale memories, new articles, contradictions and skill suggestions in one go.