Overview
Qdrant is a vector similarity search engine. Use it for semantic search, recommendations, and RAG applications.Installation
Environment Variables
How It Works
Quick Start
1
Simple Usage
2
With Configuration
Use the same tool with an agent — see Usage with Agent below, or pass env vars and options from the sections above.
Usage with Agent
Available Methods
search(collection, query_vector, limit=10)
Search for similar vectors.upsert(collection, points)
Insert or update points.create_collection(name, vector_size)
Create a new collection.Docker Setup
Common Errors
Best Practices
Load QDRANT_API_KEY from the environment
Load QDRANT_API_KEY from the environment
For Qdrant Cloud, set
QDRANT_API_KEY in your shell or .env. Local instances need only QDRANT_URL.Match vector dimensions
Match vector dimensions
create_collection(name, vector_size) must match your embedding model’s dimension. A mismatch causes search errors, so keep the size aligned with the encoder the agent uses.Cap the search limit
Cap the search limit
search(collection, query_vector, limit=10) defaults to 10. Return only as many matches as the agent needs to keep context small.Related Tools
Pinecone
Managed vector DB
Chroma
Open-source vector DB
Weaviate
Vector search engine

