# PrivateGPT

> Open source API layer that turns local models into private AI applications

Source: https://talira.ai/catalog/privategpt-924tf5q0
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: API, Framework
- Categories: [ai / rag / servers](https://talira.ai/categories/ai/rag/servers)
- Platforms: macos, linux, windows, docker[^3]
- Licence: Apache-2.0[^2]
- Pricing: Free and open source[^1]
- Free tier: yes[^1]
- Self-hostable: yes[^1]
- API: yes[^1]
- Supports: [MCP](https://talira.ai/standards/mcp.md)
- Backed by: [Zylon](https://talira.ai/orgs/zylon.md)

PrivateGPT is an open source API server that sits between your app and a local OpenAI-compatible inference server (Ollama, llama.cpp, vLLM and others) and adds the building blocks of an AI application on top, following the Claude API's design. It gives you a messages API with streaming, async processing and token counting, file and document ingestion, retrieval with citations and agentic RAG, embeddings, built-in tools for web search, web fetch and code execution, custom tools, MCP connectors and basic skills, and structured querying of databases and CSV files. Because it speaks the Claude API, tools such as Claude Code, Claude Desktop and Cowork, the Claude add-ins for Microsoft 365, OpenCode and n8n can use your private models through it. A workbench UI at /ui is there for testing and demos. It installs with Homebrew on macOS, uv on Linux and Windows, or Docker, and is Apache-2.0 licensed. The team behind it builds Zylon, an on-premise enterprise AI platform that runs on PrivateGPT.

## Links

- Website: https://www.zylon.ai/private-gpt
- GitHub: https://github.com/zylon-ai/private-gpt
- Docs: https://docs.privategpt.dev/

## Problems it solves

- chat with our documents privately without sending data to a cloud AI provider
- add RAG with citations on top of a local model running in Ollama or vLLM
- use Claude Code or Claude Desktop with our own local models
- a self-hosted API like the Claude API for building private AI apps
- give a local LLM tools, MCP connectors and access to our databases
- query CSV files and SQL databases in natural language with a local model

## Features

- messages API with streaming, async processing and token counting, following the Claude API
- file, PDF and document ingestion
- retrieval with citations and agentic RAG
- embeddings
- built-in web search, web fetch and code execution tools
- custom tools, MCP connectors and remote MCP servers
- basic skills support
- database and CSV querying
- workbench UI with an API debugger
- works as a backend for Claude Code, Claude Desktop, Cowork, Claude for Microsoft 365, OpenCode and n8n

## Limitations

- It doesn't run models itself: it needs a separate OpenAI-compatible inference server such as Ollama, llama.cpp or vLLM.[^1]
- The bundled web UI is a workbench for testing and demos; the API is the product, so end users need an app built on it.[^1]

## Capabilities

- Has an API: plan not known
- Has a command line tool: plan not known

## Trust

Overall: 0.38 out of 1.
Signals: backing 0.30, extensibility 0.40.

- backed by Zylon

Warnings:

- GitHub activity not fetched yet

## Alternatives

- [RAGFlow](https://talira.ai/catalog/ragflow-vgs1mpys.md): Build a superior context layer for AI agents
- [kotaemon](https://talira.ai/catalog/kotaemon-g83v9sxk.md): An open-source clean & customizable RAG UI for chatting with your documents
- [LocalGPT](https://talira.ai/catalog/localgpt-c0bh7ggy.md): Private, on-device document chat: ask questions of your files with local models

## Sources

[^1]: https://github.com/zylon-ai/private-gpt (checked 22 Nov 2026)
[^2]: https://github.com/zylon-ai/private-gpt/blob/main/LICENSE (checked 22 Nov 2026)
[^3]: https://docs.privategpt.dev/getting-started/quickstart (checked 22 Nov 2026)
