Skip to main content

mnemo-db

PyPI distribution of Mnemo — an MCP-native memory database for AI agents.

pip install mnemo-db

The package directory and import path are still mnemo — only the PyPI distribution name has the -db suffix because the unqualified mnemo is held by an unrelated 2021 notebook project. Your code keeps saying:

from mnemo import MnemoClient

Quick start

from mnemo import MnemoClient

client = MnemoClient(db_path="agent.mnemo.db", agent_id="agent-1")

# Three primitives carry most workflows.
result = client.remember("The user prefers dark mode", tags=["preference"])
memories = client.recall("user preferences", limit=5)
client.forget([result["id"]])

# Mem0-compatible aliases also work:
# client.add(...), client.search(...), client.delete(...)

# Write provenance + FORGET BY PROVENANCE — audit who wrote what, then clean up.
prov = client.write_provenance(result["id"])        # who wrote it, under what authority
client.writes_by_principal("agent-1")                # everything a principal wrote
client.forget_by_principal("agent-1", "hard_delete") # revoke it all (audit trail survives)

# Each provenance record has a `flags` list. On remember(), content shaped like a
# provider opaque reasoning payload (arXiv:2608.09867 — these have leaked secrets
# in the wild) is flagged "opaque_reasoning_payload" and RECORDED, not rejected,
# so you can revoke it by principal/session later. It detects a SHAPE — not proof
# a secret is present — and never decodes the content.
if "opaque_reasoning_payload" in (prov or {}).get("flags", []):
    client.forget_by_session(prov["session_id"], "redact")

What's in the box

Surface What
MnemoClient Native PyO3 binding to the Rust engine — DuckDB storage, USearch HNSW vector index, Tantivy full-text index, hybrid retrieval, hash-chained audit log
MnemoMemoryToolServer Anthropic memory_20250818 6-op handler. pip install 'mnemo-db[anthropic-memory-tool]'
MnemoLettaShared Letta-style Conversations adapter for shared agent memory
S3Workspace / CloudflareR2Workspace OpenAI Agents SDK GA snapshot store backends. pip install 'mnemo-db[openai-sandbox-s3]' or [openai-sandbox-r2]
MnemoAgentMemory (OpenAI), Mem0Compat, MnemoCheckpointer (LangGraph 1.x — ASMDCheckpointer is the back-compat alias), 12 more Drop-in framework integrations. Install the matching extra.

Optional extras

pip install 'mnemo-db[langgraph]'              # LangGraph checkpoint
pip install 'mnemo-db[crewai]'                 # CrewAI memory
pip install 'mnemo-db[openai-agents]'          # OpenAI Agents SDK
pip install 'mnemo-db[claude]'                 # Claude Agent SDK
pip install 'mnemo-db[anthropic-memory-tool]'  # memory_20250818
pip install 'mnemo-db[openai-sandbox-s3]'      # S3 workspace backend
pip install 'mnemo-db[openai-sandbox-r2]'      # Cloudflare R2 workspace backend
pip install 'mnemo-db[benchmark]'              # LoCoMo / LongMemEval harness

Each extra fails closed if not installed — from mnemo import MnemoMemoryToolServer will raise ImportError cleanly when [anthropic-memory-tool] isn't on the path.

License + source

Source: https://github.com/sattyamjjain/mnemo. Apache-2.0.

Documentation: https://github.com/sattyamjjain/mnemo#readme. Issues: https://github.com/sattyamjjain/mnemo/issues.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mnemo_db-0.5.28.tar.gz (387.3 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

mnemo_db-0.5.28-cp313-cp313-manylinux_2_28_x86_64.whl (24.0 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.28+ x86-64

mnemo_db-0.5.28-cp313-cp313-macosx_11_0_arm64.whl (19.1 MB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

mnemo_db-0.5.28-cp312-cp312-manylinux_2_28_x86_64.whl (24.0 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.28+ x86-64

mnemo_db-0.5.28-cp312-cp312-macosx_11_0_arm64.whl (19.1 MB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

mnemo_db-0.5.28-cp311-cp311-manylinux_2_28_x86_64.whl (24.0 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ x86-64

mnemo_db-0.5.28-cp311-cp311-macosx_11_0_arm64.whl (19.1 MB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

mnemo_db-0.5.28-cp310-cp310-manylinux_2_28_x86_64.whl (24.0 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.28+ x86-64

mnemo_db-0.5.28-cp310-cp310-macosx_11_0_arm64.whl (19.1 MB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

File details

Details for the file mnemo_db-0.5.28.tar.gz.

File metadata

  • Download URL: mnemo_db-0.5.28.tar.gz
  • Upload date:
  • Size: 387.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for mnemo_db-0.5.28.tar.gz
Algorithm Hash digest
SHA256 e873e61d01b9115834fa3242f25e1d3d280b80c9a4fc038f34754ef1bf1c946b
MD5 4720c3780935d70e10028f2bcfda8ebf
BLAKE2b-256 5ecc7a58afdb4f41da89d6e086f846604f41011b191b6cd06bffa4a09bdd6ad2

See more details on using hashes here.

Provenance

The following attestation bundles were made for mnemo_db-0.5.28.tar.gz:

Publisher: pypi-publish.yml on sattyamjjain/mnemo

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mnemo_db-0.5.28-cp313-cp313-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for mnemo_db-0.5.28-cp313-cp313-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 98e3a911e8e1dfdd983466bc42f821c87df9ab1fa9432ea3924882d459e66472
MD5 264544352a285daae9614b9a1d83f77d
BLAKE2b-256 5f157a2fdf905426c8f978d9b8c59fbd825f124290337a39bf7da62d57e8860f

See more details on using hashes here.

Provenance

The following attestation bundles were made for mnemo_db-0.5.28-cp313-cp313-manylinux_2_28_x86_64.whl:

Publisher: pypi-publish.yml on sattyamjjain/mnemo

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mnemo_db-0.5.28-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for mnemo_db-0.5.28-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 99f92a78fbce5189886d4474b1dc694949f03868669e6cab1232d94e80f01e14
MD5 3d3fa14d6387cd4a0109c8bd772c0a7b
BLAKE2b-256 536e864b855681d0e050bcf47419ced49c9df590808add21d3863fccdf0370a1

See more details on using hashes here.

Provenance

The following attestation bundles were made for mnemo_db-0.5.28-cp313-cp313-macosx_11_0_arm64.whl:

Publisher: pypi-publish.yml on sattyamjjain/mnemo

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mnemo_db-0.5.28-cp312-cp312-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for mnemo_db-0.5.28-cp312-cp312-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 040cc4d49479b71c736f5263c05943d8b8cac21e5adf3ec204420a4cf5519ffa
MD5 810033c1f1bcba6f4b05637e361f2ee2
BLAKE2b-256 a8a946c7597bd0fbd6990b2a17685738215853c2c823835768860bfa0e1ec48d

See more details on using hashes here.

Provenance

The following attestation bundles were made for mnemo_db-0.5.28-cp312-cp312-manylinux_2_28_x86_64.whl:

Publisher: pypi-publish.yml on sattyamjjain/mnemo

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mnemo_db-0.5.28-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for mnemo_db-0.5.28-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 0d4e150f4846fa77f5aaaea5c1bb7176b07a927ac2d786f13bebd21d2a8de7ee
MD5 f8e0cec4a72c2e563bb20ab9d3a706cc
BLAKE2b-256 518965376e991a3e0ae347b8493b18318e02e347ddf9a895ecb4634d0d7df362

See more details on using hashes here.

Provenance

The following attestation bundles were made for mnemo_db-0.5.28-cp312-cp312-macosx_11_0_arm64.whl:

Publisher: pypi-publish.yml on sattyamjjain/mnemo

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mnemo_db-0.5.28-cp311-cp311-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for mnemo_db-0.5.28-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 cf02e84561a6c35e0fc4f1719210948d9fe5c16dd72e501d3735ac3a72176c72
MD5 5726eb11667dbd08f10f07fcfa2e319c
BLAKE2b-256 8d281e9f872cc66efde55230f0f531a1dfaaeda1c141e74d0109705d838b7019

See more details on using hashes here.

Provenance

The following attestation bundles were made for mnemo_db-0.5.28-cp311-cp311-manylinux_2_28_x86_64.whl:

Publisher: pypi-publish.yml on sattyamjjain/mnemo

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mnemo_db-0.5.28-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for mnemo_db-0.5.28-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 d4c757f8cede1177a780f07f3b7d30eb033d5de97282b3776170165efd106626
MD5 5fe924b69a71fd988ffb1514dc713c72
BLAKE2b-256 6b0da07178c29699b668092f7a835277e36ccce7c6c8724f5af4ce8db25a5e9c

See more details on using hashes here.

Provenance

The following attestation bundles were made for mnemo_db-0.5.28-cp311-cp311-macosx_11_0_arm64.whl:

Publisher: pypi-publish.yml on sattyamjjain/mnemo

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mnemo_db-0.5.28-cp310-cp310-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for mnemo_db-0.5.28-cp310-cp310-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 c5210776cd9573bf8e7b6b1cb55abdf6c77daffa6f2a8d24dce1ffa8f417d296
MD5 7c5c8648354ad1e0a8c5c68be28b79f7
BLAKE2b-256 0f93d16a36f7531886476e97083bcf090a6e0d0c91d78fae43454e775fbe5eec

See more details on using hashes here.

Provenance

The following attestation bundles were made for mnemo_db-0.5.28-cp310-cp310-manylinux_2_28_x86_64.whl:

Publisher: pypi-publish.yml on sattyamjjain/mnemo

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mnemo_db-0.5.28-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for mnemo_db-0.5.28-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 adf7fcc7a0e5de24bea05f15cbdf7b57d74c79a12739b478447f1358639639cb
MD5 489ecae6a8a8633d1360e06b65b90097
BLAKE2b-256 bd3fe346dceb929c3f88e2ade6c1a664a361ca3d3d25b7f0403b9fefa7a9528e

See more details on using hashes here.

Provenance

The following attestation bundles were made for mnemo_db-0.5.28-cp310-cp310-macosx_11_0_arm64.whl:

Publisher: pypi-publish.yml on sattyamjjain/mnemo

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

0.5.28 This release

9 files

0.5.27

9 files

0.5.26

9 files

0.5.25

9 files

0.5.24

9 files

0.5.23

9 files

0.5.12

9 files

0.5.11

9 files

0.4.9

9 files

0.4.8

9 files

0.4.3

9 files

0.4.2

9 files

0.4.1

9 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page