#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.
Watch puts localgpt on your watch list: its new releases and known problems since your last visit. Kept in this browser, no account.localgpt is on your watch list. Its new releases and problems show there.
- Stars
- 22.2k
- License
- MIT
- Last commit
- Aug 2026
- Language
- Python
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| Rank | Project | Score |
|---|---|---|
| #65 | deep-research-web-uiWeb UI that turns a question into a cited research report | 56 out of 100 |
| #66 | queryweaverText2SQL over PostgreSQL and MySQL using a FalkorDB schema graph | 56 out of 100 |
| #68 | paper-qaPython RAG library and CLI for answering questions over scientific PDFs with citations | 55 out of 100 |
| #69 | pyseriniPython toolkit for reproducible sparse and dense retrieval research | 55 out of 100 |
| #70 | local-deep-researcherIterative web research agent that runs on Ollama or LM Studio models | 54 out of 100 |