← Back to Leaderboard
DHKUDS

HKUDS/DeepTutor

A self-hosted agent workspace for source-grounded tutoring, reading, and practice

Open-Source AI AppQuickstart ↓
Engineering Health (Methodology)
A+ · 98/100
Maintenance Activity
● Updated today
Latest Release
v1.7.5
Commercial License Check
Apache-2.0 · Commercial Friendly

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

Maintenance35/35
Fork Adoption23/25
Release Cadence20/20
License Clarity20/20
DockerSelf-HostedMCP
Total Stars
★ 65,487
24h Growth
+152
7d Growth
+1,631
Forks
7,876

GitHub Star History

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

HKUDS/DeepTutor Star History (2025-12-28 - 2026-12-04) ALL-TIME STAR HISTORY (2025-12 – 2026-12) +65.5k in 341d · avg +192/day 69.2k 34.6k 0 2025-12-28: ★ 272026-01-24: ★ 9,2792026-02-14: ★ 9,8912026-03-07: ★ 10,2062026-03-28: ★ 10,5282026-04-18: ★ 19,2202026-05-09: ★ 23,0952026-05-30: ★ 23,8272026-06-20: ★ 24,3012026-07-11: ★ 24,9672026-08-01: ★ 31,2992026-08-22: ★ 36,6712026-09-12: ★ 39,0172026-10-03: ★ 40,3982026-10-24: ★ 42,3232026-11-14: ★ 59,1652026-12-04: ★ 65,487 ★ 65.5k 2025-12 2026-06 2026-12

Evidence-Backed Technical Brief

AI Deep Review

Architecture & Core Mechanics

DeepTutor is a Python-based tutoring application with a shared agent runtime. Chat is the main entry point: within a thread, the tutor can ask clarifying questions, retrieve from selected libraries, read attachments, call tools or subagents, and write notebook records. Quiz, Research, Solve, Visualize, Reading, and Mastery Path share session context but retain distinct workflows. Materials and progress are organized by workspace, while Partners and personalization are account-scoped.

The root tree separates deeptutor/, deeptutor_cli/, and deeptutor_web/. The package uses setuptools, with dependencies including PyYAML, Jinja2, openai, tiktoken, aiohttp, and httpx. Personas, skills, MCP services, and CLI apps extend the shared runtime. Evaluate those integrations separately from core tutoring: their permissions and data paths depend on the tools you enable.

Key Capabilities & Differentiators

DeepTutor's main strength is connecting source-based study with what happens after the chat. It supports versioned libraries built with LlamaIndex, PageIndex, GraphRAG, or LightRAG, plus external knowledge sources. Reading workflows cover documents, video, and audio with source-linked citations. Books, Practice, Mastery Path, and the learning notebook let users revisit material without having to reconstruct their study history from chat threads.

Chat offers toggleable tools such as web, paper, and Zotero search, plus GeoGebra analysis. Image and video generation require separately configured generation models. The app can consult Claude Code, Codex, or Grok CLI, import previous conversations, or use persistent Partners with their own memory, resources, and messaging channels. Memory Graph exposes editable L1 traces, L2 facts, and L3 synthesis with evidence links, so users can check what personalization is based on.

Trade-offs & Limitations

Compared with a general-purpose self-hosted chat frontend, DeepTutor is a better fit when users need to revisit sources, track mastery, and turn reading into practice. For occasional model chat or PDF Q&A, a simpler frontend avoids maintaining learning workflows and choosing among retrieval backends. Pilot with your own PDFs and course material, checking citation quality and reindexing behavior before committing to a backend.

Remote inference reduces local compute requirements, but introduces provider costs and data-handling constraints. Local inference shifts sizing and maintenance to your team; model choice and concurrency drive compute needs, while the library adds indexing and storage work. Self-hosting the app does not keep all traffic local if web search, external agents, or hosted models remain enabled. Review those data paths and tool permissions before connecting sensitive materials.

Hardware & Deployment Guide

For a local trial, ghcr.io/hkuds/deeptutor:latest serves the web app on 127.0.0.1:3782 and persists settings and local data in a named volume mounted at /app/data. For Compose, use scripts/docker_compose.py to render port mappings from system.json. Configure model providers in Web Settings or data/user/settings/model_catalog.json. When Ollama, LM Studio, or vLLM runs on the Docker host, use a host-reachable endpoint rather than container localhost; the Compose example uses host.docker.internal.

The full PyPI install, deeptutor[full], includes Web and CLI and requires Python 3.11–3.14 and Node.js 20.9+; bare deeptutor installs core chat and the SDK. macOS and Windows desktop previews bundle both runtimes. v1.7.0 introduced modular installation and resumable embedding checkpoints. v1.7.4 replaced the desktop runtime signing key after release credentials were exposed in GitHub Actions artifacts; desktop users on older builds should install the updated release.

Session runtime: Chat, Solve, Quiz, Research, Visualize, Reading, and Mastery Path share context while keeping distinct workflows.
Retrieval: Versioned libraries can use LlamaIndex, PageIndex, GraphRAG, or LightRAG; citations link back to sources.
Memory: L1 traces, L2 facts, and L3 synthesis are inspectable and editable through Memory Graph, with evidence links for review.
Workspace scope: Subject materials and progress are organized by workspace; Partners and personalization are account-scoped.
Extensibility: Skills, personas, MCP services, and CLI apps extend the runtime; Chat can consult Claude Code, Codex, or Grok CLI.
Container persistence: The Docker quickstart binds port 3782 to loopback and mounts a named volume at /app/data.
Best For

Learners and educators who want a self-hosted workspace that turns their own materials into cited tutoring, structured practice, and progress they can revisit.

Skip If

You only need lightweight model chat, or need guaranteed offline operation without validating the model, retrieval, and tool stack yourself.

Reviewed on 2026-12-02 · Grounded in GitHub README, root file tree & releases · Newer release v1.7.5 (2026-12-03) shipped after this reviewMethodology

Quick Start & Installation

DockerSelf-HostedMCP
docker run --rm --name deeptutor \
  -p 127.0.0.1:3782:3782 \
  -v deeptutor-data:/app/data \
  ghcr.io/hkuds/deeptutor:latest

Comparison vs. Top Chat UI & AI Apps Alternatives

Full comparison →
RepositoryStars7d TrendStackLicenseCore Positioning
DeepTutor ★65.5k+1.6kPythonApache-2.0A self-hosted agent workspace for source-grounded tutoring, reading, and practic
onyx33.7k+68Python—Self-hosted AI chat with hybrid search across permission-scoped team knowledge
open-webui160.2k+466Svelte—Self-hosted chat for Ollama and OpenAI-compatible model backends
ODS8k+88PythonApache-2.0A Docker Compose stack for private AI chat and inference on your own hardware

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/HKUDS/DeepTutor.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.

HKUDS/DeepTutor Star History on RepoForAI

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

Frequently Asked Questions about DeepTutor

How do retrieval and external integrations fit into a tutoring session?

Learning modes share session context, but each has its own workflow. Chat can retrieve from selected knowledge bases, read attachments, and consult subagents. MCP services and CLI agents are separate extension options; first test whether built-in retrieval covers your sources before adding either.

How should I size the host and estimate GPU or VRAM needs?

There is no single VRAM target. With remote model endpoints, size the application host for the web runtime, document processing, indexing, and concurrent sessions. With Ollama, LM Studio, or vLLM on a host you control, size the inference service separately for the selected models and concurrency. Profile both with representative documents and sessions.

Can a company self-host or redistribute DeepTutor?

DeepTutor is Apache-2.0 licensed, which permits commercial self-hosting subject to the license terms. Review LICENSE and THIRD_PARTY_NOTICES.md when redistributing it. Separately check the terms and data-handling policies of model providers, external tools, and learning materials; the application license does not cover those.

When is DeepTutor a better fit than a general-purpose chat frontend?

Choose a general-purpose chat frontend if your main job is occasional Q&A or comparing model providers. Choose DeepTutor if learners need to return to the same sources, move from reading to practice, and keep progress and notes together. If you only need PDF Q&A, evaluate a simpler document-chat app first.

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 HKUDS/DeepTutor? Pin to Homepage + competitor /alternatives pages with a custom Cloud/Demo CTA.Feature HKUDS/DeepTutor 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