# DeepTutor: A Lifelong Personalized AI Tutor

> Turns your documents into a personal tutor with quizzes and lessons.

- **What it does:** Lets you load your own documents into a study app that builds a learning path, quizzes, daily practice, video lessons and flash cards. You end up with a personal tutor that tracks what you actually understand.
- **Agents:** Claude Code and Codex (through orbit-connect), Claude and ChatGPT (through the Orbit connector)
- **Install:** `npx -y --loglevel=error orbit-connect@0.3.33 install skl_9b8c62086f55291ef07c1a67`
- **Creator:** @orbit.learns on Instagram
- **Safety:** Checked by Orbit: nothing risky found in what it runs or reads
- **Last updated:** 2026-11-14
- **Page:** https://orbitinbox.app/s/deeptutor-a-lifelong-personalized-ai-tutor

## Skill

---
name: deeptutor-lifelong-tutor
description: Use when you want to actually understand what AI explains instead of just getting answers, and build lifelong mastery of a subject; it loads your documents into a knowledge base and generates a learning path, quizzes, daily practice, video lessons, and Anki exports.
---

# DeepTutor: A Lifelong Personalized AI Tutor

## What it does

DeepTutor is an open source, self-hosted learning platform built around tracking what you actually understand, not just answering your questions. You load your own documents into a knowledge base (it supports several retrieval engines, including LlamaIndex, PageIndex, GraphRAG, and LightRAG), and it builds on top of them:

- **Mastery Path** — breaks a learning goal into topics with a knowledge-point map, guided study, and mastery evidence.
- **Quiz and Question Bank** — grouped assessments and collected questions for daily, spaced practice.
- **Book Engine** — turns your sources into an interactive "living book" with chapters, typed blocks, quizzes, and flash cards.
- **Immersive Reading** — study beside a document, video, or audio source with source-linked citations.
- **Video Lesson** — narrated video lessons generated from your material.
- **Learning Notebook** (block notebook, with the Dito assistant) — your own pages and blocks, with flash cards exportable to Anki.
- **Learning journal, Task Board, and Calendar** — daily practice tracking, study tasks, and events with `.ics` export.
- **Partners** — persistent agent companions over IM channels, plus live consultation with subagents such as Claude Code, Codex, or Grok CLI.
- **Skills, MCP Services, and CLI Apps** — extend the tutor with community skills from EduHub or ClawHub.

It runs as a Web app, a Desktop app (macOS/Windows, preview), a Docker container, or a terminal CLI, and ships an SDK for agent use.

## What you need

- Python 3.11–3.14 for the PyPI, source, or CLI-only install.
- Node.js 20.9+ (PyPI) or Node.js 22 LTS (source) if you want the Web frontend.
- Docker, if you use the Docker install path.
- An account/API key with an LLM provider, configured after first start in Settings → Providers and Language models.
- macOS or Windows, only if you want the desktop app.
- The Anki app, only if you want to import the exported flash cards.

## Setup

Quickest full-app trial (Docker):
```bash
docker run --rm --name deeptutor -p 127.0.0.1:3782:3782 -v deeptutor-data:/app/data ghcr.io/hkuds/deeptutor:latest
```
Then open http://127.0.0.1:3782

Full Web app and CLI (PyPI):
```bash
mkdir -p my-deeptutor && cd my-deeptutor
python -m pip install -U "deeptutor[full]"
deeptutor init
deeptutor start
```

Terminal-only, no Web frontend (CLI):
```bash
mkdir -p my-deeptutor && cd my-deeptutor
python -m pip install -U deeptutor
deeptutor init --cli
deeptutor chat
```

Desktop builds (macOS Apple Silicon, macOS Intel, Windows x64) are downloadable installers from the project's latest GitHub Release: https://github.com/HKUDS/DeepTutor/releases/latest

After starting any version, open the printed URL (default http://127.0.0.1:3782) and go to Settings → Providers and Language models to connect your LLM provider. For anything not covered above, see the project's README and docs at https://deeptutor.info.

## How to use it with Claude

- "Load this PDF into a new knowledge base and build me a Mastery Path for it."
- "Give me a grouped Quiz on the chapters I've studied so far."
- "Turn my uploaded documents into a living Book with chapters, flash cards, and quizzes."
- "Generate a narrated Video Lesson from this knowledge base."
- "Export the flash cards from this Learning Notebook page so I can import them into Anki."
- "Add this study session to my Calendar and export it as .ics."

Use DeepTutor only with your own documents and accounts, and within the terms of any provider or service (such as an LLM API or IM channel) you connect it to.

## Credits

Made by HKUDS (DeepTutor), packaged by Orbit.
https://github.com/HKUDS/DeepTutor — license: Apache-2.0

Shared by @orbit.learns, credited on Orbit.