Zvec is an open-source, in-process vector database — lightweight, lightning-fast, and designed to embed directly into applications. Built on Proxima (Alibaba’s battle-tested vector search engine), it delivers production-grade, low-latency, scalable similarity search with minimal setupThis document demonstrates to leverage Zvec within the LangChain ecosystem. In particular, it shows how to install Zvec, and how to use it as a VectorStore plugin in LangChain.
Installation and setup
Install the Python SDK:Embedding models
Vector store
A Zvec Collection is wrapped as a familiar VectorStore for native usage within LangChain, which allows it to be readily used for various scenarios, such as semantic search or example selection. You may import the vectorstore by:Connect these docs to Claude, VSCode, and more via MCP for real-time answers.