AI Travel Agent

AI Travel Agent

Intelligent travel planning assistant powered by AI that creates personalized travel plans using Apify and Google's Gemini model.

AIAGENTSTRAVELApify

ntelligent travel planning assistant powered by AI that creates personalized travel plans using Apify and Google's Gemini model.

Overview

AI Travel Agent is an Apify actor that leverages AI to generate comprehensive travel plans based on user inputs. The agent searches for and recommends:

  • Attractions and points of interest from TripAdvisor
  • Accommodations from Airbnb and Booking.com
  • Restaurants from Google Maps

The agent creates a complete travel plan with a day-by-day itinerary, accommodation options, restaurant recommendations, and detailed activity suggestions.

Features

  • Personalized Travel Plans: Generate custom travel plans based on destination, dates, budget, and preferences
  • Smart Recommendations: Find the best attractions, accommodations, and restaurants using real data from popular travel sites
  • Comprehensive Itineraries: Get day-by-day schedules with specific activities, times, and locations
  • Budget-Aware Planning: All recommendations respect your specified budget constraints

Input Parameters

  • location (required): Destination for your travel plan (e.g., "Ponta Delgada, Azores")
  • start_date: The start date of your trip in YYYY-MM-DD format
  • end_date: The end date of your trip in YYYY-MM-DD format
  • budget: Your total budget for the trip
  • people: Number of people traveling (default: 2)
  • notes: Any special requests or preferences for your trip

Example Input

1{
2  "location": "Ponta Delgada, Azores",
3  "start_date": "2025-07-27",
4  "end_date": "2025-08-03",
5  "budget": 1000,
6  "people": 2,
7  "notes": "We love nature."
8}

Output

The actor outputs a structured travel plan with:

  • Destination details
  • Accommodation options with names, addresses, and booking information
  • Restaurant recommendations with cuisine types, price ranges, and ratings
  • Day-by-day itinerary with activities, times, and locations

Architecture

The project uses the following components:

  • Pydantic AI: Structured data modeling and AI agent framework
  • Google Gemini: Advanced LLM for understanding requests and generating travel plans
  • Apify SDK: Integration with Apify platform for web scraping and data processing
  • External Actors: Utilizes specialized Apify actors for data collection from TripAdvisor, Airbnb, Booking.com, and Google Maps

Dependencies

  • apify: Apify SDK for Python
  • apify-client: Client for the Apify API
  • python-dotenv: For loading environment variables
  • pydantic: Data validation and modeling
  • pydantic-ai: AI agent framework built on top of Pydantic

Development

Project Structure

1ai-travel-agent/
2├── .actor/                # Apify actor configuration
3│   ├── actor.json         # Actor metadata
4│   ├── Dockerfile         # Docker configuration
5│   └── input_schema.json  # Input schema definition
6├── src/                   # Source code
7│   ├── __init__.py
8│   ├── __main__.py        # Entry point
9│   ├── main.py            # Main application logic
10│   ├── models.py          # Data models
11│   ├── prompts.py         # System prompts
12│   └── tools.py           # Integration tools for external services
13├── storage/               # Local storage
14├── .env                   # Environment variables
15├── .gitignore
16├── README.md
17└── requirements.txt       # Project dependencies

Adding New Functionality

To extend the agent with additional data sources:

  1. Create a new tool function in tools.py
  2. Add the tool to the agent configuration in main.py
  3. Update the data models in models.py if necessary

License

This project is licensed under the MIT License

Frequently Asked Questions

Is it legal to scrape job listings or public data?

Yes, if you're scraping publicly available data for personal or internal use. Always review Websute's Terms of Service before large-scale use or redistribution.

Do I need to code to use this scraper?

No. This is a no-code tool — just enter a job title, location, and run the scraper directly from your dashboard or Apify actor page.

What data does it extract?

It extracts job titles, companies, salaries (if available), descriptions, locations, and post dates. You can export all of it to Excel or JSON.

Can I scrape multiple pages or filter by location?

Yes, you can scrape multiple pages and refine by job title, location, keyword, or more depending on the input settings you use.

How do I get started?

You can use the Try Now button on this page to go to the scraper. You’ll be guided to input a search term and get structured results. No setup needed!