Quick Start
Get DeepTutor running in under 5 minutes.
Prerequisites
- Python 3.10+
- Node.js 18+
- An LLM API key (OpenAI, Anthropic, DeepSeek, etc.)
Installation
bash
# Clone and setup
git clone https://github.com/HKUDS/DeepTutor.git
cd DeepTutor
# Configure API keys
cp .env.example .env
# Edit .env with your API keys
# Install and launch
bash scripts/install_all.sh
python scripts/start_web.pybash
docker run -d --name deeptutor \
-p 8001:8001 -p 3782:3782 \
-e LLM_MODEL=gpt-4o \
-e LLM_API_KEY=your-key \
-e LLM_HOST=https://api.openai.com/v1 \
-e EMBEDDING_MODEL=text-embedding-3-large \
-e EMBEDDING_API_KEY=your-key \
-e EMBEDDING_HOST=https://api.openai.com/v1 \
ghcr.io/hkuds/deeptutor:latestEssential .env Variables
bash
# Required
LLM_MODEL=gpt-4o
LLM_API_KEY=your_api_key
LLM_HOST=https://api.openai.com/v1
EMBEDDING_MODEL=text-embedding-3-large
EMBEDDING_API_KEY=your_api_key
EMBEDDING_HOST=https://api.openai.com/v1📖 Full configuration options: See Configuration or README
Access Points
| Service | URL |
|---|---|
| Web App | http://localhost:3782 |
| API Docs | http://localhost:8001/docs |
Your First Knowledge Base
- Navigate to http://localhost:3782/knowledge
- Click "New Knowledge Base"
- Upload PDF, TXT, or Markdown files
- Wait for processing to complete
That's it! Start exploring with the Solver, Question Generator, or Deep Research modules.
