
DocsGPT
Self-hosted platform for AI agents that answer from your own documents, with any model.
- Stars
- 18.4k
- Forks
- 2.2k
- Licence
- MIT
- Language
- Python
- Last update
- 4 days ago
- Type
- App
What it is
DocsGPT turns your documents, websites and connected apps into AI agents that answer questions and cite their sources. You can build agents and visual workflows, give them tools, and embed them in a website, an OpenAI-compatible API, or an MCP server. The README says it can run entirely in your own environment with cloud or local models.
- Build an agent grounded in a company handbook and embed its chat widget on a support page
- Connect a GitHub repository or Google Drive so the agent's knowledge stays in sync
- Expose an agent through the OpenAI-compatible API so existing SDK code can call it
- Run a scheduled agent or trigger one through a webhook
- Let an MCP client such as Claude or Cursor search an agent's knowledge
Great for
- Teams that want an internal assistant over their own documents and wikis
- Developers who want to embed a documentation chatbot on a product site
- People who need to keep data inside their own infrastructure
- Users who want to run local models through Ollama or vLLM
Not ideal for
- People who only want a quick hosted chatbot and no setup, since the cloud option is a separate service and the self-hosted route needs Docker and configuration
- Non-technical users without someone to run the install and manage upgrades, backups and security settings
- Teams that need guarantees about model quality, as the README does not make claims about answer accuracy beyond citing sources
How to get it
- 1
See the README
You'll need: Docker
Install on macOS or Linux (one command, from README)
curl -fsSL https://docs.ac/install | bashInstall on Windows PowerShell (from README)
irm https://docs.ac/install.ps1 | iex - 2
Run it
- Run the installer command for your operating system
- Answer the prompts from `docsgpt up` about who should reach DocsGPT and which model to use
- Open http://localhost:7091 in your browser for a local install
- Check the stack with `docsgpt status`
- 3
Get the most out of it
- Connect external sources such as Google Drive, GitHub or Confluence so agents stay current
- Use visual workflows to chain agents with conditions
- Embed an agent with the chat widget or React package on your own site
- Use the OpenAI-compatible API or Agent API to call agents from your own code
- Schedule `docsgpt backup` to protect the database and uploaded data
Downloads
Strengths
- Self-hosting and the MIT license let you keep data in your environment
- Supports many model providers, including local models
- Answers include citations to the source documents
Trade-offs
- Self-hosting involves several services (API, worker, Postgres, Redis, vector store), so it takes real setup effort
- The README is truncated here, so detailed requirements and limits are not fully visible
- Features like guardrails and deep research depend on configuration the README does not fully detail
How it compares
| Project | Stars | Type | Level | Updated | Best for |
|---|---|---|---|---|---|
| DocsGPT (this) | 18.4k | App | intermediate | 4 days ago | Teams that want an internal assistant over their own documents and wikis |
| anything-llm | 67.8k | App | beginner | 6 days ago | People who want a private ChatGPT-style assistant over their own PDFs and text files |
| Prompt-Engineering-Guide | 79.8k | Learning resource | beginner | 8 months ago | People who are new to prompting and want structured lessons with examples |
| Made-With-ML | 49.9k | Learning resource | intermediate | 8 months ago | Software engineers who want to learn how ML models get deployed and maintained |
| FinGPT | 21.5k | AI model / agent | advanced | 12 days ago | Developers who want to experiment with finance-tuned LLMs for sentiment analysis |
| Vane | 38k | App | intermediate | 2 months ago | People who want AI-written answers with links to sources |
Stats synced from GitHub. The assessment above was drafted with AI from the project's README on 2026-10-29 and may miss recent changes — check the README before relying on a command. MIT licence: free to use, modify and distribute, including commercially, as long as you keep the copyright notice.