
Grepai Storage Qdrant
Point GrepAI semantic code search at a Qdrant vector backend for faster lookups on large repos.
Install
npx skills add https://github.com/yoanbernabeu/grepai-skills --skill grepai-storage-qdrantWhat is this skill?
- Docker and Docker Compose recipes for Qdrant with REST (6333) and gRPC (6334) ports
- Tuned for very large codebases (50K+ files) and maximum vector similarity performance
- Documents advanced Qdrant features: filtering, payloads, sharding, and Qdrant Cloud
- Clear when-to-use matrix versus other GrepAI storage backends
- Prerequisites: running Qdrant server plus network access from the agent host
Adoption & trust: 1 installs on skills.sh; 17 GitHub stars; 3/3 security scanners passed (skills.sh audits); trending (+100% hot-view momentum).
Recommended Skills
Microsoft Foundrymicrosoft/azure-skills
Azure Aimicrosoft/azure-skills
Azure Hosted Copilot Sdkmicrosoft/azure-skills
Lark Eventlarksuite/cli
Running Claude Code Via Litellm Copilotxixu-me/skills
Setup Matt Pocock Skillsmattpocock/skills
Journey fit
Common Questions / FAQ
Is Grepai Storage Qdrant safe to install?
skills.sh reports 3 of 3 security scanners passed. Review the Security Audits panel on this page before installing in production.
SKILL.md
READMESKILL.md - Grepai Storage Qdrant
# GrepAI Storage with Qdrant This skill covers using Qdrant as the storage backend for GrepAI, offering high-performance vector search. ## When to Use This Skill - Need fastest possible search performance - Very large codebases (50K+ files) - Already using Qdrant infrastructure - Want advanced vector search features ## What is Qdrant? Qdrant is a purpose-built vector database offering: - ⚡ Extremely fast vector similarity search - 📏 Excellent scalability - 🔧 Advanced filtering capabilities - 🐳 Easy Docker deployment ## Prerequisites 1. Qdrant server running 2. Network access to Qdrant ## Advantages | Benefit | Description | |---------|-------------| | ⚡ **Performance** | Fastest vector search | | 📏 **Scalability** | Handles millions of vectors | | 🔍 **Advanced** | Filtering, payloads, sharding | | 🐳 **Easy deploy** | Docker-ready | | ☁️ **Cloud option** | Qdrant Cloud available | ## Setting Up Qdrant ### Option 1: Docker (Recommended) ```bash # Run Qdrant with persistent storage docker run -d \ --name grepai-qdrant \ -p 6333:6333 \ -p 6334:6334 \ -v qdrant_storage:/qdrant/storage \ qdrant/qdrant ``` Ports: - `6333`: REST API - `6334`: gRPC API (used by GrepAI) ### Option 2: Docker Compose ```yaml # docker-compose.yml version: '3.8' services: qdrant: image: qdrant/qdrant ports: - "6333:6333" - "6334:6334" volumes: - qdrant_storage:/qdrant/storage environment: - QDRANT__SERVICE__GRPC_PORT=6334 volumes: qdrant_storage: ``` ```bash docker-compose up -d ``` ### Option 3: Qdrant Cloud 1. Sign up at [cloud.qdrant.io](https://cloud.qdrant.io) 2. Create a cluster 3. Get your endpoint and API key ## Configuration ### Basic Configuration (Local) ```yaml # .grepai/config.yaml store: backend: qdrant qdrant: endpoint: localhost port: 6334 ``` ### With TLS (Production) ```yaml store: backend: qdrant qdrant: endpoint: qdrant.company.com port: 6334 use_tls: true ``` ### With API Key (Qdrant Cloud) ```yaml store: backend: qdrant qdrant: endpoint: your-cluster.aws.cloud.qdrant.io port: 6334 use_tls: true api_key: ${QDRANT_API_KEY} ``` Set the environment variable: ```bash export QDRANT_API_KEY="your-api-key" ``` ## Configuration Options | Option | Default | Description | |--------|---------|-------------| | `endpoint` | `localhost` | Qdrant server hostname | | `port` | `6334` | gRPC port | | `use_tls` | `false` | Enable TLS encryption | | `api_key` | none | Authentication key | ## Verifying Setup ### Check Qdrant is Running ```bash # REST API health check curl http://localhost:6333/health # Expected: {"status":"ok"} ``` ### Check Collections (after indexing) ```bash # List collections curl http://localhost:6333/collections # Get collection info curl http://localhost:6333/collections/grepai ``` ### From GrepAI ```bash grepai status # Should show Qdrant backend info ``` ## Qdrant Dashboard Access the web dashboard at `http://localhost:6333/dashboard`: - View collections - Browse vectors - Execute queries - Monitor performance ## Performance Characteristics ### Search Latency | Codebase Size | Vectors | Search Time | |---------------|---------|-------------| | Small (1K files) | 5,000 | <10ms | | Medium (10K files) | 50,000 | <20ms | | Large (100K files) | 500,000 | <50ms | ### Memory Usage Qdrant loads vectors into memory for fast search: | Vectors | Dimensions | Memory | |---------|------------|--------| | 10,000 | 768 | ~60 MB | | 100,000 | 768 | ~600 MB | | 1,000,000 | 768 | ~6 GB | ## Advanced Configuration ### Qdrant Server Configuration Create `config/production.yaml`: ```yaml storage: storage_path: /qdrant/storage service: grpc_port: 6334 http_port: 6333 max_request_size_mb: 32 optimizers: memmap_threshold_kb: 200000 indexing_t