https://github.com/sachs7/flight_finder_and_trip_planner_crewai
A CrewAI agent based app that helps you in finding flights and planning your itinerary at the destination with top recommended places to visit
https://github.com/sachs7/flight_finder_and_trip_planner_crewai
agents ai crewai flight-finder google-flights-api gpt-4o llm openai planner serpapi streamlit travel travel-planner
Last synced: 16 days ago
JSON representation
A CrewAI agent based app that helps you in finding flights and planning your itinerary at the destination with top recommended places to visit
- Host: GitHub
- URL: https://github.com/sachs7/flight_finder_and_trip_planner_crewai
- Owner: sachs7
- License: mit
- Created: 2024-11-26T05:18:07.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-11-30T02:50:09.000Z (5 months ago)
- Last Synced: 2025-03-26T02:51:09.262Z (about 1 month ago)
- Topics: agents, ai, crewai, flight-finder, google-flights-api, gpt-4o, llm, openai, planner, serpapi, streamlit, travel, travel-planner
- Language: Python
- Homepage:
- Size: 219 KB
- Stars: 7
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Flight Finder and Trip Planner Using CrewAI
A CrewAI agent based app that helps you in finding flights and planning your itinerary at the destination with top recommended places to visit.
# Required API Keys
1. OpenAI
2. SerpAPI (for Google Flights)
3. Serper API (for web searchs)Add the above API keys in `.env` file
# How to Run:
Note: _The code is tested on Python version: 3.12.0_
1. Clone the repo
2. Install UV: `pip install uv`
3. Create virtual environment using, `uv venv --python 3.12`
4. Run `crewai install` to install all the dependencies
5. 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.# Streamlit App:
If you want to run this as a Streamlit app follow the steps:
1. Clone the repo
2. Install UV: `pip install uv`
3. Create virtual environment using, `uv venv --python 3.12`
4. Install the libraries mentioned in `pyproject.toml` dependencies section using `uv pip install xxxxxx`
5. To run the app: `streamlit run main_streamlit.py` and follow the instructions to access it in a browser# Sample Results:
## CrewAI Run:
The output is stored as a `trip_itinerary.md` file:
![]()
## Output of Streamlit app:
![]()
![]()
![]()