Plan your next trip smartly with the AI Travel Planner!
An interactive Streamlit app that leverages LLMs (GPT-4o or Llama 3.2) and search engines to create personalized travel itineraries.
- 🧠 AI Researcher: Finds top-rated activities and accommodations
- 📅 AI Planner: Builds a detailed, customized itinerary
- 🔍 Web Search Integration: Powered by SerpAPI
- 🧩 Support for Llama 3.2 (Ollama) and GPT-4o (OpenAI)
AI_WebScraper/
├── agents/
│ ├── gpt_agent.py # Agent logic using GPT-4o
│ └── llama_agent.py # Agent logic using Llama 3.2
├── app/
│ ├── main_gpt.py # Streamlit interface with GPT-4o
│ └── main_llama.py # Streamlit interface with Llama
├── requirements.txt # Dependencies
└── README.md- Clone the repository:
git clone https://github.com/andredisa/AI_TravelPlanner.git
cd AI_TravelPlanner- Install the requirements:
pip install -r requirements.txt- Launch the app with your preferred model:
▶️ GPT-4o:
streamlit run app/main_gpt.py🦙 Llama 3.2 (Ollama):
streamlit run app/main_llama.py| Service | API Key Name | Where to Get It |
|---|---|---|
| OpenAI | OPENAI_API_KEY |
openai.com |
| SerpAPI | SERP_API_KEY |
serpapi.com |
🛡️ API keys are entered securely via the Streamlit interface. No keys are stored locally.
🔎 Enter your destination and number of days
🧳 Let the AI agent research activities and places
📜 Receive a tailored itinerary with tips, suggestions, and details
A travel assistant powered by AI that helps you from the initial research all the way to full itinerary planning, using generative intelligence and real-world web data.
- 🌐 Export trip itineraries as PDF
- 🗺️ Interactive map with trip route and stops
- 🔁 User memory and saved trips functionality
- 📆 Calendar integration (Google Calendar, iCal)
🎉 Contributions are more than welcome!
If you find a bug 🐞, have a feature request ✨, or want to improve the code 💻:
- Open an Issue
- Submit a Pull Request 🚀
Let’s build this together!
📄 This project is released under the MIT License.
Please refer to the LICENSE file for full details.
If you find my work useful and would like to support me, you can buy me a coffee! Your support helps me keep creating and improving my projects. Thank you! 😊
