← Back to Leaderboard
Darc53

arc53/DocsGPT

Self-hosted RAG workspace for source-cited knowledge agents and workflows

Engineering Health (Methodology)
A+ · 97/100
Maintenance Activity
● Updated today
Latest Release
1.2.0
Commercial License Check
MIT · Commercial Friendly

Automated SPDX check for reference only — not legal advice. Disclaimer

Maintenance35/35
Fork Adoption22/25
Release Cadence20/20
License Clarity20/20
DockerSelf-HostedMCPCLIAPI
Total Stars
★ 18,395
24h Growth
+3
7d Growth
+17
Forks
2,283

GitHub Star History

Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.

arc53/DocsGPT Star History (2023-02-02 - 2026-12-04) ALL-TIME STAR HISTORY (2023-02 – 2026-12) +18.4k in 1401d · avg +13/day 19.4k 9.7k 0 2023-02-02: ★ 12023-04-29: ★ 4,6512023-07-29: ★ 5,8872023-10-28: ★ 11,9992024-01-27: ★ 13,1212024-04-27: ★ 13,6022024-07-27: ★ 13,9502024-10-26: ★ 14,4502025-01-25: ★ 14,8512025-04-26: ★ 15,1992025-07-26: ★ 16,4422025-10-25: ★ 16,9642026-01-24: ★ 17,3922026-04-25: ★ 17,6462026-07-25: ★ 17,9292026-12-04: ★ 18,395 ★ 18.4k 2023-02 2025-01 2026-12

Evidence-Backed Technical Brief

AI Deep Review

Architecture & Core Mechanics

DocsGPT is a self-hosted web application with a Python 3.12+ backend packaged via Hatchling. The backend lives in docsgpt/, with the UI in frontend/ and deployment assets in deployment/. The API serves the web UI, widgets, and API and MCP clients; a separate worker handles ingestion and embeddings. Redis connects the API and worker, and both use a data layer that includes PostgreSQL, a vector store, and file storage. This separates ingestion from request handling without eliminating contention on shared infrastructure.

The agent is the main configuration boundary: it bundles a prompt, knowledge, tools, and a model. Visual workflows compose agents with branching, state, and sandboxed code. Extension happens at several distinct boundaries: /v1 provides an OpenAI-compatible entry point, the Agent API exposes agents to applications, and the DocsGPT MCP server exposes agent knowledge to MCP clients. Agents can also consume external MCP tools; that is a separate integration with its own permissions and outbound traffic.

Key Capabilities & Differentiators

Knowledge ingestion covers PDFs, Office files, web pages, and audio, with synchronization from sources including Google Drive, SharePoint, Confluence, GitHub, and S3. DocsGPT supports GraphRAG and answers with source citations. Deep research handles multi-step questions, while the visual builder is better suited to expressing explicit branches and state. Agents can run interactively, on a schedule, or from a webhook, and can use web search, REST APIs, MCP tools, and sandboxed code.

Model choices include OpenAI, Anthropic, Google, Groq, and OpenRouter, as well as local serving through Ollama, vLLM, or other OpenAI-compatible servers. Guardrails can flag, redact, or block content involving PII, secrets, prompt injection, and ungrounded answers. Team controls include OIDC, SCIM provisioning, roles and sharing for agents, knowledge, and tools, an audit log, and per-user or per-team usage quotas. OpenTelemetry provides an integration point for observability. Validate citation quality and guardrail behavior against your corpus before relying on either.

Trade-offs & Limitations

The key comparison with Dify Cloud is who operates the platform and controls the data path. DocsGPT gives your team control over storage, identity, and model routing, but also makes it responsible for database and worker operations, connector credentials, upgrades, and recovery. The MIT license includes SSO, teams, and quotas; third-party models, services, and connectors still have their own terms. If your team mainly wants to publish workflows without running the platform, evaluate a managed service before committing to self-hosting.

Self-hosting the application does not keep every payload in your environment. Hosted models may receive prompts and retrieved passages, and external REST or MCP tools can introduce separate egress paths. Local inference removes the hosted-provider dependency for that path, but shifts capacity planning and model operations to your team. For a pilot, test citation correctness and access isolation with realistic documents, measure ingestion alongside interactive traffic, and give write-capable tools narrowly scoped credentials rather than relying on guardrails as an authorization boundary.

Hardware & Deployment Guide

The CLI quickstart checks for Docker and runs docsgpt up, which asks who should be able to reach the instance and which model to use. The local UI opens at http://localhost:7091. Docker Compose, Kubernetes, pip, and air-gapped installation are also available; the backend package requires Python 3.12 or newer. Plan persistent storage for PostgreSQL, files, and vector data, capacity for Redis and the worker, and a restore test. docsgpt backup covers the database and uploaded data; verify how your chosen vector store is recovered or rebuilt rather than assuming it is part of that backup.

Hosted inference avoids running model servers in your stack. Local generation and embeddings add compute and memory requirements that depend on the selected models and workloads. For an air-gapped rollout, stage models and installation artifacts ahead of time and validate that the chosen connectors and tools can operate without internet access. Release 1.0.0 split settings into domain modules, 1.1.0 retained the Responses prompt cache across turns, and 1.2.0 added a Twelve Data MCP preset and changed GitHub ingestion to use a single tarball request.

Ingestion: A separate worker handles ingestion and embeddings, with Redis linking it to the API and PostgreSQL, vector storage, and files in the data layer.
Retrieval: Source-cited answers and GraphRAG complement document ingestion and synchronization from systems such as SharePoint, Confluence, GitHub, and S3.
Workflow execution: The visual builder combines agents, conditions, state, and sandboxed code; schedules and webhooks provide non-interactive triggers.
Integration: OpenAI-compatible /v1, the Agent API, embeddable widgets, and an MCP server expose different paths into the platform.
Governance: OIDC and SCIM provisioning, teams and roles, audit logs, per-user and per-team quotas, and OpenTelemetry integration.
Self-host operations: The Docker-oriented docsgpt CLI provides status, logs, upgrade, and backup commands; an air-gapped deployment path is available.
Best For

Teams building internal knowledge assistants or embedded, source-cited search that need control over model selection, document access, and deployment, and can operate a multi-service stack.

Skip If

You want a fully managed workflow platform or only need a stateless model API. The ingestion, storage, identity, and recovery responsibilities are hard to justify for those use cases.

Reviewed on 2026-12-04 · Grounded in GitHub README, root file tree & releasesMethodology

Quick Start & Installation

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

Comparison vs. Top Agents & Frameworks Alternatives

Full comparison →
RepositoryStars7d TrendStackLicenseCore Positioning
DocsGPT ★18.4k+17PythonMITSelf-hosted RAG workspace for source-cited knowledge agents and workflows
langflow157.1k+100PythonMITVisual Python workflow builder for deploying AI agents as APIs and MCP tools
MetaGPT71.6k+94PythonMITA role-based Python agent framework that turns software briefs into project arti
agno43.4k+66PythonApache-2.0Python framework and runtime for durable agent services over REST and MCP

AI Context Briefing (for Claude / Cursor / Windsurf)

Standardized architecture summary & quickstart commands ready to paste into coding agents.

Raw .md ↗
curl -sL https://repoforai.com/repo/arc53/DocsGPT.md

Embed Star History Chart & Badges in README.md

Full-history Star History SVGs and velocity cards on GitHub Camo: drop-in replacement for OSSInsight and Star History widgets.

arc53/DocsGPT Star History on RepoForAI

Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).

Frequently Asked Questions about DocsGPT

When should I use the OpenAI-compatible endpoint, the Agent API, or MCP?

Use /v1 when reusing an OpenAI SDK, the Agent API or webhooks when an application needs to invoke DocsGPT agents, and the DocsGPT MCP server when an MCP client needs to search an agent’s knowledge. Connecting an external MCP server as an agent tool is a separate integration in the opposite direction. Test the specific SDK methods or MCP operations you need before committing.

Do I need a GPU, and what should I size first?

There is no fixed VRAM requirement. With a hosted inference provider, size the DocsGPT API, ingestion worker, PostgreSQL, Redis, vector store, and file storage independently of model serving. If you serve generation or embeddings locally, budget compute and memory for the chosen models, context lengths, and concurrency. Load-test bulk ingestion alongside interactive requests to see where contention occurs.

Can we use DocsGPT commercially and keep it on our own infrastructure?

Yes. The MIT license permits commercial use and self-hosting, and DocsGPT’s SSO, team controls, and quotas are included. Retain the required copyright and license notices when redistributing the software. Review model, provider, and connector terms separately, and verify what prompts, retrieved passages, and tool payloads may leave your environment.

How should we choose between DocsGPT and Dify Cloud?

Favor DocsGPT when document retrieval with citations is central and you want to control infrastructure, model routing, and knowledge access. Evaluate Dify Cloud if a managed service is more important than operating those components yourself. Run the same representative corpus and workflow through both options, checking citation quality, access boundaries, connector behavior, and what must move to reproduce the deployment.

Upstream README & Documentation

This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.

Maintaining arc53/DocsGPT? Pin to Homepage + competitor /alternatives pages with a custom Cloud/Demo CTA.Feature arc53/DocsGPT on Homepage & Alternatives ($19)
WEEKLY BREAKOUT DIGEST

Top 10 Breakout Open-Source AI Repos, Every Thursday

Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.

Zero spam · 1-click unsubscribe · Privacy Policy

Saved in your browser · Export Markdown RFC tables or jump into /vs compare