# DeepTutor: Towards Agentic Personalized Tutoring **Bingxi Zhao**1,2*, **Jiahao Zhang**1*, **Xubin Ren**1, **Zirui Guo**1, **Tianzhe Chu**1, **Yi Ma**1, **Chao Huang**1† 1University of Hong Kong 2Beijing Jiaotong University *Equal contribution †Corresponding author DeepTutor is an intelligent tutoring system that has been evolving through multiple iterations and continues to be actively developed. - **[v0.6.0](https://github.com/HKUDS/DeepTutor/tree/Deeptutor-v0.6.0-archive)** was the first stable release — a full-stack AI tutoring system featuring multi-agent problem solving with RAG, question generation, interactive learning visualization, and a Next.js web interface. This evaluation branch is built on top of the v0.6.0 architecture. - **[v1.0.0-beta.1](https://github.com/HKUDS/DeepTutor/releases/tag/v1.0.0-beta.1)** is the second major release — a ground-up rewrite into an agent-native platform with a two-layer plugin model (Tools + Capabilities), three unified entry points (CLI / WebSocket / SDK), a rebuilt web application, and multi-channel TutorBot integration. Our **technical report** consolidates the core design ideas across these versions. DeepTutor will continue to iterate and evolve in the future. --- This branch (`eval`) contains **the full evaluation stack for DeepTutor’s foundational layer** — the shared personalization substrate and core tutoring pipelines (question generation, solving, RAG, and memory) that the report analyzes. It is the codebase referenced for experiments in the report. ## Personalized Agentic Tutoring (Foundational Layer) The foundational layer couples **static knowledge grounding** (RAG over multimodal KBs), **dynamic personal memory** (Trace Forest and learner profile), and closed-loop **personalized problem solving** and **question generation**, with a shared learner record feeding both sides.
Overview of the foundational layer: mixed retrieval over the knowledge base, trace-based personalization, multi-stage solve (left) and dual-loop question generation (right).
| Area | Path | Role | | ------------ | ---------------------- | ------------------------------------------------------- | | **Solve** | `src/agents/solve/` | Plan → ReAct → Write with tools and citations | | **Question** | `src/agents/question/` | Idea loop + generation loop; topic and exam-mimic modes | | **RAG** | `src/services/rag/` | LlamaIndex, LightRAG, RAG-Anything backends | | **Memory** | `src/personalization/` | Trace Forest, reflection / summary / weakness agents |
First-person protocol: simulator ↔ tutor dialogue; traces → personalized rubrics.
### Table 1 — Main results on TutorBench (interactive evaluation)
run_benchmark.py flags
Ablation: full DeepTutor (black) vs. w/o RAG (left) and w/o Memory (right). Labels mark the largest drops.
--- ## Repository structure ```text DeepTutor/ ├── DeepTutor_arxiv-7/ # Technical report (LaTeX) ├── assets/figs/ # Figures used in README / paper ├── benchmark/ │ ├── config/ │ ├── data_generation/ │ ├── evaluation/ │ ├── iso_solve/ │ ├── prompts/ │ ├── simulation/ │ └── tools/ ├── config/ ├── src/ ├── tests/ ├── start.py ├── .env.example ├── pyproject.toml └── requirements.txt ``` ## License Apache-2.0