--- title: TripBudgetAdvisor emoji: πŸ’¬ colorFrom: yellow colorTo: purple sdk: gradio sdk_version: 5.33.1 app_file: app.py pinned: false short_description: Advisor for travelling budget tags: - SimpleTextbox - agents - code-analysis - agent-demo-track --- # ✈️ Trip Budget Advisor **Trip Budget Advisor** is an AI-powered travel planning assistant built with Gradio and smolagents. It helps users estimate travel costs, classify their travel style, and chat with an intelligent agent for trip advice β€” all in one interactive app. ## 🧠 How It Works 1. **Travel Survey** – Answer 5 quick questions to determine your travel style (e.g., Budget vs. Luxury). 2. **Budget Estimation** – Automatically calculate your estimated daily and total trip cost. 3. **AI Chat Assistant** – Ask questions like β€œWhat are affordable cities for 5-day luxury trips?” and get personalized suggestions using an LLM agent. 4. **Live Search** – Powered by SerpAPI for real-time search capability inside the agent. ## πŸŽ₯ Demo ![Trip Budget Advisor Demo](demo.gif) ## πŸ› οΈ Built With - [Gradio Blocks](https://gradio.app/) - [smolagents](https://github.com/mispmip/smolagents) - [OpenAI API](https://platform.openai.com/) - [SerpAPI](https://serpapi.com/) (Google Search tool) ## πŸš€ Try It Clone this repo or run it directly on Hugging Face Spaces. ```bash pip install -r requirements.txt python app.py