PrivateGPT is an open-source API layer for private AI applications targeting local models. Its role is not to run the models themselves, but to connect to any inference server compatible with the OpenAI interface: as long as that server implements /v1/chat/completions and /v1/models, and OPENAI_API_BASE points to it via an environment variable, PrivateGPT can work.
In terms of purpose, PrivateGPT is designed to solve the problem that comes after "running a local model is only the first step"—providing a set of higher-level building blocks for building useful AI applications. It is offered as an open-source API that follows the Claude API model, allowing developers to avoid rebuilding the same backend primitives from scratch and to avoid relying on cloud APIs. The API is the product itself; it also comes with a built-in workbench UI (located at /ui) for testing and demonstrations.
Main capabilities include: a standard message API (supporting streaming, async, and token counting); file and artifact ingestion; retrieval with citations and agentic RAG; built-in tools mirroring the Claude API (web search, web scraping, code execution); custom tools and MCP connectors; structured access to databases and CSV; embeddings and orchestration. In addition, it can natively serve as the local backend for tools that developers and end users already use: any tool that can work with a local OpenAI-compatible provider can also work with PrivateGPT. It follows the Claude API as the reference for modern AI application APIs, with the goal of achieving comprehensive coverage within the scope appropriate for a local open-source layer, where some capabilities are still partially supported or under development.
In terms of usage, you first need to prepare a running OpenAI-compatible LLM server (Ollama is the simplest starting point), then install PrivateGPT, start the LLM server, run PrivateGPT, and then visit http://localhost:8080/ui,API located at http://localhost:8080 and follows the Anthropic API specification. The UI can be used to send messages, select models from /v1/models, upload documents, test retrieval with citations, enable tools for each chat, configure databases, MCP connectors, skills and custom tools, and inspect requests and responses via the API Debugger. Note that this UI is a demonstrator rather than the core product; developers should build their own applications on top of the API; however, it is polished enough to be used for demos, videos, internal pilots, and quick local use. For more installation options, Docker, and model configuration, see the full Quickstart guide.
In terms of use cases, PrivateGPT is suitable for developers who want to build private AI products and need a local AI application layer that does not depend on cloud APIs. It is complementary to local inference/serving projects such as Ollama, LM Studio, LocalAI, vLLM, and llama.cpp: the latter answer "how to run a model," while PrivateGPT answers "how to build useful AI applications on top of that model," and they can be used together—run the model with your preferred inference server, then point PrivateGPT at it. Unlike application-first products focused on chat and enterprise search such as Onyx and Open WebUI, PrivateGPT is API-first, providing a standardized local backend beneath these products rather than being the final product itself. It is maintained by the Zylon team and is also the foundation of Zylon, an enterprise-oriented local AI platform, on top of which Zylon adds capabilities such as integrated inference servers, concurrency and load balancing, Kubernetes deployment, a CLI, an API gateway, workspace applications for non-technical users, LDAP/Active Directory and RBAC, telemetry and observability, SIEM audit logs, SharePoint/Confluence/FTP/Samba connectors, air-gapped operation, and n8n Community Edition workflow automation.
In terms of history and limitations, PrivateGPT began in 2023 as a proof-of-concept script that could converse fully offline with documents without data leaving the local machine, went viral on GitHub and surpassed 50K stars; PrivateGPT 1.0 is a refactor of this concept, becoming a formal API layer for private AI applications. Its limitation is that it does not run models itself and must rely on an external OpenAI-compatible inference server; in the community edition, some Claude API compatibility capabilities are still partially supported or not yet supported; the built-in UI is positioned as a demo and testing tool and is not suitable to be directly used as a final product in production.