#11258: feat(memory): Add Qdrant Vector Database Provider
stale
Cluster:
Memory Database Enhancements
## Summary
This PR adds support for **Qdrant** as a vector memory provider for OpenClaw.
## Motivation
Current memory implementations rely on local storage (sqlite-vec), which can be limiting for scalable or cloud-native deployments. Qdrant offers a robust, high-performance solution for managing long-term agent memory in enterprise environments.
## Changes
- Added `src/memory/providers/qdrant.ts`: Implements the Qdrant connector with `add` and `search` capabilities.
- Added `@qdrant/js-client-rest` dependency.
## Testing
- Verified initialization and vector upsert operations locally.
<!-- greptile_comment -->
<h2>Greptile Overview</h2>
<h3>Greptile Summary</h3>
This PR introduces a new `QdrantProvider` (Qdrant vector DB client wrapper) intended to support storing and searching embeddings via Qdrant.
At the moment, the provider is added as a standalone file but isn’t wired into the existing memory/indexing system (no config/selection/exports), and the implementation hardcodes a 1536-dimension vector size and uses random UUIDs for point IDs—both of which conflict with OpenClaw’s multi-provider embedding dimensions and reindex/dedup semantics.
<h3>Confidence Score: 2/5</h3>
- This PR is not safe to merge as-is because the added provider isn’t usable and has correctness issues around vector sizing and IDs.
- Only a new provider file is added without integration into the memory backend selection, so the feature is effectively absent. Additionally, hardcoding vector dimension to 1536 will fail for non-OpenAI embeddings, and random UUID point IDs break reindex/upsert semantics by creating duplicates.
- src/memory/providers/qdrant.ts
<!-- greptile_other_comments_section -->
<sub>(4/5) You can add custom instructions or style guidelines for the agent [here](https://app.greptile.com/review/github)!</sub>
<!-- /greptile_comment -->
Most Similar PRs
#10550: feat(memory-lancedb): local embeddings via node-llama-cpp
by namick · 2026-02-06
72.9%
#12624: feat: add google-vertex embedding provider for Vertex AI ADC auth
by swseo92 · 2026-02-09
72.8%
#18595: feat: native PostgreSQL + pgvector memory backend
by IrriVisionTechnologies · 2026-02-16
72.5%
#17546: feat(memory): add native google-vertex embedding provider
by mike-hyperverse · 2026-02-15
72.1%
#11179: fix(memory): replace confusing "No API key" errors in memory tools ...
by liuxiaopai-ai · 2026-02-07
71.9%
#19967: feat(memory): add semantic clustering and enhanced MMR
by alihassan6520 · 2026-02-18
71.9%
#17660: fix: skip embedding provider check in doctor when QMD backend is co...
by echoVic · 2026-02-16
71.1%
#3364: refactor(memory): extract vector management to dedicated module
by tianrking · 2026-01-28
70.9%
#20125: fix(doctor): skip memorySearch provider check when using QMD backend
by brandonwise · 2026-02-18
70.9%
#21471: fix: check QMD backend before memory search config
by lbo728 · 2026-02-20
70.5%