User Guides

August 16, 2026 · View on GitHub

Detailed, task-oriented guides for using VelesDB and velesdb-memory. See also the docs index for the full documentation map.

Guides are grouped by the surface they document. If you are looking for a specific binding, start with its section — each crate README links here, and each guide links back.

Getting started

GuideDescription
InstallationAll installation methods (cargo, binaries, Docker)
Installation optionsDecision aid: which install path to pick for core vs. agent memory
Configurationvelesdb.toml configuration reference
Use CasesCommon use cases and recommended configurations
Business ScenariosEnd-to-end business problems solved with single queries
API correspondenceRust, Python, TypeScript and MCP names for open, create, insert, search and recall

Core engine (Rust)

GuideDescription
Core: public API mapWhere to find what in velesdb_core — an import map, not a signature reference
Core: collections and metricsThe collection model: distance metrics, payloads, storage modes and their memory trade-offs
Core: VelesQL referenceThe SQL-like language across the vector, graph and columnar engines
Core: sparse vectors and fusionNamed sparse vectors (SPLADE, BM25, tag sets) beside dense embeddings, and result fusion
Core: streaming insertsBounded-channel ingestion, backpressure and the delta buffer for continuously arriving data
Core: query plan cacheThe two-tier LRU plan cache that lets repeated queries skip parsing and planning
Core: Agent Memory SDK (Rust)The velesdb_core::agent memory subsystems for chatbots, RAG and autonomous agents — the Rust API section of the Agent Memory guide
Core: performance numbersThe measured figures, with their methodology and hardware
Search ModesWhat Fast/Balanced/Accurate/Perfect/Adaptive mean and when to pick which
QuantizationVector compression mechanisms (SQ8, PQ, Binary, RaBitQ): internals, training, persistence
Tuning GuideThe numeric reference: mode defaults, HNSW parameters, quantization trade-offs, memory estimation
Graph PatternsGraph modeling and MATCH pattern recipes
Multi-Model QueriesCombining vector, graph, and structured data in one VelesQL query
Concurrency & LockingConcurrent access and file-locking behavior
Write ConcurrencySingle-writer-per-collection model, batching patterns, Enterprise tier

Agent memory and MCP

GuideDescription
Agent MemoryAI agent memory: semantic, episodic, procedural, TTL, snapshots
MCP server setupvelesdb-memory: install, every client config, the shared HTTPS daemon, embedding/extraction backends
Context compilerDeterministic prompt compression: budgets, preservation rules, risk, transcripts, the PostToolUse hook
Extraction modelsPicking the local model that turns remembered facts into graph edges: criteria, VRAM tiers, and why schema discipline outranks size
Temporal MemoryDated recall and reasoning about when things happened

CLI and REPL

GuideDescription
CLI command referencevelesdb: every subcommand and flag, import/export formats, packaging, error reference
REPL referencevelesdb repl: dot-commands, session commands and settings, output formats
VelesQL cookbook (CLI & REPL)Runnable VelesQL snippets: vector, hybrid, sparse, temporal, graph, aggregation, JOIN

Server

GuideDescription
Server REST tourvelesdb-server: runnable curl recipes for collections, search modes, VelesQL, graph, MATCH, errors
Server deploymentvelesdb-server: Docker, Kubernetes probes, rate limiting, CORS, startup update check
Server SecurityAPI keys, TLS, CORS, and operations hardening

Python binding

GuideDescription
Python API referenceDatabase, Collection, search and storage — the authoritative signatures
Python RAG pipelineFrom raw text to search results, end to end
Python agent memoryMemoryService and the Agent Memory SDK from Python
Python context compilerToken-budgeted, provenance-audited prompt context
Python graphsPersistent GraphCollection and in-memory GraphStore
Python VelesQLThe VelesQL parser API exposed to Python
Python remote serverUsing the Python SDK alongside a remote velesdb-server
Python PerformanceThroughput tuning for the Python binding
Engine benchmarksThe native Rust numbers behind the Python bindings

WASM (browser)

GuideDescription
WASM JavaScript APIThe full surface exposed by @wiscale/velesdb-wasm
WASM persistence and formatHow a browser-side store survives a reload: IndexedDB, binary format, performance
VelesQL in the browserVelesQL parsed, validated and executed entirely client-side

Node.js addon

GuideDescription
Node.js addon@wiscale/velesdb-memory-node: every method, the JS-side contracts, the context compiler, the bundled agent
Building the Node addonBuilding from source when no prebuilt binary covers your platform

Mobile (iOS / Android)

GuideDescription
Mobile APIThe complete velesdb-mobile UniFFI surface, in Swift and Kotlin
Mobile buildCross-compiled libraries and bindings an Xcode or Gradle project can consume

Tauri plugin

GuideDescription
Tauri plugin referencetauri-plugin-velesdb: every IPC command, events, permissions, storage modes, error codes
Tauri plugin recipestauri-plugin-velesdb: runnable snippets for graph, sparse, indexes, VelesQL, events

Data migration (velesdb-migrate)

Importing from another database or a file dump. Not to be confused with the version migration guides below.

GuideDescription
Migrate: CLI and configurationCommand surface and the full YAML schema
Migrate: source referencePer-source configuration for every shipped connector
Migrate: operationsThroughput tuning, secret handling and troubleshooting
Migrate: embeddingsRebuilding a velesdb-memory store against a new embedding model

Version migration guides

GuideDescription
Migration v3.3.0VelesQL correctness + cross-surface parity release migration guide
Migration v4.0.0Hardening + API-cleanup release migration guide

Tutorials

TutorialDescription
Tauri RAG AppBuild a desktop RAG application with Tauri
Mini RecommenderBuild a product recommendation engine with vector search and metadata filtering