qdrant/qdrant-client

Python client for Qdrant vector search engine

What it solves

This library lets Python developers talk to the Qdrant vector search engine without writing raw HTTP or gRPC calls. It wraps the full Qdrant API into convenient methods for creating collections, uploading vectors, and running similarity searches, while also offering a local mode that works without any server for fast prototyping and testing.

How it works

You install the package and create a QdrantClient instance. The client can run entirely in memory (":memory:"), persist to a local directory (path="..."), or connect to a live Qdrant server or cloud cluster by specifying a URL and API key. Once you have a client, you use methods like create_collection, upsert, and query_points to manage data and run searches. The client also includes an Inference API that can generate embeddings locally using FastEmbed (ONNX-based) or remotely via Qdrant Cloud, so you can create vectors and upload them without a separate embedding pipeline. Both synchronous and asynchronous clients are available, and both REST and gRPC transports are supported.

Who it's for

Python developers building applications that need fast similarity search, such as semantic search, recommendations, or RAG pipelines. It's also useful for data scientists who want to prototype and test vector search logic without spinning up a server, and for teams that need a consistent way to interact with Qdrant in production.

Highlights

  • Local mode (in-memory or disk-backed) runs the same API without a server, ideal for development and CI/CD
  • Type hints for all API methods
  • Sync and async clients, both supporting REST and gRPC
  • Inference API to generate embeddings locally (FastEmbed) or remotely (Qdrant Cloud)
  • Minimal dependencies and extensive test coverage
  • Simple switch from local to server mode when scaling is needed

Related

  • Project
  • Project
  • Project
  • Project
  • Project