arc53/DocsGPT

Private AI platform for agents, assistants and enterprise search. Built-in Agent Builder, Deep research, Document analysis, Multi-model support, and API connectivity for agents.

DocsGPT – AI‑powered agents that answer from your documents

What it is

  • An open‑source platform that lets you turn any collection of files, web pages or connected apps (Google Drive, Confluence, GitHub, etc.) into a private AI agent. The agent can be queried via a web UI, a chat widget, an OpenAI‑compatible API, or integrations such as Discord, Slack and Telegram.
  • All components run in your own environment – Docker, Kubernetes, pip install, or even an air‑gapped machine – so you keep the data and the model under your control.

Core capabilities

Feature What it does
Agents & research Define an agent with its own prompt, knowledge base, tools and model. A research mode lets the agent perform multi‑step reasoning and cite sources.
Visual workflows Drag‑and‑drop builder (React Flow) to chain agents, add conditional logic, maintain state, and run sandboxed code.
Knowledge ingestion Connectors for PDFs, Office files, audio, web pages and many SaaS sources (Google Drive, SharePoint, Confluence, GitHub, S3, …). Supports continuous sync and a GraphRAG pipeline.
Cited answers Every response includes links to the exact document fragments that were used.
Tool integration Built‑in web‑search, arbitrary REST‑API calls, MCP‑server access, sandboxed code execution, and remote shell on paired devices.
Model agnostic Works with any OpenAI‑compatible endpoint: OpenAI, Anthropic, Google, Groq, OpenRouter, or local models via Ollama, vLLM, etc.
Guardrails Automatic detection and redaction of PII, secrets, prompt‑injection attempts, and ungrounded answers.
Scheduling & webhooks Run agents on a timer or trigger them from external systems via HTTP.
Team features SSO (OIDC/SCIM), role‑based access control, usage quotas, audit logs, analytics and OpenTelemetry support.

How you run it

  • One‑command installer (macOS/Linux): curl -fsSL https://docs.ac/install | bash – pulls Docker, installs the docsgpt CLI and starts the stack on http://localhost:7091.
  • Alternative deployments: Docker Compose, pip install, Kubernetes manifests, or manual source checkout.
  • CLI commands (docsgpt status, logs, upgrade, backup, down) let you manage the service.

How you can use it

  • Embed a searchable support bot on any website via a script tag or the npm docsgpt React widget.
  • Call the OpenAI‑compatible endpoint (/v1) from any existing codebase, or use the dedicated Agent API and webhook system.
  • Connect to MCP clients (Claude, Cursor, etc.) so they can search your private knowledge.
  • Deploy bots to chat platforms (Discord, Slack, Telegram) using the community extensions.

Tech stack

  • Backend: Python, Flask + Starlette (uvicorn/gunicorn), Celery, Pydantic, PostgreSQL, Redis, vector stores (FAISS, pgvector, Elasticsearch, Qdrant, Milvus, MongoDB).
  • Frontend: React (Vite, Redux Toolkit, Tailwind CSS) with a visual workflow editor built on React Flow.
  • Docs site: Next.js + Nextra.

License

  • MIT License – you can freely use, modify and commercialize the software.

Where to learn more


DocsGPT is a genuine, self‑hostable AI‑agent framework focused on grounding LLM answers in your own documents, making it a solid fit for enterprises, developers, and anyone who needs private, source‑cited AI assistance.

Related

  • Project
  • Project
  • Project
  • Project
  • Project