lilbee local RAG
local-first cited answers no vector DB

lilbee / local RAG

Local RAG: cited answers from your own documents, fully offline. lilbee indexes your files, code, and PDFs, then answers in plain English with a link to the exact source.

Retrieval-augmented generation that runs on your own machine. It is one program: the model runtime and the search index live inside it, so there is no model server and no vector database to stand up.

what local RAG means here

Point lilbee at a folder and it builds a real retrieval pipeline over it: your documents are chunked, embedded, and ranked by how well they answer the question you asked. The best passage comes back first, and the answer cites the file and line it came from, so you can check it. When lilbee does not find a good match, it says so instead of guessing.

one program, not a stack

The usual local-RAG setup is a model server, a vector database, glue code to connect them, and an app on top. lilbee folds all of that into a single program. The model runtime is llama.cpp and the index is LanceDB, both running inside lilbee. You install one thing, point it at your files, and ask.

chunked so it makes sense

Prose and code are chunked differently, so each piece keeps its meaning instead of being cut mid-thought. A retrieval pipeline is only as good as the chunks underneath it.

every answer is sourced

Replies carry citations back to the file and line, and a scoped library per project keeps one domain from bleeding into another.

more than text

PDFs, office files, ebooks, and scanned images go through extraction and OCR, and whole websites can be crawled to markdown and searched offline.

tune it when you want

Sane defaults out of the install, with 50+ settings for search depth, reranking, and how your files are read once you want to push quality further.

it runs the models too

lilbee is also a complete model manager: it browses Hugging Face, downloads a model, and runs it on Metal, Vulkan, or CUDA, so you do not need a separate runner. If you already run Ollama or LM Studio, point lilbee at your setup instead. A cloud model is there when you want one, and never used unless you pick it.

questions

What is local RAG?

Local RAG means the model reads your own documents before it answers, and all of it runs on your own machine. lilbee finds the passages that answer your question and writes a reply that cites them, with nothing sent to a cloud service.

Does lilbee need a separate vector database?

No. The vector index (LanceDB) runs inside lilbee, so there is no database server to stand up or keep alive.

Can it run fully offline?

Yes. lilbee downloads and runs local models, so once your models are in place it answers with no internet connection. A cloud model is used only if you pick one.

What can it index?

Text and markdown, code, PDFs, office documents, ebooks, and scanned images through OCR, plus whole websites you crawl into markdown. Over 150 file types.

Do I have to use lilbee's own models?

No. lilbee is a complete model manager, and it also works with your existing Ollama or LM Studio setup, or a cloud model when you want one.

go deeper

lilbee  .  MIT License