Skip to content

DocsGPT

Self-hosted AI agents that answer from your documents and cite their sources

Permissive (OSI) · MIT AI-native

Listed by , founder & editor

85

Health

Thriving

Overview

Stars

18,379

Last commit

today

Nov 2026

Repository age

3 years

since Feb 2023

Latest version

1.1.0

Oct 2026

Contributors

–

6 active in 90 days

Releases

13

last 12 months

Language

Python

DocsGPT turns documents, websites and connected apps into AI agents that answer with citations. You can build agents with their own prompt, knowledge, tools and model. A drag-and-drop builder chains agents, conditions and sandboxed code into workflows.

Knowledge can come from PDFs, Office files, web pages and audio, and stays in sync with Google Drive, SharePoint, Confluence, GitHub and S3. It works with OpenAI, Anthropic, Google, Groq and OpenRouter, or local models through Ollama and vLLM. You can publish an agent as a chat widget, through an OpenAI-compatible API, as an MCP server, or as a bot for Discord, Slack and Telegram.

The stack is Python with an API, a worker, Postgres, Redis and a vector store, all running in your environment, even air-gapped. Everything, including SSO, teams and quotas, is MIT licensed. A hosted DocsGPT Cloud is also available.

Who it's for

Teams building a support or internal Q&A assistant over their docs

Answers cite source documents, and a widget or API puts the agent into your product.

Skip if: You only want a simple desktop chat with a few files.

Companies with data-privacy rules

The whole stack and local models can run inside your own or an air-gapped environment.

Skip if: You do not want to operate Postgres, Redis and workers yourself.

Developers wiring agents into other tools

It exposes an OpenAI-compatible API, an MCP server and webhooks.

Skip if: You need a no-code product with vendor support.

The problem it solves

Answers about your company documents are scattered across drives, wikis and sites. Generic chatbots do not know them and hosted tools send them to a third party. DocsGPT indexes your sources and answers with citations on infrastructure you control.

Strengths

  • Every answer cites the documents it came from
  • Works with cloud models or local ones through Ollama and vLLM
  • Syncs knowledge from Google Drive, SharePoint, Confluence, GitHub and S3
  • OpenAI-compatible API, MCP server, widgets and chat bots for delivery
  • SSO, teams and quotas are included under the MIT license

Trade-offs

  • Full stack needs API, worker, Postgres, Redis and a vector store
  • Large feature surface takes time to learn
  • Local models need your own hardware

Self-host DocsGPT

Self-hostable
Yes

Frequently asked questions

Is DocsGPT free?

The code is MIT licensed, including SSO, teams and quotas. DocsGPT Cloud is a separate hosted option.

How do I self-host it?

On macOS or Linux, run the one-line installer, which checks for Docker and starts DocsGPT. Windows has a PowerShell installer. Docker Compose, pip and Kubernetes are also supported.

Can it run without internet?

Yes. You can run models and embeddings locally, including in an air-gapped install.

Which models can I use?

OpenAI, Anthropic, Google, Groq, OpenRouter, and local models via Ollama, vLLM or other OpenAI-compatible servers.

Similar tools in RAG and semantic search

openviking

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

Swirl Search

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

Quivr

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

Vane

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

weknora

RAG and semantic search

Self-hosted knowledge framework combining RAG search, agents and a wiki over your

38k 5.3k today Thriving MIT

SurfSense

RAG and semantic search

Private NotebookLM-style AI agent that researches and edits your documents locally

17k 1.6k today Thriving Apache-2.0

Replaces NotebookLM