An intelligent learning assistant that transforms passive studying into active learning through AI-powered explanations, summaries, quizzes, and progress tracking.
The application is deployed on Streamlit Cloud and can be accessed here:
👉WEBSITE
- Concept Explanation: Get level-appropriate explanations (Easy/Intermediate/Advanced)
- Smart Summarization: Summarize text notes or PDF documents
- Interactive Quizzes: Test your understanding with auto-generated questions
- Flashcards: Create study flashcards for effective memorization
- Key Points Extraction: Identify the most important concepts
- Progress Tracking: Monitor your quiz performance over time
- Frontend: Streamlit
- AI Model: Google Gemini 2.5 Flash
- PDF Processing: pypdf
- Database: SQLite
- Programming Language: Python 3.9+
- Clone the repository:
git clone <your-repo-url>
cd ai-study-buddy- Install dependencies:
pip install -r requirements.txt-
Set up your Gemini API key:
- Get your API key from Google AI Studio
- Create a
.envfile in the project root - Add:
GEMINI_API_KEY=your_api_key_here
-
Run the application:
streamlit run app.py- Choose input method (Text or PDF)
- Select difficulty level
- Enter topic or upload PDF
- Navigate through tabs:
- Explain: Get detailed explanations
- Summary: Generate concise summaries
- Quiz: Test your knowledge
- Flashcards: Create study cards
- Key Points: Extract main concepts
- Progress: Track your performance
The app uses SQLite to store quiz results:
quiz_results (
id INTEGER PRIMARY KEY,
topic TEXT,
difficulty TEXT,
score INTEGER,
total_questions INTEGER,
percentage REAL,
timestamp DATETIME
)Contributions, suggestions, and improvements are welcome. If you would like to enhance this project, feel free to open an issue or submit a pull request.
This project is licensed under the MIT License, allowing free use, modification, and distribution for learning and development purposes.
The goal of addressing real-world student learning challenges using AI-driven solutions.