ruby-on-rails-flight-ai-agent Svelte Themes

Ruby On Rails Flight Ai Agent

A real-time flight search application with Rails + Svelte, featuring natural language processing and Server-Sent Events streaming.

✈️ Flight Agent

A real-time flight search application with Rails + Svelte, featuring natural language processing and Server-Sent Events streaming.

Quick Start

# Install dependencies
bundle install
cd frontend && npm install && cd ..

# Start the application
make server

Open http://localhost:5173

Features

  • Natural Language Search: "London to Paris", "SFO to NYC tomorrow"
  • Real-time Streaming: Progressive agent responses via SSE
  • Rich Flight Cards: Detailed information with prices, times, airlines
  • Persistent Chat: History saved in localStorage
  • Modern UI: Built with Svelte 5 and Tailwind CSS

Example Queries

Try these natural language queries:

  • "London to Paris"
  • "flights from San Francisco to New York"
  • "LHR to CDG"
  • "Miami to Chicago"

Tech Stack

Backend:

  • Ruby 3.4.1
  • Rails 8.0.0
  • ActionController::Live (SSE)
  • Faraday (HTTP client)

Frontend:

  • Svelte 5
  • Vite 7.3
  • Tailwind CSS
  • TypeScript

License

MIT

Top categories

Loading Svelte Themes