An intelligent, adaptive travel planning system powered by multi-agent AI orchestration, real-time data integration, and personalized recommendations.

This system transforms fragmented travel planning into an intelligent, dynamic experience using:

- Llama-based Orchestrator for reasoning & planning
- GNN Agent for personalized recommendations
- Real-time API Integration for flights, hotels, and weather
- Budget Optimizer for cost vs. comfort tradeoffs
- Streamlit UI for dynamic user interaction
- PDF Export for downloadable itineraries
ai-travel-planner/
βββ backend/ # Core AI agents and orchestration
β βββ orchestrator.py # Llama model for intent parsing
β βββ api_manager.py # Real-time/mock API integration
β βββ personalization_gnn.py # GNN-based personalization
β βββ budget_optimizer.py # Cost optimization
β βββ itinerary_agent.py # Itinerary generation + PDF
β βββ utils/ # Utilities and configuration
β βββ main.py # Unified orchestrator entry
β
βββ frontend/ # Streamlit web interface
βββ app.py # Main Streamlit app
βββ components/ # UI components
βββ styles/ # Custom CSS and theming
# Just run this - it does everything!
./run.shThen choose option 1 for the Web UI.
Step 1: Install Dependencies
pip install -r requirements.txtStep 2: Set Up API Keys (REQUIRED for flight and hotel data)
Create a .env file:
# REQUIRED for flights and hotels
SERPAPI_API_KEY=your_key_here # Get from serpapi.com (100 searches/month free)
# Optional for weather
OPENWEATHER_API_KEY=your_key_here # Free from openweathermap.org
# Optional for activities
YELP_API_KEY=your_key_here # Free from yelp.com/developersStep 3: Run the Application
# Web UI (Recommended)
streamlit run frontend/app.py
# Or test backend directly
python backend/main.pyINSTALL.txt- Quick visual install guide (start here!)SETUP.md- Comprehensive setup documentationAPI_SETUP_GUIDE.md- API configuration detailsQUICKSTART.md- Quick reference guide
# Test SERP API integration (flights + hotels)
python test_serpapi.py
# Test other APIs
python tests/test_apis.py
# Test workflow
python tests/test_workflow.py
# Test new features
python tests/test_new_features.py- Destination selection
- Date range picker
- Budget slider
- Preference tags (Adventure, Luxury, Nature, etc.)
- Travel group size
- Real-time agent progress updates
- Multi-agent orchestration visualization
- Animated loading states
βοΈ Flight recommendations with airline logos, real-time pricing, and carbon emissions- π¨ Hotel options with images, ratings, reviews, and amenities
- π€οΈ Weather forecasts for each day
- πΊοΈ Interactive map integration
- π° Budget breakdown with detailed cost allocation
- π₯ PDF itinerary download
- ποΈ Calendar export (.ics)
- User satisfaction ratings
- Itinerary accuracy feedback
- Continuous improvement analytics
- Theme: Deep blue + coral accents
- Layout: Responsive grid-based design
- Animations: Smooth transitions and loading states
- UX: Intuitive, modern, and accessible
- Parses user intent using Llama model
- Validates constraints
- Coordinates agent workflow
- SERP API Google Flights - Real-time flight data with airline logos
- SERP API Google Hotels - Hotel data with images and ratings
- OpenWeatherMap - Weather forecasts
- Budget-based filtering - Filters results by budget constraints
- Graph Neural Network for user preferences
- Historical behavior analysis
- Contextual recommendations
- Pareto optimization for cost vs. comfort
- Multiple itinerary options
- Value scoring
- Consolidates all recommendations
- Generates PDF itineraries
- Exports calendar events
- Python 3.9+
- PyTorch
- PyTorch Geometric
- Streamlit
- Transformers (Hugging Face)
- ReportLab
- Other dependencies in
requirements.txt
Edit backend/utils/config.yaml to customize:
- API keys and endpoints
- Model configurations
- Budget constraints
- Personalization parameters
Sample input is provided in backend/utils/sample_input.json for testing the backend pipeline independently.
This is a demonstration project showcasing AI orchestration and real-time travel planning capabilities.
MIT License