A portable snapshot
Changes are committed to a checksummed WAL. Call checkpoint() before copying the .rvec snapshot on its own, with writes paused; otherwise preserve the matching snapshot and WAL together.
Recern Vector 1.0.0 brings a stable public API and tested crash recovery to an inspectable vector database. Run embedded or through its single-node HTTP server, with Python, Rust and Node.js clients.
Rust · Python · Node.js · CLI · MIT OR Apache-2.0Recern Workspace · demo database · format 2

Measure recall and latency at different ef values on the payment_patterns int8 collection.
Historical 0.5.0-dev.1 measurements, not new 1.0.0 results. Warm-cache native saves with automatic scheduling disabled; 100,000 synthetic f32 records. These save latencies are not HTTP serving guarantees.
p50 · replacement save
p50 · delete save
p50 · clean save
Changes are committed to a checksummed WAL. Call checkpoint() before copying the .rvec snapshot on its own, with writes paused; otherwise preserve the matching snapshot and WAL together.
Run inside your application or use the authenticated single-node HTTP server. Portable clients keep the same data operations across embedded Recern, Recern HTTP and Qdrant.
Any search can report its strategy, the nodes it visited, how selective the filter was and how long it took. Stats show the graph layers, memory use and any records a search cannot reach, and recall can be measured on your own data.
The same database from Python and from the command line. The output on the right is a real run on 20,000 records with a metadata filter.
import recern_vector as rv
db = rv.Database.open_or_create("docs.rvec")
docs = db.create_collection("docs", dim=384, metric="cosine")
docs.upsert_many(ids, embeddings, metadatas)
hits = docs.search(query, k=5, filter={"lang": "en"})
docs.explain(query, k=5) # strategy, visited nodes, time$ recern-vector query docs.rvec docs --like doc-42 -k 3 \
--filter '{"lang": "en", "year": {"$gte": 2020}}' \
--explain
# id distance metadata
1 doc-42 -0.00000 {"lang":"en","year":2024}
2 doc-18861 0.63155 {"lang":"en","year":2022}
3 doc-10899 0.63834 {"lang":"en","year":2024}
strategy hnsw
ef 64
selectivity ~19.9% of records match the filter
visited 7,244 nodes
distances 7,330 computed
time 529 µsPython bindings take NumPy float32 arrays without converting each element. Batch inserts build the index on all cores.
The 1.x compatibility and deprecation policy covers documented Rust, Python, Node.js, HTTP and CLI interfaces. Cross-version tests cover released clients, servers, files and migration.
Format 3 encodes changed records and HNSW neighbours into stable pages. Open and checkpoint still process a full image; cached pages and padding add memory and storage costs.
Use the same collection, record and filtered-search operations on embedded Recern, Recern HTTP and Qdrant. Profile v1 preserves logical IDs, metadata precision, distance semantics and explicit backend capabilities.
Export a consistent snapshot from embedded Recern or Recern HTTP and import into new Recern or Qdrant collections. Includes checksums, dry-run, resume and read-back verification. Int8 exports contain stored, dequantized vectors.
A graph index with per-collection m, ef_construction and ef_search, and an exact scan when you need ground truth.
Each collection has a fixed dimension and metric. Cosine vectors are normalized when they are stored.
Equality, $in, ranges and nested $and, $or and $not. A cost planner samples filter selectivity, chooses exact or HNSW search and adapts the search effort.
Embedded Recern builds batch indexes on all cores and rejects an invalid batch before writing. Qdrant batches do not carry an atomicity guarantee.
Replace or delete records by id, then compact to rebuild the collection without deleted records.
stats(), explain() and estimate_recall() are part of the API, not a separate tool.
A PyO3 wheel for CPython 3.11 and later, with type hints.
init, create-collection, insert, query, inspect, recall, checkpoint and compact.
New files use format 3. Readers retain formats 1/2; existing format-2 files stay at 2 until an explicit upgrade creates a standalone format-2 backup.
By default, writable handles attempt a checkpoint at 64 MiB of WAL or 1,000 commits. A maintenance failure is reported without undoing a synced WAL commit; thresholds are configurable.
Per-collection int8 codes with per-vector scales. Measure recall on your data to choose the storage and accuracy tradeoff.
Install @recern/vector. Exact-version native dependencies select Linux x64/ARM64 (glibc), macOS Intel/Apple silicon or Windows x64. Keep optional dependencies enabled.
Apple M3 Max · 36 GiB · 2026-11-04
Historical 0.5.0-dev.1 measurements, not new 1.0.0 results. Warm-cache native saves with automatic scheduling disabled; 100,000 synthetic f32 records. These save latencies are not HTTP serving guarantees.
| Configuration | replacement save · ms | delete save · ms | clean save · ms |
|---|---|---|---|
| Recern 0.4.0format 2 · 100,000 f32 | 1,092.946p50 | 1,409.96p50 | 1,209.893p50 |
| Recern 0.5.0.dev1format 2 · 100,000 f32 | 1,072.921p50 | 1,403.322p50 | 1,242.448p50 |
| Recern 0.5.0.dev1format 3 · 100,000 f32 | 5.231p50 | 4.905p50 | 0.088p50 |
The database, index and encoded pages must fit in RAM. Open/checkpoint process a full image; format-2 saves still encode a full image. Int8 does not guarantee faster searches or lower total peak RSS. HTTP/profile/export v1 remain unchanged; clustering and high availability are outside this release.
Workspace 1.0.1 opens formats 1/2/3 read-only, including committed WAL changes. Update Workspace 1.0.0 to inspect format-3 files; no database conversion is needed.
Explore the workspace