serviette
RAG and semantic search
No-code RAG server that answers from a document folder and stays in sync with edits
59k 1.5k 13 days ago Active MIT
Open-source API layer for building private RAG apps on top of local LLM servers
Listed by Alston Antony, founder & editor
Health
ActiveStars
57,646
Last commit
today
Nov 2026
Repository age
3 years
since May 2023
Latest version
v1.0.1
Jun 2026
Contributors
–
23 active in 90 days
Releases
2
last 12 months
Language
Python
PrivateGPT is an API that sits between your application and a local model server. It does not run models. It connects to any OpenAI-compatible server, such as Ollama, llama.cpp or vLLM, through the OPENAI_API_BASE setting.
On top of that it provides a messages API with streaming and token counting, file ingestion, retrieval with citations, agentic RAG, built-in tools for web search, web fetch and code execution, custom tools, MCP connectors, database and CSV access, and embeddings. The API follows the Anthropic API model.
A workbench UI at /ui lets you send messages, upload documents, test retrieval and inspect requests. The project calls it a demonstrator. The API is the main product, and you are expected to build your own app on it.
It is written in Python, licensed Apache-2.0, and installs with Homebrew on macOS or uv on Linux and Windows. It also powers the Zylon on-premise platform. It suits teams that want document chat and retrieval without sending data to cloud APIs.
You get retrieval, citations and tool calling behind one API instead of writing that backend yourself.
Skip if: You want a finished chat product for end users rather than an API.
It works against local inference servers, so documents need not reach cloud APIs.
Skip if: You lack hardware to run a capable local model.
The bundled UI lets you upload files and test retrieval with citations.
Skip if: You only need simple chat with no document retrieval.
Running a model locally is only the first step. You still need ingestion, retrieval, tools and an API for your app. PrivateGPT supplies those pieces without relying on a cloud provider.
# macOS
brew tap zylon-ai/tap
brew install private-gpt From the project's own install instructions. Check the docs for production settings.
Yes. It is licensed Apache-2.0.
No. It connects to an OpenAI-compatible inference server such as Ollama, llama.cpp or vLLM.
The quickstart covers macOS through Homebrew, and Linux and Windows through uv.
After starting it, open http://localhost:8080/ui. The API is on port 8080.
RAG and semantic search
No-code RAG server that answers from a document folder and stays in sync with edits
59k 1.5k 13 days ago Active MIT
RAG and semantic search
Self-hosted AI agents that answer from your documents and cite their sources
18k 2.3k today Thriving MIT
RAG and semantic search
Context database that gives AI agents memory, knowledge and skills as a browsable
43k 3.6k today Thriving AGPL-3.0
RAG and semantic search
Federated AI search and RAG that queries your apps live without a vector database
3k 291 5 months ago Slowing Apache-2.0
RAG and semantic search
API-only engine to store, search and set alerts on incoming documents like news and email
40k 3.7k 7 days ago Active MIT
RAG and semantic search
Self-hosted AI answering engine with cited sources, local LLMs and bundled SearxNG
38k 4.3k 3 months ago Slowing MIT