A CrewAI agent based app that helps you in finding flights and planning your itinerary at the destination with top recommended places to visit.
- OpenAI
- SerpAPI (for Google Flights)
- Serper API (for web searchs)
Add the above API keys in .env file
Note: The code is tested on Python version: 3.12.0
- Clone the repo
- Install UV:
pip install uv - Create virtual environment using,
uv venv --python 3.12 - Run
crewai installto install all the dependencies - Run
crewai run
Caution
Google SERPAPI is used here to search for flights. If using a free tier, it shouldn't be used for commercial purposes.
If you want to run this as a Streamlit app follow the steps:
- Clone the repo
- Install UV:
pip install uv - Create virtual environment using,
uv venv --python 3.12 - Install the libraries mentioned in
pyproject.tomldependencies section usinguv pip install xxxxxx - To run the app:
streamlit run main_streamlit.pyand follow the instructions to access it in a browser
The output is stored as a trip_itinerary.md file: