An interactive Streamlit web app that uses multiple specialized AI agents to create comprehensive travel plans.
- Interactive UI - Input your destination, trip duration, budget, and special preferences
- Multi-Agent Architecture - Four specialized AI agents work together to create your perfect trip
| Agent | Role |
|---|---|
| 🧠 Planner Agent | Creates day-by-day itineraries |
| 💰 Budget Agent | Estimates and tracks costs |
| 🍣 Local Guide Agent | Recommends food & local tips |
| 🔍 Research Agent | Fetches current travel updates (used sparingly) |
| Orchestrates all agents and produces the final plan |
-
Clone the repository:
git clone https://github.com/alfredang/trip-advisor.git cd trip-advisor -
Install dependencies:
pip install -r requirements.txt
-
Create a
.envfile with your API keys:OPENROUTER_API_KEY=your_openrouter_api_key TAVILY_API_KEY=your_tavily_api_key -
Run the app:
streamlit run trip_planner_openrouter.py
- Enter your destination (default: Tokyo)
- Set the number of days (default: 5)
- Specify your budget in USD (default: $2,000)
- Add any special preferences (optional)
- Click "Generate Trip Plan"
The app will display your personalized trip plan with:
- 📋 Day-by-day itinerary
- 💰 Budget breakdown
- 🍣 Local recommendations and tips
- 🔍 Current travel updates (when available)
- 📥 Download option for your trip plan
- Streamlit - Web interface
- OpenAI Agents SDK - Multi-agent orchestration
- OpenRouter - LLM API gateway
- Gemini 2.5 Flash Lite - LLM backend
- Tavily - Real-time web search
- Pydantic - Data validation
MIT