Skip to main content

llama-index-vector-stores-zerodb

ZeroDB vector store integration for LlamaIndex - the AI-native vector database with free embeddings and sub-millisecond semantic search.

Why ZeroDB?

  • Free embeddings - BAAI/bge-small-en-v1.5 (384-dim) powered by TEI, no OpenAI costs
  • Sub-millisecond search - pgvector with HNSW indexes
  • Zero infrastructure - fully managed, no servers to run
  • Instant provisioning - POST /api/v1/instant-db gets you a database in one request
  • Built for agents - MCP server, memory API, event streams

Installation

pip install llama-index-vector-stores-zerodb

Quick Start

from llama_index_zerodb import ZeroDBVectorStore
from llama_index.core import VectorStoreIndex, Document

# Initialize (get your API key at ainative.studio)
vector_store = ZeroDBVectorStore(
    api_key="your-api-key",
    project_id="your-project-id",
)

# Build index from documents
documents = [
    Document(text="ZeroDB is an AI-native vector database"),
    Document(text="Semantic search finds meaning, not keywords"),
]
index = VectorStoreIndex.from_documents(documents, vector_store=vector_store)

# Query
query_engine = index.as_query_engine()
response = query_engine.query("What is ZeroDB?")
print(response)

Use as a Standalone Vector Store

from llama_index_zerodb import ZeroDBVectorStore
from llama_index.core import VectorStoreIndex

# Connect to existing vectors
vector_store = ZeroDBVectorStore(
    api_key="your-api-key",
    project_id="your-project-id",
)

# Build index from existing store
index = VectorStoreIndex.from_vector_store(vector_store)

# Query
retriever = index.as_retriever(similarity_top_k=5)
results = retriever.retrieve("semantic search performance")
for node in results:
    print(f"{node.score:.3f}: {node.text[:100]}")

Get a Free API Key

  1. Sign up at ainative.studio
  2. Create a ZeroDB project
  3. Copy your API key

Or get an instant database with no signup:

curl -X POST https://api.ainative.studio/api/v1/public/instant-db

Links

License

MIT - Built by AINative Studio

Metadata

Release files for llama-index-vector-stores-zerodb 0.1.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 llama-index-vector-stores-zerodb 0.1.0
File Size Uploaded Provenance
llama_index_vector_stores_zerodb-0.1.0.tar.gz 4.6 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for llama-index-vector-stores-zerodb 0.1.0
File Interpreter ABI Platform
llama_index_vector_stores_zerodb-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 9.6 kB

Release files / llama_index_vector_stores_zerodb-0.1.0.tar.gz

Download URL llama_index_vector_stores_zerodb-0.1.0.tar.gz
Size 4.6 kB
Tags Source
SHA-256 checksum
How to use checksums
f7edd87039bb8a904ad3666dc54a74ebd4f5a9a7a63baa2318aae25f44305cf7
BLAKE2b-256 checksum
How to use checksums
dd6d927fc67abc5904c697f0bdfd4bf28d2923530f17d306038be2ca9a5229d6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.2

Release files / llama_index_vector_stores_zerodb-0.1.0-py3-none-any.whl

Download URL llama_index_vector_stores_zerodb-0.1.0-py3-none-any.whl
Size 5.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f294721472516f149385b15ca12988073be23b7fef779f6637cd259c790bd044
BLAKE2b-256 checksum
How to use checksums
b3e1f23c554b0770f07fd19dce59bb83bcd7d3142de7785006e21fa5ed8aed02
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.2

Security for llama-index-vector-stores-zerodb 0.1.0

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

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