DeepTutor: Lifelong Personalized Tutoring

An agent-native learning workspace that unifies tutoring, problem solving, quiz generation, research, visualization, and mastery practice in one extensible system.

Source repo
HKUDS/DeepTutor
Stars
★ 65k
Last updated
today v1.7.4
FARS reviewed
Nov 07, 2026 +2 new
License
Apache-2.0
Primary language
Python

At a glance

How it runs
CLIWeb appSelf-hosted service
Works with
Universal · cross-platformCodex · Claude Code · OpenAI API · Claude API
Cost
Free software; you pay for model usage
Setup effort
Medium · a few setup steps
You'll need
Python 3.11+Node.js 20+DockerShell / CLINetwork accessLocal filesystemMCP Server
Typical use
A learner who wants to turn a PDF textbook into an interactive living book with quizzes, animations, and page-level chat
Not a fit if
  • Users unwilling to let model-generated code execute on their machine
  • People wanting zero-config setup without managing multiple config files
Website
arxiv.org/abs/2604.26962 ↗ set on GitHub
Maintenance
Commits in the last 30 dayslast commit 2026-12-02latest release v1.7.4 (2026-11-20)+343.9 ★/day over 7 days
Source review
68/100 · Some gaps

What does this agent do, and when should you use it?

DeepTutor is an agent-native learning workspace that unifies tutoring, problem solving, quiz generation, research, visualization, and mastery practice in one extensible system. All modes run on the same agent loop, so context moves with the learner. It offers multi-engine RAG (LlamaIndex, PageIndex, GraphRAG, LightRAG, Obsidian), a three-layer inspectable memory (L1 traces, L2 summaries, L3 synthesis), connectable subagents (Claude Code, Codex, Gemini, etc.), and persistent IM companions on 15+ channels. Installation paths include PyPI, source, Docker, and a CLI-only distribution, with optional multi-user isolated workspaces. Licensed under Apache-2.0, it also ships with the EduHub skill registry.

DeepTutor runs a single agent loop that mounts tools contextually: chat, quiz, deep_research, visualize, deep_solve, mastery_path. It retrieves documents from knowledge bases via rag and kb_files tools, executes model-generated code in a sandbox for office skills (docx/pdf/pptx/xlsx), and calls web_search, paper_search, imagegen, and more. It manages a three-tier memory (L1 event trace, L2 surface facts, L3 synthesis) and consults external CLI agents (Claude Code, Codex, Gemini, Kimi, opencode, MiMo) through the consult_subagent tool. The CLI exposes deeptutor run --format json for NDJSON streaming, enabling agent-driven operation.

  1. A learner who wants to turn a PDF textbook into an interactive living book with quizzes, animations, and page-level chat
  2. A developer who wants to consult Claude Code or Codex from within a chat turn for coding help
  3. A researcher who needs deep research surveys with cited reports from multiple sources
  4. An educator who wants to deploy a personalized tutor bot on Slack, Discord, or Telegram for students
  5. A user who wants an inspectable, auditable memory of their learning progress rather than a hidden vector store

Key setup facts

Pulled from the install and usage notes below. The project README has the current values.

Install / run
  • pip install -U deeptutor
  • pip install -e
  • docker run -p 127.0.0.1:3782:3782 -v deeptutor-data:/app/data ghcr.io/hkuds/deeptutor:latest
  • pip install -e ./packaging/deeptutor-cli
Ports
3782
Runtime
Python 3.11 · Node.js 20+
Install notes cover
Docker

How do you install or deploy this agent?

Four installation paths: (1) PyPI: pip install -U deeptutor, then deeptutor init, deeptutor start; (2) Source: git clone, create venv, pip install -e ., cd web && npm ci --legacy-peer-deps, then deeptutor init, deeptutor start --dev; (3) Docker: docker run -p 127.0.0.1:3782:3782 -v deeptutor-data:/app/data ghcr.io/hkuds/deeptutor:latest; (4) CLI-only: pip install -e ./packaging/deeptutor-cli, deeptutor init --cli, deeptutor chat. Requires Python 3.11–3.13 and Node.js 20+ (CLI-only needs only Python).

How do you use this agent?

After starting the web app, open http://127.0.0.1:3782 and configure an LLM provider under Settings → Models. In chat, use the + menu to attach files, select knowledge bases, or import agents. Use the @ or Agent chip to consult subagents. For CLI, run deeptutor chat for interactive REPL, or deeptutor run deep_research "Survey 2026 papers on RAG" --config mode=report --format json for single-turn, machine-readable output. Use deeptutor kb create, deeptutor memory show, deeptutor skill install to manage resources.

Safety boundaries, hardening & integrations

Operational blast radius, source-verified safety controls, and first-run hardening steps before connecting this agent to real workspaces.

Declared capability surface (blast radius)

Local shell command execution

Can run terminal commands; pair with approval gates or container/OS sandboxing.

Local filesystem read/write

Modifies local files; work on a clean Git branch or dedicated worktree.

Outbound network access

Makes outbound requests; verify telemetry settings and model data routing on private repos.

External MCP tool bridge

Inherits capabilities of connected MCP servers; audit third-party servers before enabling.

What are this agent's strengths and limitations?

Pros
  • Unified agent loop across all modes means context carries over seamlessly from chat to quiz to research
  • Three-layer memory with traceable provenance — every synthesized claim can be traced back to raw events
  • Multi-engine RAG (LlamaIndex, PageIndex, GraphRAG, LightRAG, Obsidian) offers flexible knowledge retrieval
  • Connect external CLI agents and IM partners to extend functionality
  • Multiple installation options including Docker and CLI-only for headless operation
Limitations
  • Configuration complexity: requires managing Python and Node.js environments, multiple config files under data/user/settings/
  • Executing model-generated code involves trust decisions; sandbox security is configurable but not default-off
  • Multi-user deployments require additional setup for auth, grants, and user isolation
  • Relies on many external services (LLM providers, search, embedding) which can incur cost and network dependencies
  • Feature-rich but steep learning curve; some features like OpenAI Codex OAuth are experimental and may change

How does this agent compare with similar options?

Key facts side by side with the most closely related agents.

Agent Source review Form / cost Stars Updated Language Full support on
DeepTutor: Lifelong Personalized Tutoring This agent 68 · Some gaps CLIFree + model costs ★ 65k today Python Codex · Claude Code · OpenAI API · Claude API
OpenKB 69 · Some gaps CLIFree + model costs ★ 5k 4mo ago Python Codex · Claude Code · OpenAI API · Claude API
SwarmVault 75 · Good CLIFree + model costs ★ 741 5mo ago TypeScript Codex · Claude Code
AgentChat 54 · Major gaps Self-hosted serviceFree + model costs ★ 939 1d ago Python —

How does FollowAgents rate this agent?

FollowAgents source review · FARS-2.1
Some gaps
68/ 100 5-point scale 3.4 / 5
This review covers the source as of Nov 07, 2026. The project has shipped 2 stable release(s) since, which have not been re-reviewed. The score and verdict describe the reviewed version only. Recent releases ↓
Trust 14/29
Reliability 9/14
Adaptability 16/18
Convention 14/18
Effectiveness 10/13
Verifiability 5/8
Why each dimension lost points
Trust14 / 29 · 2.4/5

The tool layers, user-toggleable whitelist, context and capability gates, configuration checks, and credential-redaction guidance support meaningful access control and data visibility. However, the CLI server defaults to binding 0.0.0.0, CORS is permissive when authentication is disabled, and the packet does not show per-action confirmation or a complete data-flow map, so these criteria are not full marks. Credential handling and settings locations are described, but retention and protection of learning data are not fully specified. Dependencies have version ranges and modularization, but this packet contains no vulnerability-audit evidence. Recycle-bin, session recovery, and index-recovery features are documented, though rollback coverage is incomplete. The license is clear; publisher identity is unverified and source-attribution mechanisms are only thinly evidenced.

Reliability9 / 14 · 3.2/5

The architecture for CLI, SDK, WebSocket, and the shared runtime is described in concrete terms. Startup checks validate tool references, and the code shows explicit configuration and missing-dependency errors. Module readiness, diagnostics, and recovery are documented. Still, many features depend on optional modules, third-party services, or external models, and the documentation and code sample cannot establish that every capability and installation combination works; scores are therefore below full marks.

Adaptability16 / 18 · 4.4/5

The product clearly targets personalized learning and identifies chat, solving, research, reading, practice, and visualization scenarios. The skill file gives precise use conditions. Tool and capability responsibilities, module-state checks, and optional-install guidance are substantial, though users must still navigate complex module and tool gates. Python versions, CLI/Web setup paths, desktop platforms, and configuration options provide strong evidence of environment fit.

Convention14 / 18 · 3.9/5

The packet includes a clear architecture diagram, key-file index, layered installation guidance, and many command examples. The license text is complete, and the README has an extensive release history. Command and module names are mostly stable, but the documented layout transition and compatibility alias indicate some migration cost. The provided material lacks a systematic limitations list or FAQ. The README says maintainers are being recruited, so maintenance and update responsibility are not yet clear.

Effectiveness10 / 13 · 3.8/5

The product combines knowledge bases, memory, retrieval, learning paths, and multi-stage capabilities into learning workflows. The CLI supports useful output formats and session, knowledge-base, and tool options. The range of learning tasks and persistent context indicate clear incremental value. A full installation has many dependencies, and numerous capabilities require model credentials, external providers, or optional modules; the packet gives no cost or resource estimates, so cost-benefit scores low.

Verifiability5 / 8 · 3.1/5

The CLI entry point, API startup path, and tool-consistency check provide code that can be located in the packet. The README, skill file, and project configuration partially corroborate installation, capability, and version claims. Release notes and feature descriptions remain mostly project-authored assertions; the sample cannot cover every module and does not show independent validation. The materials do not consistently distinguish architecture facts, product claims, and observed runtime results, so these criteria do not receive full marks.

Risks and how to mitigate them
  • The CLI server defaults to 0.0.0.0; check authentication, network exposure, and CORS settings before deployment.
  • Learning data, sessions, knowledge bases, and credentials involve local persistence and may involve external models or services; the packet does not fully specify retention and transfer boundaries.
  • Many capabilities require optional modules, credentials, and external providers; installation alone does not establish readiness, so check module states and configuration.
Evidence confidence: Low Reviewed Nov 07, 2026 Reviewed revision 60fb3bdfddb3 New commits since this review; the score may not cover them
See the full review method →
Maintain this project? Add the FARS badge to your README

The badge shows the current review score and verdict and links back to this page. It refreshes about once an hour after a re-review.

FARS

[![FARS review](https://followagents.com/badge/deeptutor.svg)](https://followagents.com/en/agents/deeptutor)
<a href="https://followagents.com/en/agents/deeptutor"><img src="https://followagents.com/badge/deeptutor.svg" alt="FARS review"></a>

Recent releases

Latest entries from the project's GitHub Releases. Notes are quoted from upstream as written, not rewritten or tested by FollowAgents.

  1. v1.7.4
    Release notes excerpt
    DeepTutor v1.7.4 Release Notes Release Date: 2026.11.20 This desktop security update replaces the runtime signing key used by the macOS and Windows apps. On November 20, desktop release credentials were exposed in GitHub Actions artifacts. Those artifacts have been removed. What's New The desktop app verifies runtime updates with a new public key. When it finds a saved runtime signed with the retired key, it installs the verified runtime bundled with the new app and backs up the existing workspace before starting it. Tagged desktop builds now require maintainer approval to access …
    View on GitHub ↗
  2. v1.7.3
    Release notes excerpt
    DeepTutor v1.7.3 Release Notes Release Date: 2026.11.16 Building on [v1.7.2](past_releases/ver1-7-2.md), v1.7.3 makes reading and book editing more flexible, expands search and agent connections, and improves learning records, model streams, and desktop upgrades. What's New Read, zoom, and revisit question help …
    View on GitHub ↗
  3. v1.7.2
    Release notes excerpt
    DeepTutor v1.7.2 Release Notes Release Date: 2026.11.06 Building on [v1.7.1](ver1-7-1.md), v1.7.2 adds selected-text read-aloud, easier model setup, and more reliable guided learning, retrieval, and updates. Desktop releases now require Apple Silicon and Intel Mac installers alongside both Windows downloads. What's New Complete desktop downloads and sturdier Windows support …
    View on GitHub ↗

FAQ

Which LLM providers are supported?
DeepTutor supports multiple providers via configurable model profiles: OpenAI, Anthropic, Gemini, Ollama, LM Studio, llama.cpp, vLLM, Lemonade, NVIDIA NIM, Eden AI, Atlas Cloud, Novita AI, and more, including local and cloud options.
How secure is code execution?
Model-generated code runs in a subprocess sandbox controlled by sandbox_allow_subprocess (default true). Set to false or DEEPTUTOR_SANDBOX_ALLOW_SUBPROCESS=0 to disable. Docker Compose deployments can use a hardened sidecar runner for stronger isolation.
Can I run DeepTutor for multiple users?
Yes, enable auth in auth.json, then the first registered user becomes admin and can create users, assign models, knowledge bases, skills, tool policies, and grants. Each user gets an isolated workspace under data/users/<uid>/.
Was this page helpful?
View on GitHub ↗ Install ↓

Compare agents like this one

The same FARS review applied across the shortlist this agent qualifies for.

Related concepts