Skip to main content
ODAI includes four travel and transportation integrations covering real-time flight tracking, flight and hotel search, Amtrak train status, and Caltrain schedules. All authenticate via server-side API keys — no user account linking is required.
Authentication: FlightAware AeroAPI key (server-side, no user action required)FlightAware provides real-time flight tracking via the AeroAPI. It searches a 48-hour window (24 hours past to 24 hours future) and returns comprehensive status information including position, delays, gate assignments, and cabin configuration.IATA to ICAO conversionThe API requires ICAO format (3-letter airline code + flight number). The agent converts IATA codes automatically:
IATAICAOAirline
DLDALDelta
AAAALAmerican
UAUALUnited
SWSWASouthwest
BABAWBritish Airways
AFAFRAir France
LHDLHLufthansa
EKUAEEmirates
QFQFAQantas
Capabilities:
  • Real-time flight status (scheduled, active, landed, cancelled, diverted)
  • Scheduled, estimated, and actual gate/takeoff/landing times
  • Departure and arrival delays (in seconds)
  • Gate and terminal assignments
  • Aircraft type, registration, and seat configuration by cabin class
  • Route, filed altitude, and airspeed
  • Codeshare flight numbers
Key functions (connectors/flightaware.py):
def get_current_flight_status(wrapper, flight_icao: str) -> dict
Queries FlightAware AeroAPI for the given flight code (ICAO format). Returns a flights array with all matching instances in the 48-hour window. Active in-air flights are prioritized. Times are returned in ISO 8601 format; display in the local timezone of each airport.Example prompts:
  • What time does United 635 land?
  • What is the status of JetBlue flight 567?
  • Is United Flight 4 delayed?
Authentication: Amadeus API client ID and secret (server-side, no user action required)Amadeus enables flight search and hotel search with real-time pricing. Flights are searched by IATA airport codes and date range. Hotels are searched by geographic coordinates. Prices are returned in USD.Capabilities:
  • One-way and round-trip flight search
  • Cabin class filter: ECONOMY, PREMIUM_ECONOMY, BUSINESS, FIRST
  • Non-stop filter
  • Multi-passenger support
  • Hotel search by latitude/longitude with star rating filter
  • Returns up to 10 flight offers or hotel offers per search
Key functions (connectors/amadeus_agent.py):
def get_flight_info(
    originIATA: str,
    destinationIATA: str,
    departure_date: str,
    return_date: str | None = None,
    adults: int = 1,
    non_stop: bool = False,
    seat_class: str = 'ECONOMY',
) -> dict
Searches for flight offers. departure_date and return_date must be in YYYY-MM-DD format. Omit return_date for a one-way search. Returns up to 10 offers with prices, schedules, and airline details.
def get_hotel_prices(
    latitude: float,
    longitude: float,
    check_in_date: str,
    check_out_date: str,
    adults: int = 1,
    children: int = 0,
    room_count: int = 1,
    ratings: list[int] = [3, 4, 5],
) -> dict
Finds hotels near the given coordinates and retrieves pricing. ratings filters by star rating (1–5). Dates must be in YYYY-MM-DD format.Example prompts:
  • Find me flights from Boston to London on July 25, 2025 returning on July 28, 2025
  • Find me first class seats on flights from Boston to London on July 25, 2025 returning on July 28, 2025
Authentication: None required (uses the public Amtraker v3 API)The Amtrak integration tracks any Amtrak train in real time using the community-maintained Amtraker API. Provide a train number to get current location, speed, delays, and upcoming station stops.Capabilities:
  • Real-time train location and speed
  • On-time status and delay information
  • Upcoming station stops with estimated arrival times
Key functions (connectors/amtrak.py):
def get_amtrak_train_status(train_number: str) -> dict
Fetches live status for the given Amtrak train number from api-v3.amtraker.com. Accepts any valid Amtrak train number (e.g., "3", "2150", "174").Example prompts:
  • Check the status of train 95
Authentication: None requiredThe Caltrain integration provides real-time train status and schedule information for the Caltrain commuter rail service in the San Francisco Bay Area.Capabilities:
  • Next train departures from any Caltrain station
  • Express vs local train filtering
  • Northbound and southbound schedules
Example prompts:
  • What is the next express train leaving San Francisco?
  • When is the next northbound Caltrain arriving at Palo Alto?

Build docs developers (and LLMs) love