Documentation
VLite documentation
Install VLite, explore the architecture, or use the API reference.
Getting started
Install VLite
Python packages are published on PyPI: vlite-embedded for in-process use and vlite-client for the REST API. Install them directly with pip; no repository clone or Rust toolchain…
REFERENCE.mdVLite technical reference
Contracts, limits and durability rules for the engine and the REST service. Commands run from the repository root. For installation, start with the README.
Interfaces
REST API reference
The server bundles its current machine-readable contract at /openapi.json. Protected routes take a bearer credential and apply the deny-by-default scoped-credential policy; the…
GRPC.mdOptional gRPC transport
VLite's versioned protobuf services are vlite.v1.VLite and vlite.v1.Kv. They provide a bounded data transport over the same exclusively owned database as REST, not another storage…
CAPABILITIES.mdCollections and advanced retrieval
These APIs extend the embedded engine. Plain Database methods use the default collection, and files are never upgraded automatically.
VECTORS.mdNamed vectors, providers and query language
The examples below use embedded Rust. REST/gRPC and binding coverage is documented in API.md, GRPC.md and the binding guides. Named dense vectors, sparse values, model history and…
Storage & indexes
Storage features
Opt-in engine features. Encryption, commit timestamps and graphs need v5 files; change feeds and sequence restore work on v4 and v5. Older binaries refuse v5 files with flags they…
KEY-VALUE.mdKey-value store
The key-value store saves byte values under text keys. It needs no vectors: each entry is a record in a collection whose vectors have one dimension. It offers compare-and-set on…
ANN-SNAPSHOTS.mdOptional ANN snapshots
The primary VLite database file is always the source of committed records. An ANN snapshot is an optional derived cache, not a backup, journal or recovery mechanism. Losing it…
GRAPH.mdProperty graphs
VLite can store named property graphs (nodes, typed edges and attachments to vector records) in the same file and commit log as vectors. Since v0.5.1 graph support is compiled…
GRAPH-QUERY.mdGraph query text
VLite's property graph is read through the typed GraphQuery API (GraphRef::query). The graph query text is a narrow, read-only notation for those reads (EPIC-015 ITEM-051,…
Operations
VLite Docker operations
## What you run
HA-ACA.mdOpt-in HA operations on Azure Container Apps
These are experimental operator procedures, not production qualification. HA is opt-in. With none of the HA flags or files, VLite runs exactly as the single-writer deployment does…
SECURITY.mdServer security
How VLite signs people in, protects transport, limits credentials, isolates tenants and exports traces. Protect the private VLITEADMINDIR: it holds dashboard accounts, audit…
WEBHOOKS.mdChange-feed webhooks
Webhooks are configured by bootstrap admin credentials and require a private VLITEADMINDIR. POST /v1/admin/webhooks accepts:
TOOLS.mdOffline command-line tools
Most tools work directly with database files. The memory client below requires a REST server.
Agents
Agent memory
Agent memory lets an AI agent keep what it learns between sessions. A caller remembers items in an exact scope, recalls them later with bounded, ranked retrieval, consolidates…
MCP.mdVLite MCP Server
Connect your coding assistant directly to a local VLite database with vlite-mcp. Install the executable, choose a database and add it to your assistant's MCP configuration.
AGENT-SKILLS.mdAgent skills
VLite ships four portable Agent Skills with focused instructions, on-demand references and a runnable ingestion example. They are instructions your coding assistant loads when…
Console
Dashboard guide
VLite's browser console serves one database at /dashboard; Docker Compose also serves it on port 8081.
CONSOLE-ADMIN.mdConsole administration API
See SECURITY.md for sign-in, roles, TLS, tenants, credential limits and tracing.
Releases
VLite 0.7.12 upgrade and rollback
VLite 0.7.12 adds opt-in, unqualified dashboard sign-in through an HA gateway and the offline building blocks for managed tenant deployments on Azure Container Apps: durable…
RELEASE-0.7.11.mdVLite 0.7.11 upgrade and rollback
VLite 0.7.11 adds an opt-in, unqualified automatic-failover supervisor with an off-by-default switch in the dashboard, a dashboard view of the server's HA role and replication…
RELEASE-0.7.10.mdVLite 0.7.10 upgrade and rollback
VLite 0.7.10 includes the experimental, opt-in high-availability building blocks for Azure Container Apps described in the 0.7.9 notes. Check published releases for downloadable…
RELEASE-0.7.9.mdVLite 0.7.9 upgrade and rollback
Unpublished tag. The release build failed and produced no published packages or images. These notes describe the HA changes included in 0.7.10, not a version to install.
RELEASE-0.7.8.mdVLite 0.7.8 upgrade and rollback
VLite 0.7.8 adds memory-aware Azure Blob backup and recovery. A server with agent-memory bindings can now back up, drill and restore its database instead of being refused with…
RELEASE-0.7.7.mdVLite 0.7.7 upgrade and rollback
VLite 0.7.7 is a dashboard patch. It adds a Cloud backup card for the Azure Blob backups that arrived in 0.7.6, and it lets the MemoryAI Remember form attach an evidence record or…
RELEASE-0.7.6.mdVLite 0.7.6 upgrade and rollback
VLite 0.7.6 adds two server features, both off by default: file compaction, which a super administrator can run from the dashboard, and cloud backups to Azure Blob Storage with an…
RELEASE-0.7.5.mdVLite 0.7.5 upgrade and rollback
VLite 0.7.5 adds an opt-in server switch, VLITEMETRICSWITHMEMORY=1, that keeps server-wide metrics and the dashboard views built on them available while agent memory is enabled.
RELEASE-0.7.4.mdVLite 0.7.4 upgrade and rollback
VLite 0.7.4 adds read-only preflight and status checks around MemoryAI's restart-free grant reload, and requires exact-commit full CI before publishing release images, GitHub…
RELEASE-0.7.3.mdVLite 0.7.3 upgrade and rollback
VLite 0.7.3 hardens opt-in agent memory with per-scope read grants and bounded cleanup of expired write receipts, and lets administrators reload grants for already-served bindings…
RELEASE-0.7.2.mdVLite 0.7.2 upgrade and rollback
VLite 0.7.2 adds an atomic key-value batch and a multi-key read (REST, gRPC, the clients, the shell and the MCP tools), adds key-value operations to the embedded libraries and…
RELEASE-0.7.1.mdVLite 0.7.1 upgrade and rollback
VLite 0.7.1 makes the protection of reserved agent-memory resources structural, stops the gRPC disk-ANN calls from letting a client choose a file path, finishes the follow-ups of…
RELEASE-0.7.0.mdVLite 0.7.0 upgrade and rollback
VLite 0.7.0 adds a key-value store, agent memory, an opt-in directory store, graph expiry, bounded graph algorithms and optional managed embedding and ranking providers.
RELEASE-0.6.1.mdVLite 0.6.1 upgrade and rollback
This patch release fixes dashboard sign-in for tenants that hold graphs but no vector collections. It follows 0.6.0. Only the dashboard changes: the server, its API, file formats…
RELEASE-0.6.0.mdVLite 0.6.0 upgrade and rollback
This release gives graph-enabled files the same feature set as vector-only files and makes every new file graph-enabled. It follows 0.5.1. VLite remains experimental: the live…
RELEASE-0.5.1.mdVLite 0.5.1 upgrade and rollback
This release changes the default durability, adds an in-memory-only mode, and compiles the property graph into every build. It follows 0.5.0. VLite remains experimental: the live…
RELEASE-0.5.0.mdVLite 0.5.0 upgrade and rollback
This release ships the opt-in property graph in the distributed artifacts and packages the dashboard, account, durability and indexing work since 0.4.1. VLite remains…
RELEASE-0.4.1.mdVLite 0.4.1 upgrade and rollback
This is the first published release of the 0.4 concurrency and stability series. It includes the 0.4.0 feature set and upgrade guidance, plus a coordinator admission-ordering…
RELEASE-0.4.0.mdVLite 0.4.0 upgrade and rollback
This release packages the concurrency, binding, dashboard and stability work since 0.3.0. It remains experimental: the live dataset resides in memory, startup replays the log, and…
RELEASE-0.3.0.mdVLite 0.3.0 upgrade and rollback
This experimental release extends VLite's single-owner, single-file engine with opt-in format V5, additional retrieval modes, transport security, offline tools and client…
RELEASE-0.2.0.mdVLite 0.2.0 upgrade and rollback
This experimental release adds opt-in v4 collections, durable record revisions, metadata query planning, hybrid retrieval, checkpointed imports, scalar-u8 ANN, operational…