Deploy DeepTutor (w/ AI setup)

Self-hosted AI tutor with admin login, AI model and knowledge bases set up.

Deploy DeepTutor (w/ AI setup)

Just deployed

/app/data

Deploy and Host DeepTutor (w/ AI setup) on Railway

DeepTutor is an open-source AI tutor that teaches from your own documents, quizzes you and remembers your progress. This template sets it up from the deploy form: chat, knowledge bases and web search work at first sign-in, behind your own admin login.

DeepTutor connected to your AI provider, knowledge bases and web search

About Hosting DeepTutor (w/ AI setup)

You get DeepTutor 1.7.0 with a volume for all its data. Enter a password and an AI key on the form, open the service's URL and sign in as admin with that password.

Get an OpenAI key

  1. Sign in at platform.openai.com/api-keys and click Create new secret key.
  2. Name it (for example "DeepTutor"), set Expiration to Never and click Create secret key.
  3. Click Copy, because OpenAI shows the key only once, and paste it into LLM_API_KEY on the deploy form.
  4. For another provider, also set LLM_PROVIDER and LLM_MODEL. A Gemini key covers knowledge bases too; with other providers, add an embedding model in DeepTutor's Settings before creating a knowledge base.

Common Use Cases

  • Study from your own textbooks
  • Practice quizzes with instant feedback
  • Tutor a class with separate accounts

Dependencies for DeepTutor (w/ AI setup) Hosting

  • DeepTutor
  • An AI provider key (OpenAI by default)

Deployment Dependencies

Implementation Details

DeepTutor architecture: one public service with a volume, calling your AI provider and web search

Back up the volume: it holds knowledge bases, accounts and saved AI keys. Idles at about 0.2 GB of memory. Only admins can create Word, PDF, PowerPoint and Excel files: Railway can't run DeepTutor's separate code sandbox.

Why Deploy DeepTutor (w/ AI setup) on Railway?

Railway is a singular platform to deploy your infrastructure stack. Railway will host your infrastructure so you don't have to deal with configuration, while allowing you to vertically and horizontally scale it.

By deploying DeepTutor (w/ AI setup) on Railway, you are one step closer to supporting a complete full-stack application with minimal burden. Host your servers, databases, AI agents, and more on Railway.

Updated 2026-10-30: First release.


Template Content

More templates in this category

View Template
Chat Chat
Chat Chat, your own unified chat and search to AI platform.

okisdev
117
View Template
NEW
Weaviate
Vector database with hybrid search and an API key-protected API

zer0person
1
View Template
Möbius v0.1 Personal AI OS
Self-hosted AI agent that builds and runs apps for you, with memory.

bento
1