Persistent memory for AI agents

The next agent
starts wiser.

Mnemosyne is local-first, long-term memory for AI agents: one SQLite file keeps what an agent learned with the evidence behind it, served over MCP, SDK, CLI and HTTP.

npm install mnemosy-ai

Stable 2.0.0 · npm latestPre-release 3.0.0-rc.3, the breakthrough release · npm next

This is the TypeScript package mnemosy-ai (28naem-del/mnemosyne). It is a separate project from mnemosyne-oss/mnemosyne, the Python mnemosyne-memory package on PyPI; the two share a name, not code or maintainers.

MNEMOSYNE / MEMORY COREMemory contour · 3D enhancement available

Explore the memory concept. 3D controls appear when ready.

INTERACTIVE CONCEPT
Experience, held together.

One structure. Many layers. Every memory stays connected to what supports it.

Enter the memory lifecycleOpen source. Built for continuity.
One memory layer.
Your choice of agent.
Local-firstModel-agnosticSDK + APIMIT licensed

01 / Beyond the context window

Every session ends.
Experience shouldn’t.

Keep the fact and its source. The decision and its reason. The lesson and the evidence that makes it useful.

Measured / protocol beside every number

Measured in public.
Limits printed beside it.

Each result names its release, its protocol and what it does not show. Reproduce commands are on the trust page.

2.0.0 · LongMemEval-S answer accuracy409/500

81.8% correct, Wilson 95% CI 78.2–84.9
Reranked retrieval read by claude-sonnet-4.6 and judged by claude-haiku-4.5. Prompt and budget were chosen on 100 of the 500 questions.

3.0.0-rc.2 · Poisoning suite v1, consolidation on0/167

attacks escaped · 0/60 false quarantines
227 synthetic cases on the lexical path. A statement about these cases, not about attacks outside the suite.

3.0.0-rc.2 · PrecisionMemBench, protocol-exact70/77

single-turn cases · 11/12 session turns
Public fixture the opt-in controls were designed against, so not a held-out estimate. No LLM judge.

The 2.0.0 accuracy run uses a language-model reader and judge; the 3.0.0-rc.2 suites run offline with no LLM judge, and the default retrieval path did not move between them (LoCoMo and LongMemEval-S recall identical before and after). All five 3.0.0-rc.2 results with protocols and limits ↗ · The earlier rc.8 coverage study stays in the documentation as history.

Inside the system

From raw context.
To reusable experience.

Your agent owns the conversation and the actions. Mnemosyne connects the evidence, context and feedback around every turn.

Explore the agent loop
EvidenceContextYour agent
01Capture the sourceOriginals stay within reach

Keep selected documents and visible conversations with source identity, ownership and revision history. The local store needs no model call.

Source capture and inspection ↗
02Prepare the next turnA bounded context, with citations

Select eligible memories, summaries and original excerpts within a budget. Your host sends that context to its chosen agent; exact sources can be expanded when needed.

Adaptive context and retrieval ↗
03Learn from the outcomePropose. Trial. Then reuse.

Your controller records what worked. Candidate skills accumulate passed trials under a persisted policy. We recommend two distinct tasks and two distinct verifiers; the compatibility default remains one of each. Reopening a skill cannot weaken its saved requirements.

Reflection and validation ↗
04Keep experience currentChanged sources change the advice

Recheck sources and preserve when a correction became known and when it takes effect. With an evidenced correction history, earlier valid guidance stays available for the relevant time; obsolete guidance is withheld. Revalidate declared dependencies before an action.

Freshness and action checks ↗

02 / A different way to switch

Start alongside.
Move at your pace.

Your agent keeps its existing memory. Mnemosyne copies the memories it retrieves and earns a greater role through paired recall checks.

Explore gradual migration
Existing memory Answers the queryMnemosyne Copies eligible records

Keep the familiar path.

The legacy store serves the query. Eligible returned records are copied into Mnemosyne with source identity, so adoption starts with the memories your agent actually retrieves.

Existing memory Still queriedMnemosyne Paired recall checks

Compare before relying.

Query both stores and compare their retrieval results. Policy gates control progression; uncertain or unhealthy local results keep the legacy path available.

Existing memory Checked on every queryMnemosyne Eligible local results

Grow the role. Keep the fallback.

Prefer eligible current local results while continuing to reconcile with the source. Unfamiliar records remain reachable. Return to legacy routing at any time.

Adoption guide · illustrative routing, no live account connected.

The bridge uses a read-only legacy adapter. Reviewed full imports remain available.

Mnemosyne Migration

Bring your current memory. Keep its history.

11 supported export profiles, plus a gradual bridge that copies memories as your agent uses them. Explore migration options ↗

Five moments.
Each one measures itself.

A saved run of mnemosy demo: replay, a correction, bisect, a poisoning attempt and gated consolidation, each ending in a PROOF line measured during that run.

Recorded on the built 3.0.0-rc.2 engine on 2026-10-28; not a live model · synthetic corpora · lexical path · no LLM
mnemosy demo · five momentsLoading the recording…

Loading the five-moment recording. Open the raw recording.

What this recording proves, and its limits

This page replays text saved from one run of mnemosy demo on 2026-10-28, on a loaded build machine. Nothing runs in your browser and no model is called. The timings shown are the recording’s own and will differ on your machine; where the transcript or a PROOF label says “live”, it means that recording run.

    Run it yourself with npx -y -p mnemosy-ai@next mnemosy demo, or node dist/cli/index.js demo from a built 3.0.0-rc.2 checkout. Suite-level numbers and their protocols are on the trust page; what each moment proves and does not prove is in DEMO.md.

    Download the complete recording

    A lesson is only as good
    as its evidence.

    Explore a real recorded run. Watch a skill earn reuse, move between agents, and retire when its source changes.

    Recorded runtime integration · synthetic fixtures · no LLM inference
    From source to tested skillLoading recorded checks…

    Loading the learning-cycle recording.

    Evidence, reproduction and limits

    This page displays a saved run from a temporary local memory store. It does not operate your database or evaluate a language model. From the tagged source, reproduce it with npm run demo:learning.

      Download the complete learning run

      Nothing useful
      should be a black box.

      Open the records. Compare the context. Follow two agent identities through a handoff and inspect exactly what changes.

      Classic recording from the 2.0.0 line (mnemosy demo --classic) · no LLM inference
      Catalogue workspaceLoading recorded checks…
      Loading the recorded engine run. Open the raw evidence.

      What this run verifies, and its limits

      The recorded run includes source persistence, shared handoff, private-record isolation, correction cascades, context budgeting and live-store deletion. Load the inspector or read every check in the raw JSON.

      From the tagged source, reproduce it with npm run demo npm run demo:learning. All records are synthetic. This page reads a saved run; it does not connect to your memory database.

      Inspectable by design

      Keep the context.
      Keep your control.

      A memory system should make its decisions easier to inspect. Every layer keeps the source, the scope and the recovery path in view.

      Explore the Mnemosyne approach

      Evidence, all the way down.

      Source citations, dependency chains, validity windows and recorded outcomes connect a memory to what supports it.

      Share with intent.

      Private ownership and explicit workspace sharing. Scoped credentials, revocation and separate capture, recall and destructive permissions.

      Make changes recoverable.

      Preview branches and imports. Validate backups and restore to a new path. Inspect correction history or forget records from the live store.

      Measure what reaches the agent.

      Inspect measured retrieval and packed-context coverage. Use the matched-reader agent harness to test answer quality, stale actions and negative transfer on your own tasks.

      Put experience to work

      Different agents.
      A common memory.

      Start with one workflow. Keep the evidence and the lessons useful as the work moves forward.

      Connect where you work

      Your agent. Your model. Your stack.

      Choose a supported interface and connect it through your host application. Find your starting point.

      Build with
      Mnemosyne.

      Start locally, connect one agent and inspect the evidence. 2.0.0 is the stable release and ships both the Vector Engine and the Local Engine. 3.0.0-rc.3 is the newest pre-release; it ships the Local Engine only.

      3.0 is a breaking release. createMnemosyne and the vector subpaths move to mnemosy-ai-legacy, which is not on npm. Stay on mnemosy-ai@2 or build it from a checkout. 3.0 migration notes ↗

      Choose your engine ↗
      Stable 2.0.0 · npm latest / Pre-release 3.0.0-rc.3 · npm next

      Install. Run. Inspect.

      Install the package and run the offline demonstration. The default local path needs no model API key.

      Stable · Node.js 22.16 or newer
      npm install mnemosy-ai
      npx --no-install mnemosy demo
      npx --no-install mnemosy learning-demo
      Pre-release 3.0.0-rc.3
      npm install mnemosy-ai@next
      npx --no-install mnemosy demo
      npx --no-install mnemosy demo --classic

      Pin mnemosy-ai@2.0.0 or mnemosy-ai@3.0.0-rc.3 to reproduce a result; the 1.x line stays installable as mnemosy-ai@1. Test your workload before production.

      Installation & engine choice ↗Releases & release notes ↗

      A few useful details

      Before you
      connect it.

      See every capability
      How is this different from a vector database?

      Mnemosyne connects retrieval to the rest of an agent’s memory lifecycle: original evidence, task state, two time axes, correction history, source checks and tested skills. Mnemosyne Recall uses scoped relevance scoring by default. Optional semantic search and reranking extend it while keeping the same ownership and evidence checks.

      Can I keep my current memory system?

      Yes. Connect a read-only legacy adapter to the gradual bridge, then start in shadow mode. It copies eligible retrieved memories and compares recall before increasing local reliance. It continues checking the original store, including in prefer mode. Full migration is also available through supported export profiles.

      Which agents and models can I connect?

      Use TypeScript, the Python HTTP client, CLI, MCP or authenticated HTTP. Provider adapters expose scoped memory operations and virtual files through supported tool-calling interfaces. Your host supplies the model, account and integration; these interfaces do not import consumer account memories automatically.

      Can memory intelligence run on my device?

      Yes. Mnemosyne On-Device Intelligence provides optional CPU embeddings and reranking. Provision the supported runtime and model weights explicitly, then use the cached models offline. The default local store and lexical recall work without models or an API key; observation and reflection still need a provider you configure. Explore on-device setup.

      What does it cost to run?

      Mnemosyne is MIT licensed, with no software license fee. The local store and default lexical retrieval need no API key or model call. Optional embedding, observation and reflection providers have their own costs, as does your infrastructure. See the local and provider paths.

      Where does my data live?

      The Mnemosyne Local Engine stores data in a database file you control. Optional embedding, extraction or reflection providers receive only the inputs your application supplies. The database and backups are not encrypted by Mnemosyne; protect their filesystem access and choose providers deliberately.

      What is ready to try today?

      2.0.0 is the stable npm release (latest). It includes both engines, the recall upgrade, temporal context, optional CPU inference, persisted skill gates and gradual migration, and it measured 409 of 500 LongMemEval-S questions answered correctly with a language-model reader and judge (Wilson 95% CI 78.2–84.9). 3.0.0-rc.3 is the newest pre-release (next). Replay and bisect were already in 2.0.0; 3.0 adds outcome-gated consolidation, dependency inference for review, a poisoning gate, opt-in precision controls and hybrid-path bisect in the kernel, measured on the offline suites listed on the trust page with their protocols and limits. Retrieval coverage is not answer accuracy, and the demos are saved runs on synthetic data. The Python client remains available from source. Hosted synchronization and enterprise identity remain outside both releases. Read the release boundaries.

      Independent by origin. Ambitious by design.

      Build the next
      chapter with us.

      Mnemosyne is built by Aristotle Intelligence Inc., a Delaware company. Development has been fully self-funded to date.

      We welcome conversations with investors and partners who share our ambition for persistent, useful agent memory.

      Fully self-funded Delaware, USA

      Make the next turn count

      Build on what
      your agents know.

      Open source. Your infrastructure. Room to build.