This project is a Streamlit-based web application that generates personalized learning paths using the Model Context Protocol (MCP). It integrates with various services including YouTube, Google Drive, and Notion to create comprehensive learning experiences.
- 🎯 Generate personalized learning paths based on your goals
- 🎥 Integration with YouTube for video content
- 📁 Google Drive integration for document storage
- 📝 Notion integration for note-taking and organization
- 🚀 Real-time progress tracking
- 🎨 User-friendly Streamlit interface
- Python 3.10+
- Google AI Studio API Key
- Hugging Face API Key
- Composio API Key (for direct MCP integration)
-
Clone the repository:
-
Create and activate a virtual environment:
-
Install the required packages:
pip install -r requirements.txtCopy .env.example to .env and add your API keys:
GOOGLE_API_KEY=your_google_ai_studio_key
HF_API_KEY=your_huggingface_key
COMPOSIO_API_KEY=your_composio_api_keyGet API Keys:
- Google AI Studio: https://makersuite.google.com/app/apikey
- Hugging Face: https://huggingface.co/settings/tokens
- Composio: https://app.composio.dev/settings
Connect the apps you want to use:
composio add youtube # Required
composio add googledrive # Optional
composio add notion # OptionalSee COMPOSIO_DIRECT_SETUP.md for detailed setup instructions.
To start the application, run:
streamlit run app.pyThe application will be available at http://localhost:8501 by default.
- Ensure your
.envfile has all required API keys - Make sure Composio integrations are connected (see Configuration above)
- In the Streamlit app sidebar:
- Select AI model(s) for comparison
- Choose secondary tool: None, Drive, or Notion
- Enter your learning goal (e.g., "I want to learn python basics in 3 days")
- Click "Generate Learning Path" to create your personalized learning plan
Note: YouTube integration is always enabled. Drive and Notion are optional.
app.py- Main Streamlit applicationutils.py- Utility functions and helper methodsprompt.py- Prompt templaterequirements.txt- Project dependencies