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.26.tar.gz (386.1 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.26-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.26-cp313-cp313-macosx_11_0_arm64.whl (18.7 MB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

mnemo_db-0.5.26-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.26-cp312-cp312-macosx_11_0_arm64.whl (18.7 MB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

mnemo_db-0.5.26-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.26-cp311-cp311-macosx_11_0_arm64.whl (18.7 MB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

mnemo_db-0.5.26-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.26-cp310-cp310-macosx_11_0_arm64.whl (18.7 MB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

File details

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

File metadata

  • Download URL: mnemo_db-0.5.26.tar.gz
  • Upload date:
  • Size: 386.1 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.26.tar.gz
Algorithm Hash digest
SHA256 ea84bb3c2b1d379a3c73277dbf6863a7414f5c960deb58e9f2ec18eb45ec78f0
MD5 8995e29d59a48221cef055d526197744
BLAKE2b-256 b2dc2653ae6ef1d001b9bf0acb8dd4566e0da3ad6d1aa5a3fdadaf7a2b96dda7

See more details on using hashes here.

Provenance

The following attestation bundles were made for mnemo_db-0.5.26.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.26-cp313-cp313-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for mnemo_db-0.5.26-cp313-cp313-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 f852841427ee0bda4a2c1a11952f5c5eac0d95455a57fb87935ab3a0351b62c8
MD5 e8824df7eccb99415a02a0b70aeab155
BLAKE2b-256 d9f1ea5858fb9675c72b6ad3aca609a48a693a84292eafb6fbc72caef5ef3a71

See more details on using hashes here.

Provenance

The following attestation bundles were made for mnemo_db-0.5.26-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.26-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for mnemo_db-0.5.26-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 174e20505431d1076ad8262c7f4e5dd9ee57fd13dd0b1488c30f2992fb1f531b
MD5 900f91ab9c45e28ec3bec7e5eb584a9d
BLAKE2b-256 99e22172b4f90db1bb572950064768c09cd09acf87a2497c3e7047016372ea5f

See more details on using hashes here.

Provenance

The following attestation bundles were made for mnemo_db-0.5.26-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.26-cp312-cp312-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for mnemo_db-0.5.26-cp312-cp312-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 a1fb2cfed515a5829ce177e685e45971bd454a6f9d7873208072fdc395d8f7ef
MD5 cf0e447afb4ad2aa7f024395cfa4c6c4
BLAKE2b-256 9e58edefbe6ed5dd9035727deebb1a24aa514c382fdd1259331fbbde21df11f6

See more details on using hashes here.

Provenance

The following attestation bundles were made for mnemo_db-0.5.26-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.26-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for mnemo_db-0.5.26-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 8a08be8afc19036c14d7f9cf008869970e1ec537e0057317fa3337c493559116
MD5 5111e442a02d5823832f669e9e83dfa4
BLAKE2b-256 1d180097bec2fc5ab466fed07e84e12ed635c47f45cc20e32d43263682186894

See more details on using hashes here.

Provenance

The following attestation bundles were made for mnemo_db-0.5.26-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.26-cp311-cp311-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for mnemo_db-0.5.26-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 06ab70bd5721423a71e1d7742ee145b325278426aa7178b48ca710a6cc33052b
MD5 f937b3a9ead3382bbd89fe440fd4865d
BLAKE2b-256 127372c5f42fe1bbd4a73550453e876daab862e73323f29e1bf413145d63962d

See more details on using hashes here.

Provenance

The following attestation bundles were made for mnemo_db-0.5.26-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.26-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for mnemo_db-0.5.26-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 0c3ce4e4fc318cef06c6c0e565b5fddb91732c7f85e7c6d00813ef457e0df41c
MD5 d3bdfc26673eb6c9a187b05c60642eaf
BLAKE2b-256 cf77745f62094814b3305de29ef98c3520576a15c1a42eb704d3957aa6f24498

See more details on using hashes here.

Provenance

The following attestation bundles were made for mnemo_db-0.5.26-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.26-cp310-cp310-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for mnemo_db-0.5.26-cp310-cp310-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 e16e0b1103f15a6d9689e8f9ce4b4e6db4236292d38c51d29dcca7f673b32162
MD5 25441b48e041de4ee4519e12e70af31e
BLAKE2b-256 d60dab9e2ad913335a97b3da1502e1ea66ef95d4bb3081dd77465f854ab64768

See more details on using hashes here.

Provenance

The following attestation bundles were made for mnemo_db-0.5.26-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.26-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for mnemo_db-0.5.26-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 87f008db8f7ffea4a6597a410d16ecce13dff14c80e7102e5e39ab2f1d21f864
MD5 8e95a0fd18bbae3dab1fee6331922199
BLAKE2b-256 d95737b04b066909dcc14f8f88cd2e6b43766ab271f5002d7cd1e7c3c9b742f3

See more details on using hashes here.

Provenance

The following attestation bundles were made for mnemo_db-0.5.26-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

0.5.28

9 files

0.5.27

9 files

This release

0.5.26 This release

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