qdrant-client

Official Python SDK for the Qdrant vector search engine

SDK
PyPI
v1.19.1
1,364 stars
Apache License 2.0

Repository Health

Pre-computed score based on development activity, maintenance, community, maturity, and trend momentum. How we score it →
91 /100 Excellent
Development Activity 96
Maintenance 96
Community 72
Maturity 60
Momentum 40

Technical Analysis

AI-assessed by reading the actual repository — architecture, code quality, innovation, and documentation. How we score it →
77 /100 Good
Architecture 78
Code Quality 80
Innovation 76
Learning Curve 75

qdrant-client is the official Python client for Qdrant, a vector similarity search engine used for semantic search, RAG pipelines, and recommendation systems. It provides fully typed sync and async clients covering every Qdrant REST/gRPC API method, plus a unique local mode that runs the same API in-memory or against an on-disk file with no server required — useful for prototyping, notebooks, and CI tests.

Beyond raw API coverage, the client bundles higher-level conveniences such as batched collection uploads, optional FastEmbed integration for generating embeddings client-side, and helper utilities for common workflows like hybrid (dense+sparse) search, making it the standard entry point for Python applications that talk to Qdrant.

What You Get

  • A fully typed QdrantClient/AsyncQdrantClient covering the whole Qdrant API surface
  • Local mode — run the same client API in-memory or against a local file with no server
  • Both REST and gRPC transport support, selectable per client
  • Optional FastEmbed integration for generating dense/sparse embeddings client-side
  • Helper methods for batched collection uploads and hybrid dense+sparse search

Common Use Cases

  • Building a RAG (retrieval-augmented generation) pipeline backed by Qdrant vector search
  • Prototyping semantic search in a notebook using local mode before deploying a real server
  • Running vector-search integration tests in CI using local/in-memory mode instead of a live server
  • Powering a recommendation or similarity-search feature in a production Python service

Under The Hood

Architecture — The package splits into a client_base/async_client_base abstract interface, a qdrant_remote/async_qdrant_remote implementation that talks to a real Qdrant server over REST (http/) or gRPC (grpc/, generated from Qdrant’s protobuf definitions), and a local/ implementation that reimplements the same query semantics in pure Python/NumPy for the no-server local mode; conversions/ handles translating between the REST, gRPC, and local in-memory representations so callers see one consistent API regardless of backend. Tech Stack — Python 3.10+, built on httpx (HTTP/2-capable) for REST, grpcio/protobuf for gRPC, pydantic for request/response models, and numpy for local-mode vector math, with optional fastembed/fastembed-gpu extras for client-side embedding generation; managed via Poetry. Code Quality — The tests/ directory includes congruence tests that verify REST, gRPC, and local-mode implementations all return identical results for the same operations, plus dedicated embed tests, conversion tests, and shell-scripted integration/consistency checks (async-client-consistency-check.sh, inspection-cache-consistency-check.sh), indicating a strong emphasis on cross-backend correctness. API Design — Because the client mirrors Qdrant’s OpenAPI/protobuf schema directly, method names and payload types stay in lock-step with the server API, while QdrantClient(":memory:") as the simplest possible constructor call gives new users a working vector database in one line before they ever touch a server or Docker container.

Used by 13 apps in this directory

TypeScript
56%
Other

agenta

AI Development · Developer Tools · Devops

4,788

The open-source LLMOps platform unifying prompt engineering, evaluation, and observability for teams building reliable LLM applications.

View details
91
Repo Health
77
Technical
67
Dependency
Built with
TypeScript 56%
Python 39%
Updated 5 days ago
Python
100%
Apache 2.0

Agno

AI Development · Automation · Devops

42,358

Build, run, and manage agent platforms with a full production stack — SDK, runtime, and control plane included.

View details
93
Repo Health
87
Technical
66
Dependency
Built with
Python 100%
Updated 4 days ago
Python
47%
Other

Airbyte

Data Engineering · Developer Tools

22,143

Open-source ELT platform with 600+ connectors for moving data from any source to warehouses, lakes, and AI agents.

View details
95
Repo Health
80
Technical
67
Dependency
Built with
Python 47%
Kotlin 43%
Updated 4 days ago
Rust
52%
Apache 2.0

cocoindex

AI Development · Data Engineering

11,607

An incremental data indexing engine that keeps AI agent context perpetually fresh by reprocessing only what changed.

View details
87
Repo Health
85
Technical
65
Dependency
Built with
Rust 52%
Python 48%
Updated 4 days ago
TypeScript
50%
Other

Dify

AI Development · Design Tools · Developer Tools

157,364

Visual LLM workflow platform with RAG pipelines, agent capabilities, and model management for building production AI applications.

View details
92
Repo Health
85
Technical
66
Dependency
Built with
TypeScript 50%
Python 47%
Updated 4 days ago
Python
56%
MIT

Foxel

File Storage

1,063

Self-hosted private cloud storage with AI semantic search and a pluggable multi-backend file management system.

View details
62
Repo Health
68
Technical
77
Dependency
Built with
Python 56%
TypeScript 41%
Updated 2 weeks ago
Python
82%
Apache 2.0

headroom

AI Development · Developer Tools

73,966

Compress everything your AI agent reads — tool outputs, logs, RAG chunks, and files — before it reaches the LLM, achieving 60–95% fewer tokens with the same answers.

View details
85
Repo Health
86
Technical
69
Dependency
Built with
Python 82%
Rust 12%
Updated 5 days ago
Python
69%
MIT

Langflow

AI Agents · AI Development

155,319

Build, test, and deploy AI agents and RAG workflows visually with native API and MCP server export.

View details
90
Repo Health
85
Technical
65
Dependency
Built with
Python 69%
TypeScript 22%
Updated 4 days ago
Python
37%
Other

Open WebUI

AI Agents · AI Assistants

153,390

The extensible, privacy-first AI platform that runs Ollama, OpenAI, and any LLM backend behind a polished, feature-packed web interface.

View details
91
Repo Health
75
Technical
66
Dependency
Built with
Python 37%
Svelte 34%
JavaScript 21%
Updated 4 days ago

Join founders buildingwith open source

Opinionated takes, migration guides, cost-saving tips, and insights from the open source ecosystem.

Subscribe on Substack
Join 750+ subscribers