An intelligent, real-time travel assistant and budgeting planner built using LangChain, LangGraph, and custom API-powered tools. The system generates comprehensive travel plans and expense estimates for any destination using weather, accommodation, currency, and attraction data.
Input a prompt like "Plan a trip to Milan for 10 days with budget in USD", and the AI handles the rest.
Dynamically uses tools to gather real-time:
- Weather and forecasts
- Hotel/accommodation options
- Top attractions
- Currency conversion and budgeting
Uses LangGraph to route messages between LLM and tools in a conditional execution flow.
| Tool Name | Functionality |
|---|---|
Weather |
Fetches real-time weather and forecasts via WeatherAPI |
TopAttractions |
Retrieves top-rated tourist places using Foursquare Places API |
Accommodation |
Searches for hotels with ratings, prices, and links via DuckDuckGo |
CurrencyExchange |
Converts currencies using Fixer API |
- Clone the repository
git clone https://github.com/your-username/ai-travel-planner.git
cd ai-travel-planner
- Create and Populate .env
OPENAI_API_KEY=your_openai_key
WEATHER_API_KEY=your_weatherapi_key
FOURSQUARE_API_KEY=your_foursquare_key
FOREX_API_KEY=your_fixer_key- Install Dependencies
pip install -r requirements.txt- Add food planning tool
- Add flight search integration
- Extend budgeting to include daily activity expenses
- Multilingual support
This project is licensed under the Raza Mehar License. See the LICENSE.md file for details.
For any questions or clarifications, please contact Raza Mehar at [raza.mehar@gmail.com].