Skip to content
The SrvDB eagle

The sharpest eye for your local AI

SrvDB is an embedded vector database. It runs inside your app, needs no server, and keeps your data safe through crashes.
Terminal window
pip install srvdb
import srvdb
db = srvdb.Database("./memory", dimension=384)
db.add(ids=["a"], embeddings=[embedding], metadatas=['{"text": "hello"}'])
db.persist() # crash-safe from here on
print(db.search(query, k=5)) # [("a", 0.93), ...]

In-process, offline

A library, not a service. No server, no network access, no background process. Works on laptops, desktops and air-gapped machines.

Crash-safe by design

After persist() returns, your data survives a crash or power loss, and the database reopens exactly as it was. Every write path has a crash test.

Pick your trade-off

Exact flat search, HNSW, IVF, or 4× (SQ8) and up to 32× (PQ) smaller storage. Switch with one argument.

Rust core, Python first

A Rust engine with SIMD distance kernels, thread-safe Python bindings that release the GIL, typed errors in both languages.