Skip to main content
The Qdrant tool lets an agent run vector similarity search for semantic retrieval and RAG.

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

For Qdrant Cloud, set QDRANT_API_KEY in your shell or .env. Local instances need only QDRANT_URL.
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.
search(collection, query_vector, limit=10) defaults to 10. Return only as many matches as the agent needs to keep context small.

Pinecone

Managed vector DB

Chroma

Open-source vector DB

Weaviate

Vector search engine