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.27.tar.gz (387.2 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.27-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.27-cp313-cp313-macosx_11_0_arm64.whl (19.1 MB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

mnemo_db-0.5.27-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.27-cp312-cp312-macosx_11_0_arm64.whl (19.1 MB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

mnemo_db-0.5.27-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.27-cp311-cp311-macosx_11_0_arm64.whl (19.1 MB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

mnemo_db-0.5.27-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.27-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.27.tar.gz.

File metadata

  • Download URL: mnemo_db-0.5.27.tar.gz
  • Upload date:
  • Size: 387.2 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.27.tar.gz
Algorithm Hash digest
SHA256 0ddea24dfb64f204beb352c2572d35ff8a9d5166a54541432e3420e78d78e0ee
MD5 3f1b1e02af0350f84e23b64783324448
BLAKE2b-256 2d73b38910465a851074964dfda3805a38feec229c38d2550189931c4769def6

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for mnemo_db-0.5.27-cp313-cp313-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 8a667fab27d3a821e64257d5b4ae93ea4b46442c97ca14b9310455ef5e96111a
MD5 4516938171852e967468a51b463fa5b1
BLAKE2b-256 eda0b93ccca99513432132e2e1233d158b3d335df6f01c01af3ff7d49cb74b73

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for mnemo_db-0.5.27-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 50e674d55606f3560760f9af21bbdd5d8cf562678f14c2218fb3dd17c389351a
MD5 1a2cf6133544313e705b6cde4c961777
BLAKE2b-256 981c192749ef0903c3390b2fcead0391840054471bdf2780f058fb63a2efeab8

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for mnemo_db-0.5.27-cp312-cp312-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 c9b25310386886e135636ecaa88ecbb83a010d07fe3bfde558ef892f94c14c0e
MD5 a702d2fcc0724fce9e444843f097dbef
BLAKE2b-256 aa66d69bf3d8da63d940bbe6a14ee8c0f161c64422cc6c26df782e136a76bf09

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for mnemo_db-0.5.27-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 9b25bc968bcd914291dc0d95f8cf7eb868d32214be1c2b295087cb379c9c1dfb
MD5 22ae8dedc23fb8518a860bdab4e39c42
BLAKE2b-256 ea45fe4ff1ee3dc4c6e3e6bc3be6b0f4fc48277c762901524a40f7dbc91c4d53

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for mnemo_db-0.5.27-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 12e0f96915dd11a7e4a226f048d8c3c8dba7d84080955a39dbf62d2c84aa2322
MD5 ed254ce1c39b8abae978fb4d4c277100
BLAKE2b-256 ddaa378044a157be3ee798411aec77be16619046bae43f9a7ba34104b4f4781a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for mnemo_db-0.5.27-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 2fce1c0956d3d9a2f4d6b3c6b452bd807fac0daa8db3904eec139f4cf8335eb7
MD5 c72cea3370cd39a672e3db9678231fed
BLAKE2b-256 45b212496da3a39f28cfbb9732f7b58a535aad0abeb03b8886fb490f6e12f618

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for mnemo_db-0.5.27-cp310-cp310-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 908fe343afb87723a8b2226a3c5ce16a48256a9156dea4741d5df400e2437c58
MD5 310089c8e5e6d1bc7b707aced3ec0dcb
BLAKE2b-256 3820cebb655e8ee68f77229656f40276af2e963385c5d945730ce4708e788eb1

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for mnemo_db-0.5.27-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 df96331d9f0f9a7fb35750f0c389ab67f626698112e81c000eb8474f65a65783
MD5 6083b1c18a8dc37a648e1d308eda1eaa
BLAKE2b-256 e78455e9bcb240f5b6b9462794262a22af9a699763a39c944a4942fc22b87846

See more details on using hashes here.

Provenance

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

This release

0.5.27 This release

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