AI-powered personalized learning roadmaps for college students with Google Calendar integration
- Interactive Form: Beautiful, responsive web interface for user input
- Real-time Validation: Instant feedback on form inputs with smart suggestions
- Visual Results: Stunning timeline view of your personalized learning roadmap
- Export Options: Download as Excel, PDF, or Calendar (.ics) files
- Mobile Responsive: Works perfectly on all devices and screen sizes
- Multi-Domain Learning Paths: Data Structures, AWS Cloud, Data Science, NLP, and AI
- Academic Year Support: Tailored content for 1st, 2nd, 3rd, and 4th year students
- Amazon Nova Micro Integration: Uses AWS Bedrock's latest model for intelligent content generation
- Progressive Difficulty: Tasks automatically scale from Beginner β Intermediate β Advanced
- Personalized Scheduling: Adapts to your weekly study hours and academic level
- Google Calendar Integration: Seamless OAuth 2.0 integration with automatic event creation
- Privacy-First Design: In-memory processing without data persistence
- Secure Credentials: Comprehensive .gitignore for sensitive information
- Multi-Agent Architecture: Specialized agents for profile collection, roadmap generation, and calendar integration
Works immediately without any external dependencies!
# Clone the repository
git clone https://github.com/logesh4v/Pathway.git
cd Pathway/smart-roadmap-builder
# Install basic dependencies
pip install fastapi uvicorn jinja2 python-multipart
# Run the simplified web application
python run_web_simple.py
# Open your browser
# Go to: http://localhost:8000Requires AWS Bedrock and Google Calendar API setup
# Install all dependencies
pip install -r requirements.txt
# Configure credentials (see Setup Guide below)
cp .env.example .env
# Edit .env with your API credentials
# Run the full web application
python run_web.py
# Open your browser
# Go to: http://localhost:8000- Python 3.9+
- Internet connection for API access
-
Basic Version (No external APIs needed):
pip install fastapi uvicorn jinja2 python-multipart python run_web_simple.py
-
Full Version (With AI and Calendar):
pip install -r requirements.txt # Configure APIs (see below) python run_web.py
- Create AWS Account and enable Bedrock
- Get AWS credentials:
export AWS_ACCESS_KEY_ID=your_access_key export AWS_SECRET_ACCESS_KEY=your_secret_key export AWS_REGION=us-east-1
- Enable Amazon Nova Micro model in Bedrock console
- Go to Google Cloud Console
- Create project and enable Google Calendar API
- Create OAuth 2.0 credentials
- Set environment variables:
export GOOGLE_CLIENT_ID=your_client_id export GOOGLE_CLIENT_SECRET=your_client_secret
# Copy example environment file
cp .env.example .env
# Edit .env with your credentials
nano .env-
Start the server:
python run_web_simple.py # For demo version # OR python run_web.py # For full version
-
Open browser:
http://localhost:8000 -
Fill out the form:
- Enter your name, academic year (1st-4th), and department
- Select learning domains (Data Structures, AWS, Data Science, NLP, AI)
- Set your weekly study hours (1-40)
- Choose calendar integration preferences
-
Generate and export:
- Click "Generate My Roadmap"
- View your personalized learning timeline
- Export as Excel, PDF, or Calendar file
import requests
# Generate roadmap via API
response = requests.post('http://localhost:8000/api/generate-roadmap', json={
"full_name": "Alice Johnson",
"academic_year": "3rd Year",
"department": "Computer Science",
"selected_domains": ["Data Structures", "AI", "AWS"],
"weekly_study_hours": 18,
"calendar_integration": True
})
roadmap = response.json()
print(f"Generated roadmap for {roadmap['roadmap']['StudentName']}")# Interactive CLI application
python main.py
# Run simple demo (no external dependencies)
python simple_demo.py
# Run comprehensive demo
python demo.pyThe system generates comprehensive JSON roadmaps like this:
{
"StudentName": "Alice Johnson",
"Year": "3rd Year",
"Department": "AI & Data Science",
"Domains": ["Data Structures", "AWS", "AI"],
"RoadmapDuration": "12 Months",
"Phases": [
{
"month": "January",
"weeks": [
{
"week": 1,
"tasks": [
{
"domain": "AI",
"title": "Deep Learning and Neural Networks",
"description": "Advanced neural architectures, CNNs, RNNs...",
"estimated_time": "15 hours",
"difficulty_level": "Advanced",
"calendar_event": {
"title": "Deep Learning and Neural Networks",
"start_time": "2025-01-06T09:00:00",
"add_to_google_calendar": true
}
}
]
}
]
}
],
"CareerGoals": [
"Achieve advanced expertise in Data Structures, AWS, AI",
"Lead complex projects and contribute to open-source",
"Secure internships at top tech companies"
]
}smart-roadmap-builder/
βββ π Web Frontend
β βββ web_app_simple.py # Simplified version (no external deps)
β βββ web_app.py # Full version (with AI & Calendar)
β βββ run_web_simple.py # Start simplified version
β βββ run_web.py # Start full version
β βββ templates/
β β βββ index.html # User input form
β β βββ results.html # Results display
β βββ static/
β βββ style.css # Custom styling
βββ π€ Backend System
β βββ agents/ # Multi-agent system
β β βββ profile_agent.py # Profile collection & validation
β β βββ learning_path_agent.py # Roadmap generation with Bedrock
β β βββ calendar_agent.py # Google Calendar integration
β β βββ orchestrator_agent.py # Main workflow coordinator
β βββ models/ # Data models
β β βββ user_profile.py # Student profile model
β β βββ learning_task.py # Learning task model
β β βββ calendar_event.py # Calendar event model
β β βββ roadmap_output.py # Complete roadmap structure
β βββ services/ # External integrations
β β βββ bedrock_service.py # AWS Bedrock Nova Micro integration
β β βββ google_calendar_service.py # Google Calendar API
β βββ utils/ # Utilities
β βββ validation.py # Input validation utilities
β βββ datetime_utils.py # Date/time handling
β βββ logging_utils.py # Security-aware logging
βββ π§ͺ Testing & Demos
β βββ test_web.py # Web app tests
β βββ simple_demo.py # CLI demo
β βββ demo_web.py # Web demo
βββ π Documentation
βββ README.md # Main documentation
βββ SETUP_GUIDE.md # Detailed setup guide
βββ requirements.txt # Dependencies
- Profile Agent: Collects and validates user information with smart recommendations
- Learning Path Agent: Generates personalized roadmaps using AWS Bedrock Nova Micro
- Calendar Agent: Handles Google Calendar OAuth and event creation
- Orchestrator Agent: Coordinates the complete workflow with error handling
The system supports five comprehensive learning domains:
- 1st-2nd Year: Arrays, Linked Lists, Stacks, Queues
- 3rd-4th Year: Advanced Trees, Graph Algorithms, Dynamic Programming
- 1st-2nd Year: Cloud Fundamentals, EC2, S3, VPC
- 3rd-4th Year: DevOps Pipelines, Solutions Architecture
- 1st-2nd Year: Python, Pandas, Basic ML
- 3rd-4th Year: Advanced ML, Big Data, MLOps
- 1st-2nd Year: Text Processing, Basic NLP
- 3rd-4th Year: Transformers, Research Applications
- 1st-2nd Year: ML Fundamentals, Basic Algorithms
- 3rd-4th Year: Deep Learning, AI Research
python test_web.py# Start server in one terminal
python run_web_simple.py
# Test in another terminal
curl http://localhost:8000/health# Health check
curl http://localhost:8000/health
# Generate sample roadmap
curl http://localhost:8000/sample-roadmap-
Import Errors
# Missing dependencies pip install fastapi uvicorn jinja2 python-multipart -
Port Already in Use
# Change port in run_web_simple.py uvicorn.run(app, host="0.0.0.0", port=8001)
-
Template Not Found
# Make sure you're in the correct directory cd smart-roadmap-builder python run_web_simple.py
-
AWS/Google API Issues
- Use simplified version for demo:
python run_web_simple.py - Check credentials in
.envfile - Verify API access in respective consoles
- Use simplified version for demo:
- Fork the repository
- Create a feature branch:
git checkout -b feature-name - Make your changes and add tests
- Commit your changes:
git commit -am 'Add feature' - Push to the branch:
git push origin feature-name - Submit a pull request
This project is licensed under the MIT License - see the LICENSE file for details.
- AWS Bedrock Nova Micro for AI-powered content generation
- Google Calendar API for seamless calendar integration
- FastAPI for the robust web framework
- Bootstrap for beautiful, responsive UI components
- Issues: GitHub Issues
- Documentation: Setup Guide
- Demo: Run
python run_web_simple.pyfor immediate demo
π Ready to create your personalized learning roadmap? Start with python run_web_simple.py and open http://localhost:8000!