Inspiration
Travellers hit two problems at once: a card charge they don't recognise, and a flight that was cancelled. Most support bots answer FAQs and stop. We wanted one that guides the customer to a finished case.
What it does
Wayfin Compass is an AI support agent for a fictional travel-card company.
- Card disputes: finds the dispute type, lists the exact evidence needed, and opens a case with a number and priority (P1 to P3).
- Flight disruptions: estimates compensation with tested code, never a model's guess.
- Evidence from Space: checks NASA EONET events (storms, volcanoes, wildfires, floods) near both airports and NOAA space weather on the flight date. It adds this as context to the claim. It never changes the verdict.
- Simple & short mode: type "simple" for short, easy answers.
- Safe handover: urgent or unsure cases go to phone or email. It refuses full card numbers.
How we built it
- eGain AI Agent trained on our own knowledge files, with guided workflows and an API action.
- A FastAPI actions service (idempotent case creation, deterministic estimator, /metrics, /dashboard) with 29 passing tests.
- Airports from OurAirports (public domain), events from NASA EONET, space weather from NOAA SWPC.
Challenges
- Keeping space data honest: it is labelled "context, not proof" and the service degrades gracefully if a source is down.
- Making compensation numbers reproducible instead of generated.
What we learned
Guided workflows plus a small, tested API beat a free-form chatbot for money and travel problems.
What's next
More airlines and rules, ICAO space-weather advisories, a claim-letter template.
All customer data is fictional. Images are illustrations made from NASA Blue Marble (public domain).## Inspiration