llama-index-vector-stores-lancedb
llama-index vector_stores lancedb integration
What it is and what it does
This package bridges LlamaIndex and LanceDB, allowing developers to use LanceDB as the vector storage backend for semantic search and retrieval-augmented generation (RAG) applications. LlamaIndex is a framework for building context-augmented LLM applications, and this integration lets you store and query embeddings in LanceDB instead of other vector databases.
The package is a thin adapter layer that implements LlamaIndex's vector store interface for LanceDB. It depends on lancedb for the actual vector database, llama-index-core for the framework abstractions, pylance for type checking support, and tantivy for full-text search capabilities. It's actively maintained and carries no known security vulnerabilities.
Use it for:
- Store embeddings from LlamaIndex document processing pipelines directly into LanceDB for semantic search.
- Build RAG applications that retrieve context from LanceDB before passing queries to an LLM.
- Integrate LanceDB as a drop-in vector store replacement in existing LlamaIndex workflows.
- Combine vector similarity search with full-text search using tantivy's capabilities alongside LanceDB.
- Persist embeddings locally or in a managed LanceDB instance for production retrieval systems.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Integrates LanceDB as a vector store backend for LlamaIndex, enabling semantic search and retrieval-augmented generation workflows with LanceDB's vector database.
Yes, if you are building a LlamaIndex application and prefer LanceDB as your vector store. The package is actively maintained, has low install friction, carries no known vulnerabilities, and uses a permissive MIT license. Verify that tantivy's dependencies align with your deployment environment before committing to production use.
Install
llama-index-vector-stores-lancedb on PyPI
pip
pip install llama-index-vector-stores-lancedbuv
uv add llama-index-vector-stores-lancedbpoetry
poetry add llama-index-vector-stores-lancedbInstalling llama-index-vector-stores-lancedb
Before you install
Low install friction with a pure-Python wheel. Actively maintained as of the latest release. Depends on lancedb, llama-index-core, pylance, and tantivy; no compiled system dependencies noted.
License in practice
MIT license permits commercial and private use with minimal restrictions, making it suitable for most projects.
Quickstart
pip install llama-index-vector-stores-lancedb
from llama_index.vector_stores.lancedb import LanceDBVectorStore
vector_store = LanceDBVectorStore(db_path="./lancedb")
Requires Python 3.10 or later (supports current versions up to <4.0).
Verify before relying
- Whether tantivy (a Rust-based full-text search library) requires a C/Rust build toolchain on the target system.
- Performance characteristics and scalability limits for typical RAG workloads.
- Whether LanceDB persistence and query capabilities are fully documented for this integration version.
Package facts
| License | MIT (permissive) |
| Python support | supports the current Python release (<4.0,>=3.10) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 4 — lancedb, llama-index-core, pylance, tantivy |
| Maintenance | actively maintained — 155 days since the last release |
| First released | |
| Downloads | 73,500/month — #14,987 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: llama_index_vector_stores_lancedb-0.5.0-py3-none-any.whl
Tags
More Artificial Intelligence packages
LiteLLM provides a unified Python interface to…
permissive · top 100 on PyPI
huggingface-hubClient library and CLI tool for downloading,…
permissive · top 100 on PyPI
langchainLangChain provides a framework for building…
permissive · top 1,000 on PyPI
hf-xethf-xet provides chunk-based deduplication and…
permissive · top 1,000 on PyPI
tokenizersTokenizers converts raw text into token…
permissive · top 1,000 on PyPI
transformersTransformers provides a unified framework for…
permissive · top 1,000 on PyPI
lancedbLanceDB is a Python SDK for connecting to and…
permissive · top 5,000 on PyPI
llama-index-vector-stores-qdrantIntegrates Qdrant vector database with…
permissive · top 15,000 on PyPI
llama-index-vector-stores-azureaisearchIntegrates Azure AI Search as a vector store…
permissive · top 15,000 on PyPI
llama-index-vector-stores-chromaIntegrates Chroma vector database with…
permissive · top 15,000 on PyPI
llama-index-vector-stores-redisIntegrates Redis as a vector store backend for…
permissive · top 15,000 on PyPI
llama-index-vector-stores-milvusIntegrates the Milvus vector database with…
permissive · top 15,000 on PyPI
lance-namespaceProvides an abstract interface and plugin…
permissive · top 5,000 on PyPI
llama-index-vector-stores-pineconeIntegrates Pinecone vector database with…
permissive · top 15,000 on PyPI
llama-index-vector-stores-faissIntegrates FAISS vector storage with LlamaIndex…
permissive · top 15,000 on PyPI
llama-index-storage-kvstore-postgresProvides a PostgreSQL-backed key-value store…
permissive · top 15,000 on PyPI