Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

9 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Flight Agent

An AI-powered assistant to find and book flights with ease, presenting real-time options in a rich, interactive format.

Live Demo: https://flight-agent.cycls.ai/


๐ŸŽฏ About The Project

This AI agent acts as a conversational flight booking assistant. It uses GPT-4o to understand user requests for flight searches, including details like origin, destination, and departure date. It then utilizes the Duffel API to fetch live flight data and presents the top 5 results as visually appealing, interactive HTML cards, each with a direct link to initiate the booking process.

๐Ÿ› ๏ธ Tech Stack

  • Framework: Cycls
  • Language: Python
  • APIs:
    • OpenAI API (GPT-4o): For conversational logic and understanding user intent.
    • Duffel API: For sourcing real-time flight data and offers.

๐Ÿš€ Getting Started

To run this project locally, clone the repository, create a .env file with your API keys, install dependencies, and run the agent.

# 1. Clone the repository
git clone [https://github.com/your-username/flight-agent.git](https://github.com/your-username/flight-agent.git)
cd flight-agent

# 2. Create and populate your .env file with all required keys
# Example: echo "OPENAI_API_KEY=sk-..." > .env
# Required keys: CYCLS_API_KEY, OPENAI_API_KEY, DUFFEL_API_KEY

Make the AI you love, Cycls does the rest.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages