DocsGPT
DocsGPT is an open-source platform for building AI agents and assistants that answer from your documents, with source citations. Agents can search your knowledge, call tools and APIs, run workflows and schedules, and be reached from the web app, an API, widgets or chat integrations. You can run it on your own hardware with cloud or local models, or use DocsGPT CloudΒ .
A 20-second tour of DocsGPT: a question is answered with numbered citations and its source opens beside the answer; a knowledge graph maps the sources; an agent asks for approval before it acts; a workflow runs node by node; an agent builds an HTML report with a chart; and a wall of screens shows analytics, traces, guardrails, MCP tools, connectors and admin.
Get started
Build
Integrate
Deploy and operate
Features
- Agents and workflows: Classic and research agents (plus agentic ones through the API or an imported agent YAML file), a visual workflow builder, schedules for recurring and one-time runs, and guardrails that flag, redact or block.
- Knowledge: Upload PDF, Word, PowerPoint and Excel files (legacy formats included), OpenDocument, RTF, EPUB, Markdown, reStructuredText, HTML, CSV, JSON and text; images with OCR; and audio, which is transcribed. Add web pages, sitemaps and GitHub repositories, keep wikis the agent can edit, and tune chunking and retrieval per source, including hybrid search and GraphRAG.
- Connectors: Sync Google Drive, SharePoint and OneDrive, Confluence, GitHub, Amazon S3, Linear and Reddit into knowledge. One connection can both sync content and give agents that serviceβs tools.
- Grounded answers: Answers cite the sources they came from, and a strict prompt keeps the model to your documents.
- Tools: Built-in tools, any REST API through the API tool, MCP servers, artifacts and sandboxed code execution, and shell commands on a paired remote device, with per-action approval.
- Models: OpenAI, Anthropic, Google, Groq, OpenRouter, Novita and any OpenAI-compatible server such as Ollama or vLLM (cloud, local), plus per-user custom models and fallback models. Vectors go to FAISS, pgvector, Qdrant, Elasticsearch, Milvus or MongoDB Atlas.
- APIs and integrations: The agent API with streaming, an OpenAI-compatible
/v1API, webhooks, an MCP server, a REST API with personal access tokens, HTML and React chat and search widgets, a Chatwoot bridge, and community bots for Discord, Slack and Telegram. - Teams and administration: SSO with OIDC and SCIM provisioning, roles and teams, usage quotas, analytics and logs, and OpenTelemetry observability.
- Deployment: A one-command installer, Docker Compose, pip, Kubernetes and air-gapped installs.
DocsGPT is MIT-licensed and developed on GitHubΒ . Contributions are welcome; see the contributing guideΒ .