SuperAPI AI Directory

private-gpt

PrivateGPT is an open-source API layer developed by the Zylon team for building private AI applications on local models. It does not itself run models; instead, it connects via OPENAI_API_BASE to any OpenAI-compatible inference server (which must implement /v1/chat/completions and /v1/models). It provides a standard messages API that follows the Claude API specification (with support for streaming, async, and token counting), file and artifact ingestion, retrieval with citations and agentic RAG, built-in tools (web search, web scraping, code execution), custom tools and MCP connectors, as well as structured access to databases and CSV, embeddings, and orchestration capabilities. The project includes a /ui workbench interface for testing and demos, but the API is the core product. After PrivateGPT went viral in 2023 as an offline document chat proof of concept and surpassed 50,000 GitHub stars, it was refactored in version 1.0 into a formal API layer for private AI applications. It is suitable for developers who want to build production-grade AI applications with local models without relying on cloud APIs, and can be used with inference servers such as Ollama.

Open website

About this tool

PrivateGPT is an open-source API layer whose goal is to turn local models into production-grade AI applications. Running local models is only the first step; building useful AI applications also requires higher-level building blocks, and PrivateGPT provides this layer in the form of an open-source API, following the Claude API model so that developers do not need to rebuild backend infrastructure components from scratch or rely on cloud APIs. According to the materials, PrivateGPT has been validated in production and powers Zylon—Zylon is an on-premises AI platform for the aforementioned enterprises.

Purpose and Positioning PrivateGPT itself does not run models; instead, it connects via OPENAI_API_BASE to any OpenAI-compatible inference server; as long as that server implements /v1/chat/completions and /v1/models, it will work.

Main Capabilities

  • Standard messages API (with support for streaming, async, and token counting)
  • File and artifact ingestion
  • Retrieval with citations and agentic RAG
  • Built-in tools (corresponding to the Claude API): web search, web scraping, code execution
  • Custom tools and MCP connectors
  • Structured access to databases and CSV
  • Embeddings and orchestration

How to Use The materials provide prerequisites and a three-step process: a running, OpenAI-compatible LLM server is required (Ollama is the simplest starting point).

  1. Install PrivateGPT
  2. Start the LLM server
  3. Run PrivateGPT Then visit http://localhost:8080/ui,API located at http://localhost:8080,并遵循 Anthropic API specification. Regarding the specific contents of installation commands and model configuration, the official documentation points to the complete Quickstart guide; the material does not provide the specific installation command text.

Purpose of the built-in UI The PrivateGPT comes with a workbench UI (located at /ui), used for testing and demonstration. Its purposes include: sending messages; selecting models from /v1/models; uploading documents; testing retrieval with citations; enabling tools per conversation; configuring databases, MCP connectors, skills, and custom tools; viewing requests and responses through the API Debugger. The material clearly states that the UI is a demonstrator, not the core product, and developers should build their own applications on top of the API; however, the UI has been intentionally polished enough to be used for demonstrations, videos, internal pilots, and quick local use.

Compatibility and integration Any tool that works with a local OpenAI-compatible provider can also work with PrivateGPT (the material states that the list is not exhaustive). PrivateGPT can natively serve as the local backend for tools that developers and end users already use.

Claude API compatibility PrivateGPT uses the Claude API as the reference for modern AI application APIs, with the goal of achieving full coverage to the extent that it is meaningful for a local open-source layer. The material marks status with three categories: ✅ supported, ⚙️ partially supported/in progress, ❌ not supported, and especially welcomes contributions in the ⚙️ areas.

Background PrivateGPT began in 2023 as a proof of concept: a script that lets you chat with documents, completely offline, with data never leaving your machine. It went viral on GitHub, with more than 50,000 stars, becoming one of the most watched AI repositories of that year. That early version showed that there is strong demand for usable private local AI that does not depend on the cloud. PrivateGPT 1.0 is the evolution of that idea, rebuilt from scratch as a formal API layer for private AI applications.

Differences from other solutions

  • Compared with Ollama, LM Studio, LocalAI, vLLM, llama.cpp: these projects let models run and serve locally, answering "how to run a model"; PrivateGPT answers "how to build useful AI applications on top of that model." The material suggests using the two together: run the model with your preferred inference server, then point PrivateGPT at it.
  • Compared with Onyx, Open WebUI: Both have value, but they are application-first experiences focused on chat and enterprise search; PrivateGPT is API-first, providing a standardized local backend beneath these products, rather than being the end product itself.
  • Comparison with Zylon: PrivateGPT is maintained by the Zylon team. PrivateGPT is the open-source application API layer: messages, ingestion, tools, retrieval, citations, database access, table analysis, MCP, skills, and custom tools. Zylon is end-to-end AI infrastructure that orchestrates hardware and software layers into a complete production platform for regulated organizations; on top of PrivateGPT, Zylon adds: an integrated inference server based on NVIDIA Triton + vLLM to run open-weight models; concurrency, batching, and load balancing capabilities; a self-contained, supported Kubernetes deployment containing more than 20 production services; a CLI for installation, updates, model selection, and platform configuration; an API gateway for governance and the developer platform; a workspace application for non-technical end users; LDAP/Active Directory integration and RBAC user management; telemetry, observability, and operational monitoring; SIEM audit logs for compliance; SharePoint, Confluence, FTP, and Samba connectors; air-gapped operation without external cloud dependencies; integrated n8n Community Edition for workflow automation. The selection guidance given by the material is: if you need an open-source local AI application layer and developer API, use PrivateGPT; if you need a complete enterprise AI infrastructure around it (deployment, governance, operations, user management, integration, auditability, and support), use Zylon.

Community and Contributions The material lists the following channels: Discord (questions, showcases, and release discussions), Documentation (complete reference, guides, and API documentation), Issues (bug reports and feature requests), Community Forks (interesting forks and derivative projects in the community). Pull Requests are welcome; if a PR does not fit the upstream roadmap, the fork can be added to the Community Forks page. There is also a security policy entry, but the material does not elaborate on its contents.

Limitations and Information Not Yet Provided PrivateGPT does not run models itself and must relyon an external OpenAI-compatible inference server. The UI is a demonstrator rather than the core product. The material does not provide specific installation command text, pricing or fee information, performance data, or platform support scope; these are not yet provided.