An AI-powered desktop study assistant built with Python, CustomTkinter, and Google Gemini API.
AI Study Assistant helps users analyze educational texts by generating:
- 📄 Clear summaries
- 🔑 Important keywords
- 🎯 Interactive multiple-choice quizzes
The application supports both English and Turkish with a modern dark-themed interface.
Generate clean and readable summaries from long educational texts, articles, lecture notes, or book chapters.
Extract the most important concepts and keywords automatically using structured AI responses.
Create 5 multiple-choice questions based on the provided text to test understanding interactively.
Supports:
- Turkish 🇹🇷
- English 🇺🇸
Users can instantly switch languages from the interface.
Built with:
- CustomTkinter
- Dark mode design
- Responsive fullscreen layout
- Animated interactive components
- Threaded AI requests
- Non-blocking interface
- Real-time word counter
- Dynamic tabs and quiz feedback
API keys are stored locally in a configuration file (~/.ai_study_config.json) instead of being hardcoded into the project.
- Python
- CustomTkinter
- Google Gemini API (
gemini-2.5-flash) - Pydantic (Structured JSON Outputs)
- Threading
- JSON
git clone https://github.com/fatmaSsm/AI_Study_Assistant.git
cd AI_Study_Assistantpip install customtkinter google-genai pydanticpython AI_Study_Assistant.pyThis project uses the Google Gemini API.
- Get your API key from Google AI Studio
- Launch the application
- Click the ⚙ Settings button
- Paste your API key
- Save and start using the app
Your API key is stored locally on your machine.
The application sends the user’s text to Gemini API and uses:
- AI summarization
- Structured JSON responses
- Schema validation with Pydantic
Quiz and keyword outputs are validated before being displayed in the interface.
Possible future updates:
- PDF/Text file upload
- Export summaries as PDF
- Difficulty levels for quizzes
- Flashcard generation
- Study history system
- More language support
Contributions, issues, and feature requests are welcome.
Feel free to fork the project and submit a pull request.
This project is licensed under the MIT License - see the LICENSE file for details.
Fatma Susam
