Skip to main content

VantaDB × CrewAI

CrewAI Tool adapter for VantaDB.

Install

Not on PyPI yet. The vantadb-crewai 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/crewai && pip install .

Install from PyPI (after first release)

pip install vantadb-crewai

Quickstart

from crewai import Agent, Task, Crew
from vantadb_crewai import VantaDBTool

rag_tool = VantaDBTool(
    name="Memory Search",
    description="Search stored documents in VantaDB",
    db_path="./my_data",
    namespace="docs",
)

agent = Agent(
    role="Assistant",
    goal="Answer questions using stored knowledge",
    tools=[rag_tool],
)

API

  • VantaDBTool(name, description, db_path, namespace) — CrewAI-compatible RAG tool
  • VantaDBMemoryBackend(db_path, namespace) — StorageBackend for unified Memory (CrewAI ≥1.14): save/search/delete/update/get_record/list_records/ get_scope_info/list_scopes/list_categories/count/reset + async asave/asearch/adelete
from crewai import Memory
from vantadb_crewai import VantaDBMemoryBackend

memory = Memory(storage=VantaDBMemoryBackend(db_path="./my_data"))
memory.remember("We decided to use PostgreSQL.", scope="/project/decisions")
print(memory.recall("What database did we choose?"))

System fields live under reserved __mem_* metadata keys; your metadata is untouched. Records without embeddings are invisible to vector search (same as LanceDB).

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, where CrewAI's native memory covers only short-term session recall.
  • 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-crewai 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-crewai 0.5.0
File Size Uploaded
vantadb_crewai-0.5.0.tar.gz 10.4 kB Details

Built distribution (wheel)

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

Total release size: 19.7 kB

Release files / vantadb_crewai-0.5.0.tar.gz

Download URL vantadb_crewai-0.5.0.tar.gz
Size 10.4 kB
Tags Source
SHA-256 checksum
How to use checksums
9a96422408c73148c36d393b2a108acdff01eba4145fc4ddce372f6529aedf92
BLAKE2b-256 checksum
How to use checksums
900b3a8319200ae5cee9f49da538e63bb1ebe25042eca8497c27ae44a88330ae
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7

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

Download URL vantadb_crewai-0.5.0-py3-none-any.whl
Size 9.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8c05d01e3756eb022a48f2f9390a6c1120e429a1f746dfc33d592623b49b7e87
BLAKE2b-256 checksum
How to use checksums
61562ca5c6ab0e3226eb33bf561f2d54ee3f8765f32a8a2ce1903ba4e4d2bb53
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