Retrieval Kit

A Rust library for local document search.

Rust
ONNX Runtime
LanceDB
Code example creating an RKit instance with LanceDB storage and ONNX Runtime embeddings, then running semantic search

Overview

This Rust library lets you quickly build RAG retrieval for a collection of documents. I built it because I needed it for work at the time - we had multiple documentation sites to ingest and use in an MCP. It's ergonomic and high-level but also configurable so that it works with multiple models/embeddings and different vector db backends can be implemented for it.