RetrievalKit documentation

Start with the language you ship.

Each guide follows one path from package installation to a local query, explicit cleanup, and the platform boundary that applies today.

Language guides

Install, build, search, close.

The wrappers adapt types and concurrency; everything else stays in the Rust core.

Choose a query path

Choose how your app finds the right records.

Rank a corpus, return connected records, or let relationships narrow the corpus before ranking. Each path has its own API.

See how each path executes →
RetrievalDatabase
Rank a flat corpusUse exact vector, BM25, or hybrid ranking when relationships do not define which records are eligible.
GraphDatabase
Follow relationshipsReturn records connected by application-supplied relationships, without vectors or an embedding model.
GraphRetrievalDatabase
Narrow, then rankLet relationships choose the eligible records, then rank only inside that scope with exact vector, BM25, or hybrid search.

Reference

Know what is local, measured, and supported.

Trace the execution model, inspect the evidence, confirm your target, or run the complete browser pipeline.

API referencePer-language source guides at the pinned v0.1.0 tag.