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.

Metadata

Release files for mnemo-db 0.5.29

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mnemo-db 0.5.29
File Size Uploaded
mnemo_db-0.5.29.tar.gz 401.5 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for mnemo-db 0.5.29
File
mnemo_db-0.5.29-cp313-cp313-manylinux_2_28_x86_64.whl CPython 3.13 CPython 3.13 Linux glibc 2.28+ x86-64 Details
mnemo_db-0.5.29-cp313-cp313-macosx_11_0_arm64.whl CPython 3.13 CPython 3.13 macOS 11.0+ ARM64 Details
mnemo_db-0.5.29-cp312-cp312-manylinux_2_28_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.28+ x86-64 Details
mnemo_db-0.5.29-cp312-cp312-macosx_11_0_arm64.whl CPython 3.12 CPython 3.12 macOS 11.0+ ARM64 Details
mnemo_db-0.5.29-cp311-cp311-manylinux_2_28_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.28+ x86-64 Details
mnemo_db-0.5.29-cp311-cp311-macosx_11_0_arm64.whl CPython 3.11 CPython 3.11 macOS 11.0+ ARM64 Details
mnemo_db-0.5.29-cp310-cp310-manylinux_2_28_x86_64.whl CPython 3.10 CPython 3.10 Linux glibc 2.28+ x86-64 Details
mnemo_db-0.5.29-cp310-cp310-macosx_11_0_arm64.whl CPython 3.10 CPython 3.10 macOS 11.0+ ARM64 Details

Total release size: 172.8 MB

Release files / mnemo_db-0.5.29.tar.gz

Download URL mnemo_db-0.5.29.tar.gz
Size 401.5 kB
Tags Source
SHA-256 checksum
How to use checksums
ae0e597c450ce0c12ee504273593fa1ba64d1662c5d9171b6d4dc742af12fe11
BLAKE2b-256 checksum
How to use checksums
10a1ef35c0681df08ba20be1231bff3b235868145bd0ec80e285748e0f065705
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 3, 2026.

Transparency log

Release files / mnemo_db-0.5.29-cp313-cp313-manylinux_2_28_x86_64.whl

Download URL mnemo_db-0.5.29-cp313-cp313-manylinux_2_28_x86_64.whl
Size 24.0 MB
Tags CPython 3.13 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
33d377ed7ce912175ff123ac03a1cf08dfd2dad9fe1c6dacdae2f038f1186a0b
BLAKE2b-256 checksum
How to use checksums
b325ef1a8f0fd5190f5308896f42f8c6e4a2ccaff4c1f9d68fe2f9d81aa78c86
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 3, 2026.

Transparency log

Release files / mnemo_db-0.5.29-cp313-cp313-macosx_11_0_arm64.whl

Download URL mnemo_db-0.5.29-cp313-cp313-macosx_11_0_arm64.whl
Size 19.1 MB
Tags CPython 3.13 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
131e11fa795fd6ea1871b4ceeed3c04d5b21f8196d7bbe4ccbd02517cc8bb4eb
BLAKE2b-256 checksum
How to use checksums
0b08a553d9312f99a60ca8832bfd85a198fcae315adf1f26d14df6cfe75d3d68
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 3, 2026.

Transparency log

Release files / mnemo_db-0.5.29-cp312-cp312-manylinux_2_28_x86_64.whl

Download URL mnemo_db-0.5.29-cp312-cp312-manylinux_2_28_x86_64.whl
Size 24.0 MB
Tags CPython 3.12 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
f41ae13ae2680f271c733d1f60e2be9e22e4f80340faf3ffb5bab819842afbc4
BLAKE2b-256 checksum
How to use checksums
c707c10da82eef973739b391ec626a33f6afeb2785ef0f96b219eb07020db435
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 3, 2026.

Transparency log

Release files / mnemo_db-0.5.29-cp312-cp312-macosx_11_0_arm64.whl

Download URL mnemo_db-0.5.29-cp312-cp312-macosx_11_0_arm64.whl
Size 19.1 MB
Tags CPython 3.12 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
7ea42460710ba1ed324734a1e17fb33aba36a1d41e8f0fce26f46a47bbb35ba0
BLAKE2b-256 checksum
How to use checksums
40616cecf37cfd6ea5dbf9970270ae467e3955d73196f01857b6b67c5c35196f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 3, 2026.

Transparency log

Release files / mnemo_db-0.5.29-cp311-cp311-manylinux_2_28_x86_64.whl

Download URL mnemo_db-0.5.29-cp311-cp311-manylinux_2_28_x86_64.whl
Size 24.0 MB
Tags CPython 3.11 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
3604b14ae0072d548791641dfd14bed2ebf227686f4eea7bd03c44ee0af28da6
BLAKE2b-256 checksum
How to use checksums
854148003099bbbac0331a39389eeeb790abc43532befb50902c0d33e534bc8e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 3, 2026.

Transparency log

Release files / mnemo_db-0.5.29-cp311-cp311-macosx_11_0_arm64.whl

Download URL mnemo_db-0.5.29-cp311-cp311-macosx_11_0_arm64.whl
Size 19.1 MB
Tags CPython 3.11 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
ce12425691dfc9201c18449720d4faa062f63f40b1f6b4a47fcfbc1482bbc66a
BLAKE2b-256 checksum
How to use checksums
a80e09db075af441ed6643021b6548ff484ba8f3072d2b82f204a1a6914dd9f3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 3, 2026.

Transparency log

Release files / mnemo_db-0.5.29-cp310-cp310-manylinux_2_28_x86_64.whl

Download URL mnemo_db-0.5.29-cp310-cp310-manylinux_2_28_x86_64.whl
Size 24.0 MB
Tags CPython 3.10 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
d0b0fa19aa6f67cd860e15ea13a45934f395a90ca9886a15452cbde6893fcaaa
BLAKE2b-256 checksum
How to use checksums
073e1b06ba50a911b7789f229cd985eab71401162c6cef6fedbdc1baa7679dfd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 3, 2026.

Transparency log

Release files / mnemo_db-0.5.29-cp310-cp310-macosx_11_0_arm64.whl

Download URL mnemo_db-0.5.29-cp310-cp310-macosx_11_0_arm64.whl
Size 19.1 MB
Tags CPython 3.10 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
a43948a44d9cde661f9567b5d7c37f9ef78ac6fc12f5aa1b936525cc3d4e2f27
BLAKE2b-256 checksum
How to use checksums
96db2d09a541a0ac839cc48d4412bb9eb1c8859d2099d51d63c5360ac92caf0d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 3, 2026.

Transparency log
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