Back to directory

SwarnDB

A production-grade vector and graph database engine written in Rust, where a vector's identity and its graph node are the same object, so a single query can combine nearest-neighbor similarity search with explicit, typed graph traversal without syncing two separate databases.

SwarnDB

SwarnDB is a database engine, written in Rust, that stores a vector and a graph node as the same underlying object rather than as two systems kept in sync through application glue code. Used purely as a vector store, every collection is backed by HNSW for approximate nearest-neighbor search, with optional scalar quantization for larger collections, four distance metrics, per-query recall-versus-latency tuning, batch search and metadata pre-filtering.

Flipping a collection to hybrid mode adds a real typed graph on top of the same identities: directed, typed edges that carry a confidence score and a manual-versus-extracted provenance flag, created explicitly through a put_edge call or extracted by an LLM, never inferred from vector similarity. A single query plan can then scope results by graph structure and rank them by vector similarity in one pass, without a foreign key or a separate mirror table linking the two views of the data.

The vector-only mode requires no extra configuration; the graph mode is opt-in per collection.

More in Databases

See all 294
  • SQLBraid

    clickin.github.io

    A SQL-first data-access toolkit for TypeScript that keeps ordinary SQL visible in tagged template literals, binds interpolated values safely by default, supports readable conditional SQL directives, and lets a schema validate the returned rows.

  • A SQL-style query language and toolchain for the Qdrant vector database, covering dense, sparse and hybrid search, filtering and multitenancy, with the same grammar running from a CLI, Python, Node.js, Rust, WebAssembly and an in-process edge engine.

  • Fast Knowledge

    github.com

    A self-hosted, Java-based knowledge base for small and mid-sized organizations, turning internal documents into a searchable, question-answerable and audit-exportable knowledge asset with hybrid retrieval and Docker deployment.