Skip to main content
This example shows how to create a sophisticated travel planning agent that provides comprehensive itineraries and recommendations. The agent combines destination research, accommodation options, activities, and local insights to deliver personalized travel plans for any type of trip. Example prompts to try:
  • “Plan a 5-day cultural exploration trip to Kyoto for a family of 4”
  • “Create a romantic weekend getaway in Paris with a $2000 budget”
  • “Organize a 7-day adventure trip to New Zealand for solo travel”
  • “Design a tech company offsite in Barcelona for 20 people”
  • “Plan a luxury honeymoon in Maldives for 10 days”
travel_planner.py

Usage

1

Create a virtual environment

Open the Terminal and create a python virtual environment.
2

Install libraries

3

Set environment variables

4

Run the agent