Skip to content

Repository files navigation

QQL Banner

QQL — Declarative Vector Search Engine

QQL is to Qdrant what SQL is to Postgres.
Expressive, declarative queries to search, filter, rerank, recommend, and transform vectors in one language.

CI Release Crates.io PyPI npm License: MIT

DocsSyntaxSpecSkillReleases


⚡ Quick Install

💻 CLI One-Liner (Linux, macOS, Windows)

# Linux & macOS (Shell)
curl -fsSL https://raw.githubusercontent.com/srimon12/qql-rs/main/scripts/install.sh | sh

# Windows (PowerShell)
irm https://raw.githubusercontent.com/srimon12/qql-rs/main/scripts/install.ps1 | iex

📦 Language SDKs

# Edge verions are heavier but comes with qdrant_edge and fastembed-rs in a single package
# for minimal footprint prefer vanilla sdk without the -edge.

# Python
pip install pyqql OR pyqql-edge

# Node.js
npm install @veristamp/nqql OR @veristamp/nqql-edge  

# WebAssembly
npm install qql-wasm

# Rust
cargo add qql qql-core

🧩 VS Code / Cursor Extension

# Marketplace
code --install-extension srimon12.qql-lang

# Local build (from editors/vscode)
# npm run package && code --install-extension qql-lang-*.vsix --force

Syntax highlighting, live WASM diagnostics, hover plans, CodeLens, outline, and smart completions for .qql files. See editors/vscode.

🤖 AI Agent Skill (Cursor, Claude Code, codex etc)

npx skills add srimon12/qql-rs --skill qql-skill

💡 Example

QUERY TEXT 'chest pain'
FROM medical
USING dense
WHERE department = 'cardio'
SHARD 'hospital-east'   -- optional custom-shard routing
LIMIT 5;

Isolation on untrusted QQL: inject_filter(stmt, "tenant_id", "=", tenant).
Routing: SHARD '…' in QQL (or stmt.shard_key after parse).
Partition DDL: CREATE SHARD KEY '…' ON COLLECTION ….


📚 Documentation


Built with 🦀 Rust for Qdrant and Edge Vector DBs. Licensed under MIT.

About

High-performance, declarative SQL-like query language engine for Qdrant and local edge vector databases. Multi-vector dense & BM25 sparse search, CTEs, MMR, prefetches, and hybrid │ execution in Rust, Python, Node.js, and WebAssembly

Topics

Resources

Contributing

Stars

3 stars

Watchers

0 watching

Forks

Releases

Contributors

Languages