Skip to main content

VantaDB × Haystack

Haystack DocumentStore adapter for VantaDB.

Install

Not on PyPI yet. The vantadb-haystack package declares Alpha status and will go live with the first adapters-v* tag release (no local dist/ built yet). Until then, install from source.

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

Install from PyPI (after first release)

pip install vantadb-haystack

Quickstart

from vantadb_haystack import VantaDBDocumentStore

store = VantaDBDocumentStore(db_path="./my_data")

# Write documents
store.write_documents([
    {"id": "1", "content": "VantaDB is an embedded vector database written in Rust.",
     "meta": {"source": "docs"}},
])

# Filter documents
results = store.filter_documents(filters={"source": "docs"})
for doc in results:
    print(doc.content)

API

  • write_documents(documents, policy) — store documents
  • filter_documents(filters) — retrieve by filter
  • delete_documents(filters) — remove documents
  • count_documents(filters) — count documents

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 Haystack's InMemoryDocumentStore covers only small single-process cases.
  • 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-haystack 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-haystack 0.5.0
File Size Uploaded
vantadb_haystack-0.5.0.tar.gz 8.9 kB Details

Built distribution (wheel)

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

Total release size: 16.0 kB

Release files / vantadb_haystack-0.5.0.tar.gz

Download URL vantadb_haystack-0.5.0.tar.gz
Size 8.9 kB
Tags Source
SHA-256 checksum
How to use checksums
0a52c69aee8ed83a4fd5009b4b42d0d78f1ed0472d11fa95f3ac99e3123b03d7
BLAKE2b-256 checksum
How to use checksums
7337694c5df292c8a49ae05e6c631ea976a8518530a5060969d3b090272b0fc9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7

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

Download URL vantadb_haystack-0.5.0-py3-none-any.whl
Size 7.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1fa730d3255cc9c47086e7f0fc8cd847f6a32dd4e785a5368af6f350f27c8363
BLAKE2b-256 checksum
How to use checksums
631de6d2d0d2778c85f6284914be9076376e6f06ca6bd32056f790b4d6138823
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