DocsGPT README

The project's README from github.com/arc53/DocsGPT. As one markdown file: README.md.

DocsGPT 🦖

Open-source AI agents grounded in your docs. Private, self-hosted, any model.

GitHub stars MIT license OpenSSF Best Practices OpenSSF Scorecard Discord Follow on X

🌐 Website • ⚡️ Quickstart • ☁️ Cloud • 📖 Docs • 💬 Discord • 🗞 Blog

English | Deutsch | Español | 日本語 | Русский | 简体中文 | 繁體中文

[!TIP] Self-host in one command. On macOS and Linux:

curl -fsSL https://docs.ac/install | bash

On Windows (PowerShell): irm https://docs.ac/install.ps1 | iex

DocsGPT overview: answers with citations, knowledge, agents, visual workflows, tools and connectors, observability

Supported by
Neon     Vercel OSS Program

Why DocsGPT

DocsGPT turns your documents, sites and connected apps into AI agents that answer with sources. Build agents and visual workflows, give them tools, and put them in your product through a widget, an OpenAI-compatible API or an MCP server. It runs entirely in your environment with the model of your choice, cloud or local, and everything, including SSO, teams and quotas, is MIT licensed.

Quickstart

The installer above checks for Docker, installs the docsgpt command and runs docsgpt up, which asks who should reach DocsGPT and which model to use. A local install opens at http://localhost:7091.

Prefer Docker Compose, pip, Kubernetes or an air-gapped install? See Choose a deployment. Just want to try it? Use DocsGPT Cloud.

Features

https://github.com/user-attachments/assets/d36bbd7d-c23c-4ab8-8777-b432632d6882

Creating an agent in DocsGPT with its knowledge, tools and prompt

Agents: knowledge, tools and a prompt, published in a click

The DocsGPT workflow builder with an AI agent node, a condition and two end nodes

Workflows: agents and logic on one canvas

Connecting a GitHub repository to DocsGPT and choosing a daily sync

Knowledge: connect a service and keep it in sync

The DocsGPT chat widget on a product support page answering from the handbook

Widget: your agent on any website

See the documentation for everything else.

Use it anywhere

Private by design

Everything runs inside your environment: the API, the worker, Postgres, Redis, your vector store and your files. Pick a cloud model provider or run models and embeddings locally, even air-gapped.

flowchart LR
    Users["Web app, widgets,<br/>API and MCP clients"] --> API
    subgraph Yours["Your environment"]
        API["DocsGPT API"] <--> Redis["Redis"]
        Redis <--> Worker["Worker<br/>ingestion and embeddings"]
        API --> Data[("Postgres, vector store<br/>and files")]
        Worker --> Data
        Local["Local models<br/>(optional)"]
    end
    API -.-> Local
    API -.-> Cloud["Cloud model provider<br/>(optional)"]

Read the architecture guide and the security checklist before exposing DocsGPT beyond your machine.

Self-host

After the one-command install, the docsgpt command manages the stack:

docsgpt status     # version, address and health
docsgpt logs       # follow the logs
docsgpt upgrade    # upgrade and restart on the new version
docsgpt backup     # back up the database and uploaded data
docsgpt down       # stop (data and settings stay)

See the CLI reference for every command. Other ways to run it: Docker Compose, pip, Kubernetes, air-gapped, or from a clone with the setup script. To work on DocsGPT itself, see the development environment guide.

For teams

Deploying DocsGPT for your company? Get a demo or email us.

Contributing

We welcome issues, questions and pull requests. Start with CONTRIBUTING.md, browse the roadmap and the changelog, and say hi on Discord. Please follow our Code of Conduct.

Tech stack and project structure
  • Backend: Python, Flask and flask-restx behind a Starlette ASGI app (uvicorn/gunicorn), Celery with RedBeat, Pydantic settings.
  • Data: PostgreSQL (SQLAlchemy, Alembic), Redis, and FAISS, pgvector, Elasticsearch, Qdrant, Milvus or MongoDB for vectors.
  • Frontend: React, Vite, Redux Toolkit, Tailwind CSS and React Flow.
  • Docs: Next.js with Fumadocs.

Project structure:

  • docsgpt/: the backend and the docsgpt command (API, agents, tools, retrieval, parsers, worker).
  • frontend/: the web UI.
  • extensions/: the Chatwoot bridge and the React widget (published to npm as docsgpt).
  • deployment/: Docker Compose files, Kubernetes manifests, the installer scripts and the sandbox image.
  • docs/: the documentation site at docs.docsgpt.cloud.
  • tests/ and scripts/: tests, and maintenance and migration scripts.

License

DocsGPT is MIT licensed.

DocsGPT (arc53/DocsGPT)

Searching Database…

What is this?DocsGPT is a private, self-hosted AI platform for building agents, assistants, and enterprise search tools, with a built-in Agent Builder, document analysis, deep research mode, and support for multiple LLM providers.
Is this a hosted service or something I run myself?It is a self-hosted application you deploy yourself (Flask backend, React frontend, Docker-based setup) rather than a SaaS product, built for private and secure operation with Kubernetes support for production.
How do I get it running?Clone the repository, then run the provided setup script (shell script for macOS/Linux, PowerShell script for Windows), which walks you through five options: public API, running locally, connecting to a local inference engine, using a cloud API provider, or building the Docker image yourself.
Do I need Docker before I start?Yes, Docker must be installed before running the setup script; the script then automatically configures your .env file and handles any needed downloads based on the option you pick.
Is this ready to drop into production as-is?The core platform is open source and self-hostable, but for live enterprise deployments the team explicitly offers personalized setup help, and major admin/security features like OIDC/SSO, RBAC, and team-scoped sharing were only completed in mid-2026.
Does it run on Windows too, not just Linux/macOS?Yes, there's a dedicated PowerShell setup script for Windows alongside the shell script for macOS and Linux, and it also supports Kubernetes for larger deployments.
Does my data stay private if I use this?Yes, DocsGPT is built to run privately and securely, and you can pair it with local models like Ollama or llama.cpp so documents never have to leave your own infrastructure.
Which LLM providers can I plug into DocsGPT?It works with major cloud LLMs (OpenAI, Google, Anthropic) as well as local inference engines like Ollama and llama.cpp, including a Bring Your Own Model option.
What kinds of files and sources can it ingest?It reads PDF, DOCX, CSV, XLSX, EPUB, MD, RST, HTML, MDX, JSON, PPTX, images, and audio files, plus content pulled from URLs, sitemaps, Reddit, GitHub, and web crawlers.
What integrations come built in?DocsGPT ships with ready-made HTML/React chat widgets, search tools, and Discord/Telegram bots, along with connectors for SharePoint and Confluence.
What does the Agent Builder actually let me do?It's a visual workflow builder with conditional nodes for chaining tools, data sources, and LLM calls into custom agents without writing backend code.
Creator
arc53
Size
163.3 MB
Stars
18.4K
Age
3y
Commits · 90 Days