Skip to main content

VantaDB × Mem0

Mem0 adapter for VantaDB.

Install

Not on PyPI yet. The vantadb-mem0 package builds and passes twine check locally; it will go live with the first adapters-v* tag release. Until then, install from source.

# Today, from a repo checkout
cd integrations/mem0 && pip install .

Install from PyPI (after first release)

pip install vantadb-mem0

Quickstart

from vantadb_mem0 import VantaDBVectorStore

store = VantaDBVectorStore(
    db_path="./my_data",
    namespace="memories",
)

store.add("VantaDB is an embedded vector database written in Rust.", user_id="alice")
results = store.search("vector database")
for r in results:
    print(r["payload"], r["score"])

API

  • add(text, user_id=None, metadata=None) — store a memory
  • search(query, k=4) — search memories
  • delete(key) — delete a memory by key
  • list(user_id=None, limit=100) — list memories

Why VantaDB?

  • Embedded & local-first: the storage engine is a Rust library embedded in your process — no server to deploy, no network hop; data lives in your filesystem.
  • Persistent hybrid search: vectors + BM25 text search out of the box as the vector backend for mem0's memory layer, where mem0's default storage targets its hosted platform.
  • Zero-setup alternative to hosted stacks: unlike Zep (requires a server) or Cognee (spins up its own knowledge-graph runtime), VantaDB is a plain library you import.

Development

pip install -e .

Metadata

Release files for vantadb-mem0 0.5.0

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

Source distribution (sdist)

Source distribution for vantadb-mem0 0.5.0
File Size Uploaded
vantadb_mem0-0.5.0.tar.gz 6.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for vantadb-mem0 0.5.0
File Interpreter ABI Platform
vantadb_mem0-0.5.0-py3-none-any.whl Python 3 none any Details

Total release size: 12.9 kB

Release files / vantadb_mem0-0.5.0.tar.gz

Download URL vantadb_mem0-0.5.0.tar.gz
Size 6.9 kB
Tags Source
SHA-256 checksum
How to use checksums
a73dcfe173cfeb10c7353004cf4824f4b7db9f688c61150db63a889678a816cf
BLAKE2b-256 checksum
How to use checksums
2cda857349d203126cbde987a171702cc52bde81de4cd6f8d0b8a949bd83d108
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7

Release files / vantadb_mem0-0.5.0-py3-none-any.whl

Download URL vantadb_mem0-0.5.0-py3-none-any.whl
Size 6.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0a140810958e51a62da45556b9ccc12c05f105808ae05a01c5e1918564dd5547
BLAKE2b-256 checksum
How to use checksums
d7ae9d3fe56e4502ad97a2ccdb5c7213021fe843612f1fcf3fd403a7654577ad
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7

Release history Release notifications | RSS feed

This release

0.5.0 This release

2 release 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