Mnemosyne

Zero-cloud AI memory layer, SQLite-backed, single pure-Python dependency, works with any agent framework.

Stars
★ 3.7k
Last updated
1d ago v0.7.7
FARS reviewed
Nov 07, 2026
License
MIT
Primary language
Python

At a glance

How it runs
CLILibrary / SDKMCP server
Works with
Universal · cross-platformCodex · Claude Code
Cost
Free, no paid service needed
Setup effort
Low · running in minutes
You'll need
Python 3.10+pipShell / CLI
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.

  1. Developers who want cross-session memory in Claude Code or Cursor without uploading data to the cloud
  2. Teams deploying agents on a VPS that need centralized memory and sync
  3. Hermes Agent users who want built-in memory and automatic context injection
  4. Privacy-sensitive users who need fine-grained control over memory (expiry, importance)
  5. Developers building custom Python agents and needing quick persistent memory integration
  6. 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-memory
  • pip 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?

  1. 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 call remember("User prefers dark mode") and recall("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)

Local shell command execution

Can run terminal commands; pair with approval gates or container/OS sandboxing.

FARS trust-control audit

Verified present in source (3/3)
  • data-flow disclosure

What are this agent's strengths and limitations?

Pros
  • 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
Limitations
  • 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?

FollowAgents source review · FARS-2.1
Some gaps
71/ 100 5-point scale 3.6 / 5
Trust 17/29
Reliability 8/14
Adaptability 15/18
Convention 15/18
Effectiveness 10/13
Verifiability 6/8
Why each dimension lost points
Trust17 / 29 · 2.9/5

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.

Reliability8 / 14 · 2.9/5

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.

Adaptability15 / 18 · 4.2/5

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.

Convention15 / 18 · 4.2/5

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.

Effectiveness10 / 13 · 3.8/5

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.

Verifiability6 / 8 · 3.8/5

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.

Risks and how to mitigate them
  • 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.
Evidence confidence: Low Reviewed Nov 07, 2026 Reviewed revision ead261c14cd3 New commits since this review; the score may not cover them
See the full review method →
Maintain this project? Add the FARS badge to your README

The badge shows the current review score and verdict and links back to this page. It refreshes about once an hour after a re-review.

FARS

[![FARS review](https://followagents.com/badge/mnemosyne.svg)](https://followagents.com/en/agents/mnemosyne)
<a href="https://followagents.com/en/agents/mnemosyne"><img src="https://followagents.com/badge/mnemosyne.svg" alt="FARS review"></a>

Recent releases

Latest entries from the project's GitHub Releases. Notes are quoted from upstream as written, not rewritten or tested by FollowAgents.

  1. v0.7.7
    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.7
    View on GitHub ↗
  2. v4.0.0
    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 ↗
  3. v0.7.6
    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?
No for the core, but if using remote embedding APIs, set MNEMOSYNE_EMBEDDING_API_KEY (defaults to OpenRouter or OpenAI key).
How is data security handled?
Data is stored locally by default and never leaves your machine unless you enable sync. Sync supports client-side encryption (Fernet or PyNaCl); the server only sees metadata.
Does it support non-English languages?
The default embedding model is English-optimized, but you can switch to multilingual models like paraphrase-multilingual-MiniLM-L12-v2 via environment variables.
What about performance?
BEAM retrieval achieves 35ms latency at 10M messages with 7.2MB storage, but recall is only 20%; suitable for low-resource scenarios.
Can I integrate with my existing agent?
Yes, via MCP or Python SDK. It works with Cursor, Claude Code, Codex, OpenWebUI, and any custom Python agent.
Was this page helpful?
View on GitHub ↗ Install ↓

Host ecosystems

Compare agents like this one

The same FARS review applied across the shortlist this agent qualifies for.

Related concepts