What Is DeepTutor? The Open Source AI Tutor You Run Yourself

2026-10-30
An open-source AI study assistant that cites your own material and remembers what you got wrong. The setup cost, the API bill, and the parts that genuinely help.
DeepTutor is an open-source AI tutor from the HKUDS research group at the University of Hong Kong, and it's the rare education project that ships as working software instead of a demo. You clone it, point it at a model provider, and it runs as a web app on your own machine.
That setup requirement is the whole trade. You give up the convenience of a hosted product and get control over your data, your model and your spending. For a student who doesn't want a chatbot vendor holding their transcripts, that's the point.
Here's what the project actually does, what the numbers behind it mean, and how much work it takes to get running.
DeepTutor Is an Agent-Native Learning Workspace
The description on the repo calls it an agent-native learning workspace. Strip the jargon and it means one interface that handles several study tasks instead of a single chat box.
Chat, a question generator, quiz building, research, visualization, problem solving, a Mastery Path mode, immersive reading and audio overviews all share one runtime and one session context. When you switch from reading a paper to generating questions about it, the context follows you.
That sharing is the design decision that matters. Most study tools are separate apps stitched together: a PDF reader here, a flashcard app there, a chat assistant somewhere else. DeepTutor treats all of it as one session with one memory, which is closer to how a person actually studies.
It also includes a Task Board with to-do, in progress, and done columns, plus notes and an archive. Small feature, real utility, and telling about the audience. This is built for people running multi-week courses, not for one-off homework questions.
The DeepTutor GitHub Numbers
As of October 29, the repository shows 48,173 stars and 5,974 forks. The project was created in late December 2025, which means it collected that attention in about ten months.
The license is Apache 2.0, so commercial use and modification are allowed. The code is Python, the front end runs Next.js 16, and the current release is 1.7.0, published October 28.
Release cadence is the other signal. Version numbers have moved every few days through September and October: 1.6.13 on October 4, 1.6.14 on October 8, 1.6.15 on October 19, 1.7.0 on October 28. A project shipping that often is either well funded or extremely online, and either way you're getting fixes faster than a commercial product would push them.
How the Personalization Engine Works
The research paper, arXiv 2604.26962, describes a hybrid personalization engine. It couples static knowledge grounding with dynamic learner memory. Grounding is the retrieval part: answers cite your source material instead of general training data. Learner memory is the adaptation part: what you got wrong, what you already know, how you like explanations.
In the product, that memory is inspectable at three levels. L1 holds raw traces, L2 summarizes what surfaces, L3 synthesizes across them. A Memory Graph links the summaries back to the evidence that produced them.
Why that matters: most AI tutors personalize invisibly, and you have no way to see why the model thinks you're weak on linear algebra. DeepTutor lets you read the file and delete the wrong entry. That's a meaningful difference for anyone who has watched a recommendation system build a bad picture of them.
What TutorBench Actually Measured
The paper introduces TutorBench, an interactive benchmark with custom learner profiles drawn from university courses across five domains, plus a first-person evaluation protocol where a simulated student answers questions in character.
Results: personalized metrics improve by 10.8% on average. With the personalization engine switched off, the same investigate, solve, write scaffolding still improved general agentic reasoning by 29.4% across five backbone models.
The second number is the more interesting one for people who don't care about tutoring. It suggests the workflow structure itself does heavy lifting, independent of any memory system. The caveat is that these are the authors' benchmarks on the authors' framework, and independent replication is thin.
How a DeepTutor Install Works
There are four installation paths, and they differ mostly in how much of the stack you want to manage.
- Run the Docker one-liner: pull ghcr.io/hkuds/deeptutor, map port 3782, and open the local address.
- Configure model providers in Settings, which is where your API keys go.
- Or install from source with Python 3.11 or newer, create a virtual environment, and pip install the package.
- Or take the 1.7.0 modular route: install the core deeptutor wheel and add only the feature modules you want.
That 1.7.0 modular release is the update worth noting. The full source tree pulls every checked-in module and all of their Python dependencies, which is a lot of surface for a student who only wants tutoring and quizzes. The core wheel plus selected modules trims that down.
Practical requirements: Docker or Python 3.11+, a model provider key, and a machine that can stay on if you want it reachable. The Docker trial uses a named volume so settings and data survive restarts.
Where the AI Study Assistant Actually Helps
Three workflows carry most of the value.
Problem tutoring with citations is the core. You paste a problem, and the answer points at your own materials rather than inventing a textbook.
Quiz generation with difficulty calibration is the second. The paper frames it as difficulty-calibrated question generation, which in practice means you can ask for questions at the edge of what you currently handle instead of random ones.
Immersive reading is the third, and it's the one that surprised me. You add a YouTube or Bilibili link, and DeepTutor plays it with transcript search, timestamp-grounded tutoring, and saved notes. Asking "explain what he said at 14:20" and getting an answer tied to that moment is a genuinely better study tool than rewatching the video.
Where DeepTutor Falls Short
No Android app. The interface is a web app on port 3782, so using it on a phone means opening that address in a browser on your network. That works, but it isn't a mobile product, and the layout isn't built for a small screen.
You pay for tokens. DeepTutor is free software, not a free service. Every model call comes out of your own API account, and a long research session on a frontier model adds up. There's no hosted tier to compare costs against, because HKUDS doesn't sell one.
Setup is real work. The docs assume comfort with terminals, environment variables and Docker. The project now offers an agent-assisted install path where you hand the setup prompt to a coding agent, which lowers the bar without removing it.
And data hygiene is on you. Your learning history lives in a local directory. Back it up or lose it, and if you expose the port to the internet without thinking, you're the security policy.
DeepTutor vs a Plain Chatbot
A chatbot answers questions. DeepTutor keeps a record of what you asked, builds quizzes from your material, tracks which topics you've cleared and cites where its answers came from.
The gap is structure, not intelligence. On a single hard problem, a good general model will match it. Over a semester, the memory, the task board and the mastery tracking are the difference between a tool you consult and a system you study inside.
The cost of that structure is friction. Ten minutes of setup, a running machine, an API bill. If you want zero friction, this isn't the product for you.
Should You Install DeepTutor
Install it if you're taking a course with real source material, you're comfortable with a terminal, and you'd rather own your study data than rent access to it. The modular 1.7.0 install keeps the dependency load reasonable, and the citation grounding is the feature that justifies the effort.
Skip it if you need something that works on a phone out of the box, or if you're not prepared to pay for model calls. A hosted AI study assistant will be easier and, for light use, cheaper.
Start with the Docker command, connect one provider, and run a single quiz session before you invest in configuration. If the citation behavior convinces you, the rest of the setup is worth the afternoon.