Most people's experience of asking an AI for help with coursework goes the same way: paste a question, get an answer, wonder whether the answer relates to the actual chapter you were assigned. The model has general knowledge and a fresh context window, and nothing else.
DeepTutor, an open-source project from the HKU Data Intelligence Lab (the group behind LightRAG), takes the opposite approach. You build a workspace from your own materials — textbook PDFs, lecture slides, notes, even lecture videos — and the tutoring happens against that corpus rather than against the model's memory of the internet.
The project passed 48,000 GitHub stars this week and shipped version 1.7.0 on October 28, a rewrite of its install path and learning workspace. It is Apache-2.0 licensed, and the accompanying paper has been on arXiv since April.
What it does differently
Three design choices separate it from dropping a PDF into a chatbot.
The first is citation-grounded answers. Because the workspace is indexed as a knowledge base, explanations can point at the passage they came from. That is the difference between "here is how eigenvalues work" and "here is how your lecture notes derive them, on page four".
The second is question generation calibrated to difficulty. The system does not only explain; it produces practice problems pitched at the level the learner is currently at, which is closer to what a tutor does in a session than what a search engine does.
The third is memory. DeepTutor keeps three layers of it: a trace of what you actually asked and practised, a summary layer of what you appear to understand and where you struggle, and a synthesis layer that informs what to teach next. All three are inspectable and editable, which matters if you have ever wanted to correct a tool's impression of you.
Around that core sit eight modes — tutoring, question generation, research, visualisation, immersion reading, audio overview and others — sharing one session context, plus a task board for planning what to study.
Lecture video is handled with more care than usual: a YouTube or Bilibili link joins the workspace with its transcript, so you can search the subtitles and ask about a specific timestamp rather than scrubbing back and forth.
The numbers, and their caveats
The paper, titled DeepTutor: Towards Agentic Personalized Tutoring, reports an average improvement of 10.8% on personalisation metrics and 29.4% on general agentic reasoning across five backbone models.
Those figures come with a caveat worth stating plainly: the benchmark, called TutorBench, was built by the same team, using five university-level subject domains and simulated learner profiles. A self-designed benchmark with self-scored results is a reasonable way to demonstrate a mechanism, and a weak way to claim superiority. The useful thing is that the whole setup is reproducible.
What the paper does describe clearly is the architectural bet: a hybrid of static knowledge grounding and dynamic learner memory, so that each interaction is conditioned on both the material and the student's history. That is not a novel idea in isolation, but it is unusually completely implemented in something you can install.
Trying it
Two paths, depending on your tolerance for terminals.
pip install -U "deeptutor[full]"
deeptutor init
deeptutor start
That gets you a local web app on port 3782. init asks you to configure a model provider, which means you need your own API key — the software is free, the inference is not.
Docker is the shorter route:
docker run --rm --name deeptutor -p 127.0.0.1:3782:3782 -v deeptutor-data:/app/data ghcr.io/hkuds/deeptutor:latest
Either way, expect to spend the first hour feeding it material. The tool is only as good as the workspace, and an empty workspace makes it look like a generic chatbot with extra buttons.
Who this is actually for
Self-directed learners with a pile of PDFs and no tutor: people studying for professional exams, students in large lecture courses where nobody knows their name, anyone working through a textbook alone.
It is less useful if what you want is a quick answer. The setup cost is real, and the value arrives on the second and third session, when the memory starts to pay off.
The project is at github.com/HKUDS/DeepTutor, and the paper is arXiv:2604.26962. If you try it, start with one subject you are genuinely working on rather than a folder of everything you have ever downloaded.


