AI-Powered Tutor Bot is an interactive web application that acts as a Calculator. Powered by a Python backend AI LLM, it delivers dynamic, structured learning modules that combine lessons, engaging animations, and immediate quizzes to reinforce comprehension and key concepts.
This project showcases a modern approach to education, integrating active learning, formative assessments, and a conversational interface to make learning effective and engaging.
- Dynamic Math using AI
- Interactive quizzes for immediate feedback
- Simple conversational interface
- Modular design with a Python backend and HTML/CSS/JS frontend
Follow these steps to run the application locally.
Ensure you have the following files in the same directory:
main.py(Python backend)index.html(Frontend UI)requirements.txt(Python dependencies)
Open a terminal, navigate to the project directory, and run:
pip install -r requirements.txtRun the backend server which handles AI logic:
python main.py
You should see output indicating the Flask server is running at:
http://127.0.0.1:5000In a new terminal window, navigate to the project directory and start a simple HTTP server:
python -m http.server 8000
This serves your frontend files on port 8000. Keep this terminal open as well.
Open your web browser and navigate to:
http://localhost:8000/index.html
You should see the Tutor Bot interface. Start asking questions about math, science, history, or other subjects in the chat box.
-
Make sure both backend and frontend servers are running simultaneously.
-
Do not open index.html directly from the filesystem (file://...) — it won’t work properly in most browsers due to security restrictions.
-
To customize or extend the project:
-
Modify main.py for backend logic.
-
Edit index.html for frontend structure or design.
-