A custom AI teaching assistant powered by Google's Gemini AI models. This application helps students learn through interactive conversations, providing explanations, examples, and practice problems across various subjects.
- Interactive conversations with AI tutor
- Personalized learning experience
- Explanations of complex topics in simple terms
- Custom practice problems and solutions
- Progress tracking and learning path suggestions
- Support for multiple subjects (Math, Science, Programming, etc.)
- Real-time feedback and adaptive learning
- Python 3.8 or higher
- Google API Key for Gemini AI models
- Internet connection
- Clone repository:
git clone https://github.com/psylsph/ai_teacher
cd ai_teacher
- Install packages:
python -m venv .venv
source .venv/bin/activate # On Windows use: .venv\Scripts\activate
python -m pip install --upgrade pip
pip install --no-cache-dir -r requirements.txt
- Set your Google API key as an environment variable:
export GOOGLE_API_KEY=your_api_key_here # Linux/Mac
# or
set GOOGLE_API_KEY=your_api_key_here # Windows
- Run the application:
streamlit run ai_teacher.py
-
Open your web browser and navigate to the URL shown in the terminal (typically http://localhost:8501)
-
Start learning by selecting a subject and engaging with the AI tutor