Open Source Alternatives LogoOpen Source Alternatives
AlternativesBlogAdvertise
Open Source Alternatives LogoOpen Source Alternatives

Stay Updated

Subscribe to our newsletter for the latest news and updates about Alternatives

Open Source Alternatives LogoOpen Source Alternatives

Handpicked Open Source Alternatives to Paid Softwares

Product
  • Categories
  • Tag
  • Sign In
Resources
  • Blog
  • Collection
  • Submit
  • Advertise your tool
Company
  • Privacy Policy
  • Terms of Service
  • Refund Policy
  • Sitemap
Copyright © 2026 All Rights Reserved.
Home/Categories/AI & Machine Learning/DeepTutor
icon of DeepTutor

DeepTutor

Build personalized AI tutoring systems with multi-agent workflows, adaptive learning paths, and citation-grounded feedback for students at scale.

34.7K starsPythonApache-2.0Active this week
Visit websiteGitHub repo
image of DeepTutor
Contents
  1. 01Who DeepTutor is for
  2. 02The problem it solves
  3. 03How it solves it
  4. 04Strengths and trade-offs
  5. 05DeepTutor vs alternatives
  6. 06Install and self-host
  7. 07Tech stack
  8. 08FAQ
  9. 09Similar open-source tools
TL;DR

DeepTutor is an open source agentic framework for personalized AI tutoring that combines citation-grounded problem solving with difficulty-calibrated question generation. It replaces commercial tutoring platforms like Chegg and Course Hero by offering self-hosted deployment under Apache 2.0, with dynamic learner memory that adapts to each student's evolving skill level. The framework includes TutorBench for benchmarking personalization quality and supports multi-channel deployment across Discord, Slack, and web interfaces. Best for educators, universities, and edtech teams who need full control over student data and pedagogy without per-seat licensing.Apache-2.0 · Python · 34.7K stars · Active this week

who it's for

Who DeepTutor is for#

Universities deploying AI tutoring at institutional scale

DeepTutor fits universities offering AI-enhanced office hours or supplemental tutoring across STEM courses. The multi-user isolation, role-based access, and TutorBench evaluation framework support institutional compliance (FERPA, data residency), while self-hosting avoids per-student SaaS fees. Instructors manage knowledge bases through the web interface, and students interact via Discord, Slack, or the web app.

Skip if:

Your institution requires vendor support SLAs and uptime guarantees. DeepTutor is self-managed open source, so expertise must come from your team or community. Without devops capacity, a managed platform with contractual support reduces operational risk.

Edtech teams building custom learning products

DeepTutor's Apache 2.0 license and modular architecture (agentic workflows, Knowledge Center, multi-channel agents) let edtech startups white-label the framework and integrate it into existing LMS platforms. The CLI-first design supports headless deployments where tutoring agents surface via API, while the Next.js frontend can be reskinned to match brand guidelines.

Skip if:

Your roadmap requires proprietary tutoring algorithms. DeepTutor's Apache 2.0 license allows commercial use, but competitors can fork the codebase. If your moat depends on closed-source pedagogy IP, a proprietary stack or white-label SaaS may protect differentiation better.

Educators building subject-specific tutoring systems

Individual educators or small teams can deploy DeepTutor for niche subjects where commercial platforms lack depth (advanced math, specialized CS topics, domain-specific sciences). The Knowledge Center ingests custom PDFs, textbooks, and lecture notes, while the adaptive question generator calibrates to learner progress. The Book Engine compiles subject-specific interactive textbooks with branching remedial content.

Skip if:

You lack server administration experience and prefer fully managed solutions. DeepTutor requires Python environments, database setup, and LLM credentials. If self-hosting is a blocker, start with a managed platform and migrate once you gain devops capacity.

the problem

The problem it solves#

Traditional education platforms and paid tutoring services deliver one-size-fits-all content that ignores individual learning trajectories. Static pre-training knowledge in commercial AI tutors like Duolingo Max or Coursera's AI features cannot adapt to a specific student's gaps, and existing RAG systems lack the guided feedback loops needed for effective tutoring. Pricing scales per seat or per answer, making institutional deployment expensive, while vendor lock-in prevents customization of pedagogy or integration with existing learning management systems.

The core challenge is personalization at scale. A student struggling with calculus derivatives needs different explanations, pacing, and problem difficulty than one reviewing the same topic. Commercial platforms either lack this granularity or gate it behind enterprise pricing tiers. Self-hosted solutions built on generic LLM APIs require custom orchestration layers for memory, citation grounding, and adaptive difficulty that most teams cannot afford to build from scratch.

how DeepTutor solves it

How it solves it#

Citation-grounded problem tutoring with adaptive feedback

Every tutoring response includes citations to the knowledge base, so students trace explanations back to source material. The hybrid personalization engine couples static RAG retrieval with dynamic learner memory, adjusting difficulty and explanation depth based on past interactions. This prevents the knowledge drift common in generic chatbots where context resets every session.

Difficulty-calibrated question generation

Generates practice questions calibrated to the learner's current mastery level, using TutorBench profiles grounded in university-level curricula across five domains (math, physics, computer science, biology, chemistry). Questions adapt as the student progresses, avoiding both trivial repetition and overwhelming difficulty spikes that stall learning.

Multi-channel tutoring agents across 15 platforms

Deploy tutoring agents to Discord, Slack, WeChat, Mattermost, Matrix, Zulip, and 9 other channels from a single backend. Each channel maintains separate learner memory with unified progress tracking, so a student can ask questions via Discord CLI and resume the same session in the web interface without losing context.

Interactive books and adaptive learning workflows

Build interactive textbooks where each page adjusts content based on reader comprehension signals. The Book Engine compiles living documents that re-order sections, surface prerequisite reviews, and branch to remedial content when the learner shows gaps. Supports LaTeX block math, Mermaid diagrams, and inline visualizations.

TutorBench evaluation framework with LLM-based student simulator

TutorBench includes customized learner profiles across five domains and an LLM-based first-person interactive evaluation protocol. The student simulator conducts profile-driven assessments, measuring personalization quality more accurately than static benchmarks. Results show 10.8% improvement in personalized metrics and 29.4% gain in general agentic reasoning across five backbone models.

Knowledge Center with GraphRAG, PageIndex, and LightRAG

Ingest documents via LlamaIndex with three retrieval engines: GraphRAG for entity-linked knowledge, PageIndex for agentic cross-document reasoning via tool calls, and LightRAG for fast vector search with FAISS backend. Supports PDF, DOCX, XLSX, PPTX, and Markdown with MinerU or PyMuPDF4LLM parsing for multimodal image extraction.

strengths · trade-offs

Strengths and trade-offs#

Strengths

  • Apache 2.0 license with full self-hosting controlThe self-hosted version is Apache 2.0 licensed, meaning you can modify the tutoring logic, extend the agent pipeline, and deploy commercially without licensing restrictions. Unlike SaaS tutoring platforms that charge per student, you pay once for the infrastructure and own the entire stack, including learner interaction history.
  • Active development with weekly releases and 34,980 GitHub starsThe project ships weekly releases with feature additions and stability fixes (v1.5.11 released August 2026). 34,980 stars and 4,439 forks indicate strong community adoption. Recent releases added Gemini Embedding 2, per-model reasoning effort controls, MCP Services integration, and support for 101 CLI tools the tutor can invoke during problem solving.
  • Multi-agent orchestration for complex tutoring workflowsDeepTutor structures work across multiple specialized agents (Deep Research, Solve, Question Bank, Guided Learning) that decompose complex learning tasks into parallel subtasks. This agentic approach outperforms single-agent tutors on reasoning benchmarks and enables workflows like adversarial verification of student answers or multi-perspective explanations of the same concept.
  • Production-grade multi-user isolation with role-based accessOptional multi-user deployments isolate student workspaces with admin grants, auth routes, and scoped runtime access via PocketBase sessions. Each student's memory, knowledge bases, and progress tracking remain private, while instructors gain read-only access to anonymized aggregate metrics. This fits institutional deployments where FERPA compliance matters.

Trade-offs

  • -Self-hosting requires Python 3.11+, Next.js 16, and database dependenciesThe backend runs on Python 3.11+ with Next.js 16 for the web interface, requiring PostgreSQL for user data and vector storage (FAISS or ChromaDB). Lightweight VPS deployments under 2GB RAM may struggle with concurrent LLM inference and RAG retrieval, especially when using local models via Ollama or llama.cpp. Cloud deployment or a dedicated server (4GB+ recommended) resolves this, but it is not a zero-dependency install.
  • -LLM API costs scale with tutoring volumeDeepTutor supports local models (Ollama, LM Studio, vLLM) and cloud providers (OpenAI, Anthropic, Google Gemini, DeepSeek), but tutoring quality depends on reasoning-capable models like GPT-4o or Claude. For high-volume deployments (hundreds of students with daily interactions), cloud API costs can exceed $500 per month unless you self-host quantized models with acceptable quality tradeoffs.
  • -105 open issues indicate areas under active developmentWhile the project ships frequent releases, 105 open GitHub issues suggest ongoing stability work. Recent issues cover edge cases in RAG indexing, non-English language handling, and mobile layout polish. Teams deploying in production should budget for monitoring edge-case behavior and contributing fixes upstream when needed.
versus alternatives

DeepTutor vs alternatives#

DeepTutor vs Chegg

Chegg charges $19.95/month for textbook solutions and AI tutoring, with no self-hosting option and vendor lock-in around your question history. DeepTutor is Apache 2.0 licensed and runs on your infrastructure, so you pay once for the server and own the tutoring pipeline. Chegg's AI tutor lacks citation grounding and does not adapt difficulty to your progress, while DeepTutor's hybrid personalization engine couples RAG retrieval with dynamic learner memory.

FeatureDeepTutorChegg
LicenseApache 2.0Proprietary SaaS
Self-hostingYesNo
PricingFree (self-hosted) + LLM costs$19.95/month per student
Citation groundingYesNo
Adaptive difficultyYesNo
Multi-channel agents15 platformsWeb only

DeepTutor is the better choice when you need self-hosting for data privacy, institutional-scale deployment without per-seat fees, or custom knowledge bases beyond textbook solutions. Chegg remains viable for individual students who want zero-setup access to pre-existing textbook answer databases and are willing to pay monthly.

DeepTutor vs Course Hero

Course Hero charges per document unlock or $9.95/month for unlimited access, with no AI tutoring features and no self-hosting. DeepTutor provides AI-driven tutoring with citation-grounded feedback, difficulty-calibrated question generation, and learner memory that Course Hero's static document library cannot match. Course Hero's value is in crowd-sourced study materials; DeepTutor's value is in adaptive, conversational tutoring over custom content.

FeatureDeepTutorCourse Hero
AI tutoringYesNo
Self-hostingYesNo
PricingFree (self-hosted)$9.95/month or per-unlock
Custom knowledge basesYesNo (crowd-sourced only)
Adaptive learning pathsYesNo

DeepTutor wins when you need AI-driven tutoring over custom content (lecture notes, proprietary textbooks, domain-specific material). Course Hero is simpler for students seeking pre-existing study guides and crowd-sourced answers to common textbooks, with no setup required.

DeepTutor vs Khan Academy

Khan Academy offers free video-based learning with limited AI features (Khanmigo, gated behind Khan Academy Plus at $9/month). DeepTutor provides citation-grounded conversational tutoring, adaptive question generation, and multi-agent workflows that Khan Academy's video-centric platform does not support. Khan Academy excels at structured K-12 curricula; DeepTutor fits custom university-level or specialized subjects where video content does not exist.

FeatureDeepTutorKhan Academy
Content formatAI conversational tutoringVideo lectures + practice
Self-hostingYesNo
Custom contentYesNo (fixed curricula)
Adaptive difficultyYesLimited (practice only)
AI tutoringYes (citation-grounded)Khanmigo ($9/month)

DeepTutor is the better choice for university-level or niche subjects requiring custom knowledge bases, conversational tutoring with citations, and self-hosted deployment. Khan Academy remains the simpler option for K-12 learners following standard curricula who benefit from structured video lessons and practice exercises.

install · self-host

Install and self-host#

bash
DeepTutor supports Docker deployment and source installation. The Docker path is fastest for production, while source installs allow local development.

```bash
# Docker deployment (production)
docker run -p 3000:3000 -p 8000:8000 \
  -v deeptutor-data:/app/data \
  -e OPENAI_API_KEY=your_key_here \
  deeptutor/deeptutor:latest

# Source installation (development)
git clone https://github.com/HKUDS/DeepTutor.git
cd DeepTutor
pip install -r requirements.txt
npm install
npm run dev
```

Docker Compose deployments persist all data in the `data/` directory. Configure LLM providers via environment variables or the Settings UI after first launch. The web interface runs on port 3000, and the Python backend serves on port 8000.
tech stack · detected from GitHub

What it's built on#

Languages
JavaScriptPythonTypeScript
Frameworks
Next.jsReact
frequently asked

FAQ#

Is DeepTutor free to use?

Yes, DeepTutor is Apache 2.0 licensed and free to self-host on your infrastructure. You pay only for server costs and LLM API usage (if using cloud providers like OpenAI or Anthropic). The framework also supports local models via Ollama, LM Studio, or vLLM, which eliminates per-token API fees but requires GPU hardware for acceptable inference speed. There is no per-student licensing or feature gating in the open source release.

Can I self-host DeepTutor without cloud LLM APIs?

Yes, DeepTutor supports local LLM inference via Ollama, LM Studio, llama.cpp, and vLLM. You can run quantized models like Llama 3, Gemma, or Qwen locally with GPU acceleration. However, tutoring quality depends on model reasoning capability, and quantized models may produce lower-quality explanations compared to cloud models like GPT-4o or Claude. For production deployments, teams typically start with cloud APIs for quality validation and migrate to local models once they identify acceptable quality-cost tradeoffs.

What LLM providers does DeepTutor support?

DeepTutor integrates with OpenAI, Anthropic (Claude), Google Gemini, DeepSeek, Novita AI, Eden AI, Atlas Cloud, and NVIDIA NIM for cloud inference. For local deployment, it supports Ollama, LM Studio, llama.cpp, vLLM, and any OpenAI-compatible endpoint. Embedding models include OpenAI, Google Gemini Embedding 2, NVIDIA NIM embeddings, and local options via sentence-transformers. The catalog-based model selection UI shows only models available for your configured providers.

How does DeepTutor compare to ChatGPT or Claude for tutoring?

ChatGPT and Claude are general-purpose conversational models without tutoring-specific workflows. DeepTutor adds citation-grounded feedback (every answer links to source material), difficulty-calibrated question generation (adapts to learner progress), and dynamic learner memory (context persists across sessions). TutorBench benchmarks show DeepTutor improves personalized tutoring metrics by 10.8% and general agentic reasoning by 29.4% compared to baseline LLM chat. For one-off questions, ChatGPT is simpler; for scaffolded learning over weeks, DeepTutor's memory and adaptive difficulty provide better outcomes.

What are the hardware requirements for self-hosting?

Minimum requirements: 4GB RAM, 2 CPU cores, 20GB disk for the backend and database. If using local LLM inference, add a GPU with at least 8GB VRAM for quantized models (16GB+ recommended for full-precision models). Cloud API deployments (OpenAI, Claude) do not require GPU but incur per-token costs. For institutional deployments serving 100+ concurrent students, a dedicated server or cloud VM with 16GB RAM and load-balanced inference endpoints is recommended.

also worth a look

Similar open-source tools#

FluidVoice

FluidVoice

Voice-to-text for macOS with on-device AI and zero cloud dependency

9.5KSwiftGPL-3.0
freeCodeCamp

freeCodeCamp

Join the FreeCodeCamp community and contribute!

453.7KTypeScriptBSD-3-Clause
CLI-Anything

CLI-Anything

Empower AI agents with agent-native CLIs

46.8KPythonApache-2.0
supertonic

supertonic

Instantly convert text to speech with customizable options

13.6KSwiftMIT
Task Bert

Task Bert

AI assistant that turns text messages into actionable tasks

6SwiftGPL-3.0
discli

discli

CLI for building AI agents and automating Discord servers

27PythonMIT

Repository

Stars
34.7K
Forks
4.4K
License
Apache-2.0
Latest
v1.5.11
Last commit
1 day ago
Last verified
Aug 12, 2026
Repo
HKUDS/DeepTutor ↗

Additional details

Language
Python
Open issues
99
Contributors
127
First release
2025

Categories

AI & Machine LearningCommunication & Collaboration

Tags

AI AgentsChatbotsKnowledge ManagementDeveloper ToolsPersonal Assistant