PrivateGPT
PrivateGPT is an Apache-2.0 API layer that turns local models into private AI applications: it speaks a Claude-style messages API and adds file ingestion, retrieval with citations and agentic RAG, built-in tools (web search, web fetch, code execution), custom tools, MCP connectors and structured access such as text-to-SQL. It does not run models itself; it connects to any OpenAI-compatible inference server (Ollama, llama.cpp, vLLM and others) and ships a workbench UI at /ui for testing.
Updated
✨ Try AgentScout's free AI image generator →Good for: writing code, building AI agents, research, web search for agents, data analysis, working with documents, connecting tools with MCP, working with databases
Use cases
About PrivateGPT
PrivateGPT is listed in our frameworks category and is aimed at builders. PrivateGPT is an Apache-2.0 API layer that turns local models into private AI applications: it speaks a Claude-style messages API and adds file ingestion, retrieval with citations and agentic RAG, built-in tools (web search, web fetch, code execution), custom tools, MCP connectors and structured access such as text-to-SQL. It does not run models itself; it connects to any OpenAI-compatible inference server (Ollama, llama.cpp, vLLM and others) and ships a workbench UI at /ui for testing. Pricing, as the maker states it: Free and open source (Apache-2.0). The same team also offers the commercial on-premise Zylon platform (no price listed in this update).. Maturity: Mature. We last checked the official link on 2026-12-01.
What is PrivateGPT?
PrivateGPT is an open-source API layer that turns local models into AI applications. It follows the Claude API model and provides the backend building blocks (messages, ingestion, retrieval and tools) so you can build private AI products without depending on cloud APIs.
It does not run models itself: it connects to any OpenAI-compatible inference server. It ships a workbench UI at /ui for testing, and it powers Zylon, an on-premise AI platform for enterprises.
Sources: the official README and our directory listing, checked 2026-10-18. Official site: zylon.ai/private-gpt.
Who is PrivateGPT for?
Developers and companies building private or on-premise AI apps on local models who need RAG, tools and ingestion without rebuilding a backend.
PrivateGPT at a glance
- Open source: Yes (Apache License 2.0)
- GitHub: zylon-ai/private-gpt · 57,669 stars (as of Dec 2, 2026)
Key features
- Messages API with streaming, async and token counting
- File and artifact ingestion
- Retrieval with citations and agentic RAG
- Built-in tools (web search, web fetch, code execution), custom tools and MCP connectors
- Structured access to databases and CSVs
- Works with any OpenAI-compatible inference server
PrivateGPT FAQ
What is PrivateGPT?
PrivateGPT is an open-source API layer that turns local models into AI applications. It follows the Claude API model and provides the backend building blocks (messages, ingestion, retrieval and tools) so you can build private AI products without depending on cloud APIs.
Who is PrivateGPT for?
Developers and companies building private or on-premise AI apps on local models who need RAG, tools and ingestion without rebuilding a backend.
Is PrivateGPT free?
PrivateGPT's pricing, as the maker states it: Free and open source (Apache-2.0). The same team also offers the commercial on-premise Zylon platform (no price listed in this update).. Check the official site for current plans.
Is PrivateGPT open source?
Yes. PrivateGPT is released under the Apache License 2.0, according to its GitHub repository.
What are alternatives to PrivateGPT?
Similar tools include smolagents, DeepSeek Harness, TradingAgents, IBM CUGA, Dsh Our Free Model and Agent Zero.
PrivateGPT ratings and reviews
Be the first to rate PrivateGPT: tap 1 to 5 stars below. A written review is optional.
PrivateGPT alternatives
Compare 10 PrivateGPT alternatives side by side →
Other frameworks tools in our directory. See all frameworks tools →
smolagents
smolagents is Hugging Face's Apache-2.0 Python library for agents that think in code: its CodeAgent writes each action as a Python snippet rather than a JSON tool call, and the core agent logic fits in about 1,000 lines. Generated code can run in sandboxes such as E2B, Modal, Blaxel or Docker, tools and agents can be shared to and pulled from the Hugging Face Hub, and it works with any model, from local transformers or Ollama to OpenAI, Anthropic and other providers via LiteLLM.
DeepSeek Harness
DeepSeek's open-source agent harness with a local web UI, built so that every tool, model and scheduled task is a swappable plugin; still a developer preview.
TradingAgents
TradingAgents is Tauric Research's Apache-2.0 multi-agent framework for market research. The repository homepage, tauric.ai, describes market and filing data, agentic research, and one API plus an MCP server for Claude, ChatGPT, Claude Code, Codex and other assistants. GitHub listed 123,235 stars on 20 Nov 2026. This listing does not quote a hosted API price; none was published as a rate card on the homepage that day.
IBM CUGA
IBM Research's configurable generalist agent (CUGA) for enterprise web and API tasks, with a live demo on Hugging Face Spaces.
Dsh Our Free Model
dsh , 、 API Key, DeepSeek V4.1 Flash、Kimi K3 —— , 。 All you do is install this plugin in dsh: no login, no sign-up, no API key — the frontier models are just there, DeepSeek V4.1 Flash and Kimi K3.
Agent Zero
Agent Zero is an open-source AI agent that gets its own Linux computer: inside a Docker sandbox it uses a terminal, a browser and desktop apps to research, write and run code, and create and edit documents, building its own tools and correcting itself as it goes. You watch and can step in through a web UI, connect local folders when needed, and choose the models it uses. It is actively developed, with v2.16 released in November 2026.