๐ VelesDB Documentation
August 17, 2026 ยท View on GitHub
VelesDB โ the explainable, local-first memory engine for AI agents. One ~10 MB binary fuses vector + graph + columnar under VelesQL;
why()returns the evidence path behind every recall. Zero cloud.
Welcome to the VelesDB documentation. This guide will help you get started and make the most of VelesDB.
Quick Links
- Getting Started - Quick installation and first steps
- Why VelesDB? - Our unique value proposition
- Benchmarks - Performance comparison with other vector databases
๐ User Guides
Detailed guides for using VelesDB features. Full guides index โ (all guides, including migration notes and tutorials).
| Guide | Description |
|---|---|
| Installation | All installation methods (cargo, binaries, Docker) |
| Installation options | Decision aid: which install path to pick for core vs. agent memory |
| Configuration | velesdb.toml configuration reference |
| Search Modes | Understanding Fast/Balanced/Accurate/Perfect modes |
| CLI reference / REPL | Command-line interface and interactive shell |
| Quantization | Vector compression (SQ8, PQ, Binary, RaBitQ) |
| Tuning Guide | HNSW parameter tuning and performance optimization |
| Agent Memory | AI agent memory: semantic, episodic, procedural, TTL, snapshots |
| MCP server setup | velesdb-memory: install, client config, shared HTTPS daemon, embedding/extraction backends |
| Context compiler | Deterministic prompt compression: budgets, preservation rules, risk, the PostToolUse hook |
| Graph Patterns | Graph modeling and MATCH pattern recipes |
| Multi-Model Queries | Combining vector, graph, and structured data in one VelesQL query |
| Server Security | API keys, TLS, CORS, and operations hardening |
| Business Scenarios | End-to-end business problems solved with single queries |
| Python Performance | Throughput tuning for the Python binding |
| Concurrency & Locking | Concurrent access and file-locking behavior |
| Write Concurrency | Single-writer-per-collection model, batching patterns, Enterprise tier |
| Use Cases | Common use cases and recommended configurations |
| Migration v3.3.0 | Error codes, REST statuses and query results that changed in 3.3.0. |
| Migration v4.0.0 | The 4.0.0 breaking changes โ start with the WASM weighted reordering, which is silent. |
| Troubleshooting | Solutions for common issues new users encounter |
API reference, per binding
Each binding has its own reference guide; the full guides index groups every guide by surface.
| Binding | Reference |
|---|---|
| Cross-surface | API correspondence |
Rust (velesdb-core) | Public API map ยท VelesQL |
| Python | API reference |
| WASM (browser) | JavaScript API |
| Node.js | Addon reference |
| Mobile (Swift / Kotlin) | Mobile API |
| Server (REST) | REST tour |
| Tauri plugin | Plugin reference |
| Data migration | velesdb-migrate CLI |
๐ Technical Reference
In-depth technical documentation. Full reference index โ (all reference docs, plus the machine-readable promise contract).
| Reference | Description |
|---|---|
| Architecture | System design and internals |
| VelesQL Specification | Query language grammar and syntax (v3.10.0, canonical) |
| VelesQL Cheat Sheet | One-page quick reference: search, filter, graph MATCH, fusion, sparse, EXPLAIN |
| VelesQL Contract | Canonical REST contract (/query, /match, error model) |
| VelesQL Conformance | Cross-ecosystem conformance matrix |
| MCP Tool Reference | velesdb-memory: every MCP tool, one section each โ parameters, returns, limits, error model |
| Performance SLO | CI-enforced performance objectives and budget gates |
| REST API | HTTP API endpoints |
| SIMD Performance | SIMD optimizations and benchmarks |
๐ Tutorials
Step-by-step tutorials:
| Tutorial | Description |
|---|---|
| Tauri RAG App | Build a desktop RAG application with Tauri |
๐ค Contributing
For contributors and developers:
| Guide | Description |
|---|---|
| Coding Rules | Code style, conventions and the TDD workflow |
| Benchmarking Guide | How to run and interpret benchmarks |
| Code Signing | Release signing process |
| Project Structure | Codebase organization |
๐ Ecosystem
VelesDB provides a complete ecosystem of SDKs and integrations:
| Component | Type | Description |
|---|---|---|
| Ecosystem Sync Report | Overview | Feature parity matrix across all components |
| velesdb-core | Core | Rust core library |
| velesdb-server | Server | REST API server |
| velesdb-cli | CLI | Command-line interface & REPL |
| velesdb-wasm | SDK | WebAssembly for browsers |
| velesdb-python | SDK | Python bindings (PyO3) |
| velesdb-mobile | SDK | iOS/Android (UniFFI) |
| TypeScript SDK | SDK | TypeScript/JavaScript client |
| velesdb-memory | Server | MCP agent-memory server (why() wedge) |
| velesdb-node | SDK | Node.js agent-memory binding (napi-rs) |
| tauri-plugin-velesdb | Plugin | Tauri desktop integration |
| LangChain | Integration | LangChain VectorStore |
| LlamaIndex | Integration | LlamaIndex VectorStore |
๐ฆ Crate Documentation
Each crate has its own README with specific documentation:
| Crate | Description |
|---|---|
| velesdb-core | Core library |
| velesdb-server | REST API server |
| velesdb-cli | Command-line interface |
| velesdb-mobile | iOS/Android bindings |
| velesdb-migrate | Migration tools |
๐ฌ Design, Internals & Reference
Background documents: how the engine is built, what it guarantees, and where the remaining debt is. Read these when you need the why behind a behaviour.
| Document | Description |
|---|---|
| Tech-debt registry | Deferred architectural decisions and known open items. |
| Concurrency model | Which operations run in parallel, and the locks that make that safe. |
| Storage format | The on-disk layout and its compatibility rules. |
| Soundness | The invariants the engine relies on, and why they hold. |
| Fuzzing | The fuzz targets and how to run them locally. |
| GPU acceleration | What the gpu feature accelerates, and what it does not. |
| ANN state-of-the-art audit | How the index compares to published ANN work. |
| Core wiring debt | Known gaps between what core exposes and what the surfaces use. |
| Core / Premium split | Where the open-core boundary sits, and the contract both repos read identically. |
| Decisions | One decision per file: what was decided, why, and the code, PR or CI job that proves it. |
๐ Project & Licensing
| Document | Description |
|---|---|
| FAQ | The questions newcomers actually ask. |
| Licensing | The VelesDB Core License, in practical terms. |
| Business model | What is open, what is premium, and why the line sits there. |
๐ External Resources
VelesDB โ the explainable, local-first memory engine for AI agents. (Microsecond vector search is the proof, not the pitch.)
Last updated: 2026-08-08 ยท Applies to: velesdb-core 5.1.0