GitHub logo

GitHub

Free
FreeFree tier
Inputs: textOutputs: text
Type
Open Source

About GitHub

LocalGPT is a fully private, on-premise Document Intelligence platform that enables users to chat with their documents using state-of-the-art AI models locally. It goes beyond traditional RAG tools by featuring a hybrid search engine that blends semantic similarity, keyword matching, and Late Chunking for long-context precision. A smart router automatically selects between RAG and direct LLM answering for each query, while contextual enrichment and sentence-level Context Pruning ensure only the most relevant content is surfaced. An independent verification pass adds an extra layer of accuracy. The architecture is modular and lightweight, with a pure-Python core and minimal dependencies, making it simple to deploy, run, and maintain on any infrastructure. LocalGPT supports multiple hardware platforms (GPU, CPU, HPU, MPS) and can integrate a variety of open-source models via Ollama. It handles multiple document formats including PDF, DOCX, TXT, and Markdown, and offers features like chat history, reusable LLMs, and an API for building RAG applications.

Key Features

Utmost privacy – data remains on the user's computer, ensuring 100% security
Versatile model support via Ollama (open-source models)
Diverse embedding options (open-source embeddings)
Hybrid search engine: semantic similarity, keyword matching, and Late Chunking
Smart router between RAG and direct LLM answering for each query
Contextual enrichment and sentence-level Context Pruning
Independent verification pass for accuracy
Modular and lightweight architecture with pure-Python core
Multi-format document support (PDF, DOCX, TXT, Markdown)
Chat history (session-based)

Pros & Cons

Pros
  • 100% private – no data ever leaves the user's machine
  • Open source and free to use
  • Modular architecture – enable only components needed
  • Supports multiple hardware platforms (GPU, CPU, HPU, MPS)
  • Works with a wide range of open-source models via Ollama
  • Includes advanced features like hybrid search and verification pass
  • Minimal dependencies – easy to deploy and maintain
Cons
  • Requires some technical knowledge to set up and run locally
  • Performance depends on user's local hardware capabilities
  • Limited to open-source models available through Ollama

Best For

Chat with your documents to ask questions and get answersSummarize documents and extract key insightsUncover insights from files with state-of-the-art AIOn-premise document intelligence for privacy-sensitive environmentsBuild custom RAG applications using the provided APIProcess and analyze PDFs, Word docs, text files, and Markdown files locally

FAQ

How does LocalGPT ensure privacy?
All data remains on the user's computer and never leaves the device, ensuring 100% security.
What file formats does LocalGPT support?
LocalGPT supports PDF, DOCX, TXT, Markdown, and more.
What hardware does LocalGPT support?
LocalGPT supports GPU, CPU, HPU (Intel Gaudi), and MPS out of the box.