github HKUDS/DeepTutor v0.5.0
Release ver0.5.0 !

8 hours ago

DeepTutor v0.5.0 Release Notes

Release Date: 2026.01.15

We're thrilled to announce DeepTutor v0.5.0! This release delivers unified service configuration, flexible RAG pipeline selection, and major UI/UX improvements across multiple modules.

Stability Update: This release fixes multiple environment configuration and stability issues. We recommend all users to pull the latest version! Remember to update your .env file!

Tip

Call for Issues: We welcome your feedback! If you encounter any bugs or have feature requests, please open an issue! If you would like to submit a PR, please check out our Contributing Guide.


Quick Summary

  • Configuration — Refactored config logic for smoother LLM/Embedding setup. Backend secrets stay hidden from frontend. Added more search providers.
  • RAG Pipelines — Select different pipelines per KB: LlamaIndex (direct), LightRAG (graph), RAG-Anything (multimodal graph).
  • Question Gen — Unified BaseAgent architecture with more intuitive UI.
  • Home — Save chat history to notebooks.
  • Sidebar — Drag-and-drop reordering + customizable top-left label.
  • Misc — Various bug fixes and stability improvements.

✨ Highlights

Unified Configuration System

Completely redesigned configuration management for LLM, Embedding, TTS, and Search services:

Key Features:

  • Environment-based secrets: Store sensitive API keys in .env while managing configurations in the UI
  • {"use_env": "VAR_NAME"} syntax: Reference environment variables without exposing them in the frontend
  • Per-service active config: Each service (LLM, Embedding, TTS, Search) maintains its own active configuration
  • Seamless provider switching: Add new providers in the frontend without touching backend secrets

New Search Providers:

Provider Description
Tavily AI-native search API
Exa Neural search engine
Jina Reader-based web search
Serper Google SERP API

RAG Pipeline Selection

Choose the optimal RAG pipeline for each knowledge base based on your speed/quality requirements:

Pipeline Index Type Best For Speed
LlamaIndex Vector (Direct) Quick setup, simple documents Fastest
LightRAG Knowledge Graph General documents, text-heavy Fast
RAG-Anything Multimodal Graph Academic papers, textbooks with figures/equations Thorough

Question Generation Overhaul

Refactored the Question Generation module with unified agent architecture:

Backend Changes:

  • Migrated to BaseAgent pattern consistent with other modules
  • New specialized agents: RetrieveAgent, GenerateAgent, RelevanceAnalyzer
  • Single-pass generation with relevance classification (no iterative validation loops)
  • Improved JSON parsing with markdown code block extraction

Frontend Improvements:

  • Real-time progress dashboard with stage indicators
  • Log drawer for debugging generation process
  • Cleaner question card layout with answer submission
  • "Add to Notebook" integration

Home Page Enhancements

Save Chat to Notebook:

  • New "Save to Notebook" button in chat interface
  • Automatically formats conversation as markdown
  • Preserves user queries and assistant responses with role labels

Sidebar Customization

Drag-and-Drop Navigation:

  • Reorder sidebar items within groups by dragging
  • Visual feedback during drag operations
  • Persistent order saved to user settings

Customizable Description:

  • Click to edit the sidebar description label
  • Personalize your workspace identity

📦 What's Changed

Core Infrastructure

  • Added src/services/config/unified_config.py — Centralized configuration manager
  • Added src/api/routers/config.py — Unified REST API for all service configs
  • Refactored web search to support multiple providers (src/services/search/)
  • Enhanced error handling with LLM error framework

RAG System

  • Implemented LlamaIndexPipeline with custom embedding adapter
  • Implemented pure LightRAGPipeline with complete initialization
  • Added pipeline selection during KB create/upload (PR #129)
  • Factory pattern in src/services/rag/factory.py for pipeline management

Question Generation

  • Refactored AgentCoordinator with specialized agents
  • New RetrieveAgent, GenerateAgent, RelevanceAnalyzer in src/agents/question/agents/
  • Removed iterative validation loops for faster generation
  • Added useQuestionReducer hook for frontend state management

Frontend Updates

  • web/app/settings/page.tsx — Complete rebuild with unified config UI
  • web/app/question/page.tsx — New dashboard with progress tracking
  • web/app/page.tsx — Added "Save to Notebook" functionality
  • web/components/Sidebar.tsx — Drag-and-drop + editable description
  • web/components/AddToNotebookModal.tsx — Reusable notebook integration

What's Changed

New Contributors

Full Changelog: v0.4.1...v0.5.0

Don't miss a new DeepTutor release

NewReleases is sending notifications on new releases.