Mnemosyne
Zero-cloud AI memory layer, SQLite-backed, single pure-Python dependency, works with any agent framework.
- Source repo
- mnemosyne-oss/mnemosyne
- Stars
- ★ 3.7k
- Last updated
- 1d ago v0.7.7
- FARS reviewed
- Nov 07, 2026
- License
- MIT
- Primary language
- Python
- FA score
- 71/100 · Some gaps
At a glance
- How it runs
- Works with
- Universal · cross-platformCodex · Claude Code
- Cost
- Free, no paid service needed
- Setup effort
- Low · running in minutes
- You'll need
- Typical use
- Developers who want cross-session memory in Claude Code or Cursor without uploading data to the cloud
- Not a fit if
- Teams needing multilingual recall without swapping embedding models
- Users on machines with under 2 GB free RAM
- Teams wanting sync without running their own sync server
- Website
- mnemosyne.site ↗ set on GitHub
- Maintenance
- Commits in the last 30 dayslast commit 2026-12-02latest release v0.7.7 (2026-10-27)+5.1 ★/day over 7 days
- Source review
- 71/100 · Some gaps
What does this agent do, and when should you use it?
Mnemosyne is a local-first, Hermes-first memory layer for AI agents. It provides persistent memory through a single SQLite file with hybrid retrieval (vector + FTS5 + importance). The BEAM architecture includes working memory, episodic memory, and a temporal knowledge graph. It supports MCP (stdio/SSE/streamable-http) and Python SDK, integrating with Cursor, Claude Code, Codex, OpenWebUI, and more. Installation is a simple pip install with no external services. Data stays on your machine by default. Advanced features include CLI, sync, and client-side encryption.
Mnemosyne launches an MCP server via mnemosyne mcp or exposes remember() and recall() functions in Python. Under the hood, it uses SQLite with sqlite-vec and FTS5, scoring by 50% vector similarity + 30% keyword + 20% importance. It offers a temporal knowledge graph (TripleStore) and memory banks for domain isolation. CLI commands include store, recall, stats, export/import, and sync. Sync supports bidirectional delta updates with optional encryption.
- Developers who want cross-session memory in Claude Code or Cursor without uploading data to the cloud
- Teams deploying agents on a VPS that need centralized memory and sync
- Hermes Agent users who want built-in memory and automatic context injection
- Privacy-sensitive users who need fine-grained control over memory (expiry, importance)
- Developers building custom Python agents and needing quick persistent memory integration
- Low-resource environments (e.g., Raspberry Pi) that need a minimal-dependency memory system
Key setup facts
Pulled from the install and usage notes below. The project README has the current values.
- Install / run
pip install mnemosyne-memorypip install "mnemosyne-memory[all]"
- Runtime
- Python 3.10+
How do you install or deploy this agent?
Install with pip install mnemosyne-memory (core) or pip install "mnemosyne-memory[all]" (full with vector search and MCP). Requires Python 3.10+.
How do you use this agent?
- Add MCP server config to your client (e.g., Cursor) with
command: "mnemosyne", args: ["mcp"]. 2. Or in Python:from mnemosyne import remember, recall, then callremember("User prefers dark mode")andrecall("preferences"). 3. Use CLI directly:mnemosyne store "...",mnemosyne recall "...". 4. Configure environment variables for embedding model and database path.
Safety boundaries, hardening & integrations
Operational blast radius, source-verified safety controls, and first-run hardening steps before connecting this agent to real workspaces.
Declared capability surface (blast radius)
Can run terminal commands; pair with approval gates or container/OS sandboxing.
FARS trust-control audit
- data-flow disclosure
What are this agent's strengths and limitations?
- Local-first by default, no data leaves the machine, no telemetry
- Single SQLite file, simple deployment with zero external dependencies
- Built-in MCP server, works with multiple agent platforms out of the box
- Strong benchmark results: 65.2% on BEAM 100K, low latency (35ms at 10M messages)
- Client-side encryption for sync, server cannot read memory content
- Benchmark numbers may be outdated; BEAM scores from v3.0.0 not re-run
- Default embedding model is English-optimized; multilingual requires configuration
- Full features (local embeddings, LLM consolidation) require significant RAM
- Sync feature requires additional server setup and key management, adding operational complexity
How does this agent compare with similar options?
Compared to alternatives like mem0, Letta, and Honcho, Mnemosyne stands out for its local-first, zero-dependency approach, built-in MCP server, and multi-platform support. On benchmarks, it scores 87.4% on LongMemEval (vs. mem0's 49%), but 65.2% on BEAM (vs. Hindsight's 73.4%, though with a different judge).
Key facts side by side with the most closely related agents.
| Agent | Source review | Form / cost | Stars | Updated | Language | Full support on |
|---|---|---|---|---|---|---|
| Mnemosyne This agent | 71 · Some gaps | CLIFree | ★ 3.7k | 1d ago | Python | Codex · Claude Code |
| M-flow Cognitive Memory Engine | 57 · Major gaps | CLIFree + model costs | ★ 4.5k | 4mo ago | Python | OpenAI API · Claude API |
| Nocturne Memory: Long-Term Memory Server for MCP Agents | 63 · Some gaps | MCP serverFree | ★ 1.4k | 29d ago | Python | — |
| ApeRAG | 43 · Major gaps | Self-hosted serviceFree + model costs | ★ 1.3k | 1mo ago | Python | — |
How does FollowAgents rate this agent?
Why each dimension lost points
The source describes local SQLite storage, optional sync and remote embeddings, and an HTTPS restriction for credentialed endpoints. Security documentation explains plaintext versus encrypted sync, exposed metadata, key sources, and local file protections, supporting a 3 for data-flow transparency. Ordinary memory examples store preferences, an email, and a temporary token without confirmation; optional filtering and encryption do not amount to strong default protection, so confirmation and sensitive-data handling lose points. PyYAML is required and other dependencies are mostly optional with version bounds, but the sample shows no vulnerability review or lockfile, so dependency security is 1. Sync, remote embeddings, and LLM calls are optional external effects with clear disclosure, but require user configuration. Some destructive or importing workflows have dry-run, export, and rollback guidance, without a comprehensive recovery guarantee. Publisher identity is unknown; author metadata and a reporting path provide limited attribution but do not verify maintainer identity.
The docs specifically disclose recall gates that can miss semantic matches, stale benchmarks that have not been rerun, and discrepancies between generated configuration docs and declared defaults; these concrete inconsistencies limit self-consistency to 1. Python 3.10+, core and optional dependency tiers, and pre-request NumPy errors are documented, earning 2 for dependency availability. CLI errors and compatibility messages are user-facing, and installation instructions say to stop on failure, but the sample does not establish recovery guidance for every failure path, so failure messages score 2.
The README, installation guide, and skills cover generic Python, MCP, Hermes, containers, Windows, and low-resource or remote-embedding deployments with distinct instructions, earning 3 for audience and scenarios. Boundaries for local versus remote embeddings, sync metadata, optional models, and recall tradeoffs are described, but users still need to judge many configuration choices, so capability boundaries score 2. Hermes skill applicability is explicit, but product-level trigger guidance is scattered and does not define a universal Agent activation rule, scoring 2. SQLite storage, Python version, dependency profiles, RAM needs, and platform constraints are documented, earning 3 for environment fit.
Documentation is broad and organized into a table of contents and focused guides, but the README is dense and the sample contains declared-versus-effective default discrepancies, so information architecture scores 2. Installation guides provide scenario-specific steps, interpreter checks, stop conditions, and verification commands, earning 3. Mnemosyne, BEAM, and Hermes provider are explained, but tool-count and product descriptions vary across README and skills, so naming stability scores 2. API/CLI, setup, troubleshooting, recall diagnosis, and limitation examples are strong, earning 3. Recall weaknesses, stale benchmarks, visible sync metadata, plaintext storage, and input-cap limitations are disclosed, earning 3. The MIT license text is complete, earning 3. README labels benchmark versions and dates and identifies open work, but the sample does not show a coherent release changelog, so versioning scores 2. pyproject author metadata and SECURITY.md offer maintenance and reporting pointers; identity is unverified and reporting relies on external accounts, so maintenance responsibility scores 2.
Memory write/recall, CLI, MCP, import/export, and diagnostics have practical usage examples, but the sample cannot establish result quality or consistency across interfaces, so output usability scores 2. Persistent local memory across agents, hybrid search, a knowledge graph, and optional sync provide clear marginal value, earning 3. The core is lightweight and features are tiered, while local embeddings/LLMs have substantial RAM costs and remote services add privacy and possible cost tradeoffs, so cost-benefit scores 2.
Many behaviors are traceable to configuration docs, source excerpts, and security explanations; performance, benchmark, and comparison claims remain partly self-reported, so claim traceability scores 2. README, security docs, installation guides, and source corroborate local storage, remote embeddings, and integrations, but some benchmark figures, tool counts, and defaults conflict, so cross-source corroboration scores 2. The docs distinguish old measured benchmarks from unrerun work and identify privacy conditions and limitations, keeping fact and inference reasonably separate, earning 3.
- Default memory examples store an email and a temporary token; avoid storing sensitive content or configure filtering, and protect the local database file.
- Remote embeddings send memory text and queries to the provider; sync without client-side encryption exposes memory content to the server.
- Benchmark figures are labeled as older-version results not rerun on the current tree; some effective configuration defaults also differ from declared values.
Recent releases
Latest entries from the project's GitHub Releases. Notes are quoted from upstream as written, not rewritten or tested by FollowAgents.
-
Release notes excerpt
What's Changed * chore(hermes): prepare 0.7.7 with rc1-compatible Core requirements by @dplush in https://github.com/mnemosyne-oss/mnemosyne/pull/1256 Full Changelog: https://github.com/mnemosyne-oss/mnemosyne/compare/v4.0.0...v0.7.7View on GitHub ↗ -
Release notes excerpt
What's Changed * fix(hermes): explicitly adopt legacy pairs into PM by @dplush in https://github.com/mnemosyne-oss/mnemosyne/pull/1217 * fix(import): make JSON import all-or-nothing (#727) by @AxDSan in https://github.com/mnemosyne-oss/mnemosyne/pull/1219 * feat(hermes): report read-only PM ownership in status by @dplush in https://github.com/mnemosyne-oss/mnemosyne/pull/1223 * fix(cli): validate sleep usage before initialization by @dplush in https://github.com/mnemosyne-oss/mnemosyne/pull/1224 …View on GitHub ↗ -
Release notes excerpt
What's Changed * fix(beam): finish the deletion cascade and block late enrichment (#1131, #1126, #1100) by @AxDSan in https://github.com/mnemosyne-oss/mnemosyne/pull/1209 * test(recall): cover enhanced explain content cap boundaries by @dplush in https://github.com/mnemosyne-oss/mnemosyne/pull/1186 * fix(hermes): key bindings by home and active profile (#1188) by @AxDSan in https://github.com/mnemosyne-oss/mnemosyne/pull/1211 * fix(recall): hide derived rows whose source memory is gone (#1035) by @AxDSan in https://github.com/mnemosyne-oss/mnemosyne/pull/1213 …View on GitHub ↗
FAQ
Do I need external API keys?
How is data security handled?
Does it support non-English languages?
paraphrase-multilingual-MiniLM-L12-v2 via environment variables.What about performance?
Can I integrate with my existing agent?
Thanks — we use this to improve the page.
Subscribe to the FollowAgents RSS feed, or save this agent to your browser shortlist to compare on your next visit.