Inspiration
Travelling through an unfamiliar airport is stressful—especially when a flight is delayed, luggage goes missing, or you don't speak the local language. Critical information is scattered across outdated airport websites, PDFs, and long queues at the information desk, while generic AI chatbots frequently hallucinate gate numbers, opening hours, and legal passenger rights. We wanted to build a fast, multilingual airport assistant that passengers can actually trust.
What it does
FlyAsk (Ask the Airport) is a verified AI passenger assistant and live airport hub built for travellers in a hurry:
- Source-verified AI chat (5 languages): Answers questions in English, Ukrainian, plus the airport's local language (Slovak, German, Polish) with voice input (Web Speech API). Every answer cites clickable official sources—or honestly says it cannot confirm and points to the information desk.
- Multi-tool real-time intelligence: Combines live flight boards & gate status, terminal services (food, shops, ATMs, pharmacies, parking), city-centre public transport routes, EU/national/airport passenger rights (EC 261/2004 compensation, liquids, customs, pets, reduced mobility, lost baggage), and weather both at the airport and at your destination upon landing.
- On-demand global auto-onboarding: Pre-loaded for Košice (
KSC), Bratislava (BTS), Vienna (VIE), and Kraków (KRK), and able to discover and connect any airport worldwide by IATA/ICAO code or city name directly from open data—no manual setup required.
How we built it
- Backend & Data: Python, FastAPI, PostgreSQL + SQLAlchemy + Alembic, with an automated daily OpenStreetMap sync scheduler.
- AI Agent & Grounding: LangChain tool-calling agent with 6 specialized tools (
find_service,get_transport,airport_rules,flight_board,flight_status,weather), FAISS vector search over curated + official Your Europe EU passenger rules, structured outputs, and strict server-side source verification that blocks hallucinated claims and prompt injections. - Open Data Sources: OpenStreetMap / Overpass API (terminal POIs & local city-centre transit), Avionio (live flight boards & statuses), Open-Meteo (geocoding, time zones & hourly weather), Nominatim, and Your Europe (
europa.eu). - Frontend: Lightweight vanilla HTML/CSS/JS (zero build step, zero runtime npm dependencies) with dynamic 5-language i18n, live weather & flight cards, and Web Speech API voice input.
Challenges we ran into
- Eliminating hallucinations: Ensuring the assistant never invents gates, terminals, or opening hours—solved with structured outputs, explicit
not publishedhandling, and server-side verification checking every cited[source-id]against actual tool responses. - Scaling dynamically to any airport: Handling noisy reverse-geocoded suburbs and Overpass timeouts cleanly when auto-onboarding new airports into PostgreSQL on demand.
Accomplishments that we're proud of
- Verifiable answers (~1.1s avg. response): Every answer links directly to official sources (OSM, Avionio, Open-Meteo, Your Europe), automatically swaps country-specific rules per airport (e.g. Slovakia vs. Poland pet rules), and resists prompt injection.
- True multi-tool reasoning: Asking "What will the weather be like when I land?" automatically chains live
flight_status→ destination city & arrival time →weatherforecast. - Zero-config worldwide scaling: Searching an unlisted city like Prague or Dubai automatically discovers the airport, imports its services and transit routes, and launches a complete live airport page.
- End-to-end test coverage in 24h: 109 Python unit tests, 10 i18n dictionary tests, and 18 headless Chrome E2E browser tests—all passing with zero console errors.
What we learned
- Open data goes surprisingly far: Combining OpenStreetMap, Open-Meteo, Avionio, and EU open legal portals makes it possible to deliver genuinely useful, localized airport assistance at near-zero infrastructure cost.
Built With
- alembic
- avionio
- css3
- docker
- faiss
- fastapi
- html5
- javascript
- langchain
- langgraph
- nominatim
- open-meteo
- openstreetmap
- overpass-api
- postgresql
- pydantic
- python
- sqlalchemy
- uvicorn
- web-speech-api