DeepTutor is a self-hosted platform for building a personalized AI tutor over your own documents and knowledge bases. It's aimed at developers, educators, and teams who want an agent-native learning assistant that remembers context across sessions, rather than a one-off chatbot wrapper. The project is built in Python (backend, CLI) with a Next.js frontend, and ships as an open-source Apache-2.0 codebase you run yourself.
At its core, DeepTutor combines retrieval-augmented generation (RAG) over uploaded documents with a multi-agent architecture: agents ('Partners' or TutorBots) can hold their own persona, library, and skills, and consult live with tools like local Claude Code or Codex sessions mid-conversation. A three-layer memory system (L1/L2/L3) lets the tutor retain what it has taught you over time, which is the 'lifelong personalized' part of the name.
deeptutor CLI and SDK expose Tools and Capabilities as a plugin model, so the system can be scripted or extended beyond the web UI.deeptutor skill install from ClawHub, gated behind a security check.DeepTutor fits teams or individuals who want to turn a private document set (course material, internal docs, research papers) into an interactive, memory-aware tutor they fully control. It's a good match for self-hosted education products, internal onboarding assistants, research-paper study aids, or anyone experimenting with multi-agent tutoring systems and wanting to swap in their own LLM provider.
It's less of a fit if you need a hosted, zero-setup product, a lightweight single-file chatbot, or a system with a small footprint: DeepTutor is a full platform with a backend, frontend, RAG pipeline, and CLI, and running it means managing infrastructure. If you just need simple document Q&A without memory, agents, or a learning-path structure, a smaller RAG library will be simpler to operate.
DeepTutor requires Python 3.11+ on the backend and a Next.js 16 frontend, and it's designed to run via Docker as well as locally. The project provides a deeptutor CLI entry point for starting the stack:
git clone https://github.com/HKUDS/DeepTutor.git
cd DeepTutor
# install dependencies (Python 3.11+ required)
# follow the setup steps in the docs for your environment
deeptutor start
Docker-based deployment is also supported, including rootless Podman setups and configurable host/port binding for containerized environments. Optional RAG extras and local-model backends (Ollama, LM Studio, llama.cpp, vLLM) can be configured separately depending on which retrieval engine and provider you want to use. For full setup instructions, environment variables, and multi-user configuration, check the documentation at deeptutor.info and the CONTRIBUTING guide in the repository.