#6767th of 116 in RAG, knowledge and search

localgpt

Private document Q&A with hybrid search and reranking over Ollama models

Run it:Vast.ai ↗ (opens in a new tab)RackNerd ↗ (opens in a new tab)RepoCloud ↗ (opens in a new tab)Clore.ai ↗ (opens in a new tab)Affiliate links, no effect on a rank.

Stars
22.2k
License
MIT
Last commit
Aug 2026
Language
Python
Stars, last 35 weeks+234
25 Mar 2026: 21,951 stars1 Apr 2026: 21,964 stars8 Apr 2026: 21,973 stars15 Apr 2026: 21,978 stars22 Apr 2026: 21,984 stars29 Apr 2026: 21,990 stars6 May 2026: 21,996 stars13 May 2026: 22,006 stars20 May 2026: 22,020 stars27 May 2026: 22,027 stars3 Jun 2026: 22,033 stars10 Jun 2026: 22,041 stars17 Jun 2026: 22,047 stars24 Jun 2026: 22,054 stars1 Jul 2026: 22,062 stars8 Jul 2026: 22,065 stars15 Jul 2026: 22,071 stars22 Jul 2026: 22,076 stars29 Jul 2026: 22,083 stars5 Aug 2026: 22,088 stars12 Aug 2026: 22,091 stars19 Aug 2026: 22,096 stars26 Aug 2026: 22,105 stars2 Sept 2026: 22,111 stars9 Sept 2026: 22,114 stars16 Sept 2026: 22,119 stars23 Sept 2026: 22,124 stars30 Sept 2026: 22,128 stars7 Oct 2026: 22,130 stars14 Oct 2026: 22,145 stars21 Oct 2026: 22,153 stars28 Oct 2026: 22,168 stars4 Nov 2026: 22,173 stars11 Nov 2026: 22,177 stars18 Nov 2026: 22,181 stars25 Nov 2026: 22,185 stars

21,951 on 25 Mar 202622,185 on 25 Nov 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

LocalGPT indexes PDF, DOCX, HTML, Markdown and TXT files with Docling and answers questions over them using LanceDB hybrid search (dense vectors plus full-text, fused with RRF) and a Qwen3 cross-encoder reranker. A router chooses between RAG and a direct LLM answer, and generation runs through Ollama. It ships a Next.js UI, a REST backend on port 8000 and a RAG API on port 8001.

Who it is for: Self-hosters who want private Q&A over their own documents

Strengths

  • Hybrid retrieval: LanceDB vector plus full-text, RRF fusion, reranking on by default
  • Defaults chosen from documented ablations in eval/decisions; late chunking and verification are optional
  • Every UI action is an HTTP call; CLI and scripts can also build indexes
  • Embedding and reranking pick CUDA, then Apple MPS, then CPU automatically

Weaknesses

  • Needs Python, Node.js 20+ and Ollama, running four separate services
  • Reranker is about 7.5 GB and downloads on the first reranked query
  • Changing the embedding model invalidates existing indexes; they must be rebuilt
  • Vision and multimodal models are not integrated; scanned PDFs rely on OCR engines

What it needs

  • RAM ≥ 8 GB
  • GPU optional
  • Docker + Compose
  • Needs Ollama, Python 3.10+, Node.js 20+, LanceDB, Docling, SQLite
  • Models: Ollama models (qwen3.5:9b default), HuggingFace embedding models, Qwen3-Reranker, watsonx
  • port 3000

Also in RAG, knowledge and search

See all 116
Also in RAG, knowledge and search
RankProjectScore
#65deep-research-web-uiWeb UI that turns a question into a cited research report Live demo ↗ (opens in a new tab)2.2k starsno license56 out of 100
#66queryweaverText2SQL over PostgreSQL and MySQL using a FalkorDB schema graph Live demo ↗ (opens in a new tab)1.1k starsAGPL-3.056 out of 100
#68paper-qaPython RAG library and CLI for answering questions over scientific PDFs with citations9.7k starsApache-2.055 out of 100
#69pyseriniPython toolkit for reproducible sparse and dense retrieval research2.2k stars+67 (+3.1%) in 30 daysApache-2.055 out of 100
#70local-deep-researcherIterative web research agent that runs on Ollama or LM Studio models9.4k starsMIT54 out of 100