Conversational AI (artificial intelligence) · 01 / 22

Conversational AI: An Aviation Booking Platform

A complete, generic conversational AI platform for booking business-aviation ground services: architecture, AI gateway, Databricks, Prisma AIRS, Microsoft Foundry and LangSmith, end to end.

The scenario

Example Aviation (fictional) runs ground handling at about 200 airports for business-aviation operators: fuel, hangar space, ramp and handling services, crew cars, catering, de-icing and passenger lounges. Pilots, schedulers and dispatchers book by phone, email, a web portal and the schedulers' own software. Requests arrive at all hours, often with an aircraft already in the air.

The goal is a conversational booking assistant that understands a request in the guest's own words, checks it against what the airport can actually do, quotes it, holds the resources and confirms the booking, with a person stepping in whenever the rules, the risk or the guest call for one. The same platform serves chat, text message, email and a dispatcher API (Application Programming Interface), and voice is a later phase.

Everything here is fictional and illustrative: the company, airports, prices, rules, thresholds and targets are invented. Vendor product names are real; code and configuration are sketches that show the shape of an integration. Check endpoints, parameter names and feature availability against each vendor's current documentation before you build.

Architecture

Architecture of the conversational booking platform Guests and dispatchers reach a conversation service through chat, text, email or an API. The service runs a booking state machine and an agent loop. Model calls pass through an AI gateway that applies Prisma AIRS scans and routes to models. Tool calls pass through an MCP gateway to the FBO booking, hangar, fuel, customer and payment systems, and retrieval reads a knowledge index. Hard cases go to the agent desk. Traces land in the lakehouse. Channels web chat · text · email dispatcher API Conversation service booking state machine + agent loop AI gateway routing · budgets Prisma AIRS scans Models fast · reasoning fallback provider LLM calls Tool gateway (MCP) scopes · policy · audit FBO systems bookings · hangar · fuel customers · payments tool calls Knowledge (RAG) airport rules · services Agent desk handoff with context Lakehouse transcripts · evals · UC retrieve Every hop writes a trace to the lakehouse and to the tracing tool. deterministic service gateway or model agent or knowledge human
A conversation service owns the booking flow. Models are reached only through the AI gateway, enterprise systems only through the tool gateway.

The conversation service holds a deterministic booking state machine and an agent loop inside it. The model interprets what the guest wants and phrases replies; code decides what is allowed and commits the booking. Model traffic goes through an AI gateway that applies Palo Alto Networks Prisma AIRS scans. Backend systems are reached through an MCP (Model Context Protocol) gateway with scopes and audit, the same pattern as the Enterprise MCP page. Knowledge about airports and services comes from a retrieval index, the same pattern as the RAG (Retrieval-Augmented Generation) Integration page.

One conversation, with what happens behind it

A pilot books a stop at a fictional airport. The right-hand column is what the platform does while the left stays natural language.

WhoMessageBehind the scenes
PilotNeed ground handling at KTEB tomorrow, G650, landing around 14:30. Two crew, four pax. Hangar overnight if you have room.Intent: new arrival. Slots found: airport, date, aircraft type, arrival window, hangar request.
AssistantHappy to help. What is the tail number, and how much fuel do you want on departure?Missing slots: tail number, fuel. Aircraft dimensions come from the fleet table, not the model.
PilotN123EX, top it off, Jet A with prist.Tool: quote_services. Fuel price, handling fee, hangar and facility fee are computed by the pricing service.
AssistantKTEB has a G650-size hangar free tomorrow night. Estimated total: handling waived with 600 gallons or more, fuel at the posted contract rate, hangar $2,400. Shall I place a 15-minute hold?Tool: check_availability. Policy: fee waiver rule applied by code. Answer cites the airport service sheet.
PilotYes, hold it. Add a crew car and catering for four.Tools: hold_resources, request_service (crew car), request_service (catering, routed to a human if the menu is custom).
AssistantHold placed until 10:41. To confirm, reply CONFIRM, or I can pass you to the line desk.No commit yet. Confirmation must be an explicit reply from the verified account.
PilotCONFIRMTool: commit_booking with an idempotency key. The booking system returns reservation BK-20417.

The parts, and where each is covered

Business user stories

Who the platform serves and what each of them needs, with acceptance criteria and a release plan.

Architecture decisions

Why the platform has this shape, with the alternatives rejected. See the ADR (Architecture Decision Record) page.

Sequence diagrams

The key flows step by step: booking, hold and commit, grounded answers, blocked attacks, handoff and release.

AI gateway for developers

How an engineer builds against the one front door for models: aliases, keys, budgets, errors and tests.

Databricks

Governed data, the knowledge index, model serving, tracing and evaluation on one platform.

Prisma AIRS

Runtime scanning of prompts, replies and tool calls, and the threats it is configured for.

Microsoft Foundry

The same assistant built with Foundry's agent service, Azure AI Search and Entra ID (identifier).

LangSmith

The same assistant built with LangGraph and traced, tested and monitored in LangSmith.

Telemetry

OpenTelemetry traces, metrics and events for every turn, with KQL (Kusto Query Language) queries for latency, cost, guardrails and the booking funnel.

Design and delivery documents

The documents an architecture review, a security review and an operations team would ask for, each written for this platform.

Requirements and targets

These are the requirements the design was built against. The targets are planning figures for this demo, not measured results.

AreaRequirementIllustrative target
UnderstandingExtract airport, dates, aircraft, services and fuel from free textAt least 95% of requests reach a complete quote without a human
AccuracyPrices, availability and fees come from systems, never from the modelZero quotes with a price the pricing service did not produce
Commit safetyNo booking without an explicit confirmation from a verified account100% of commits carry a confirmation event
GroundingRules about airports, fees and cancellations cite a sourceEvery policy answer carries at least one citation
SecurityPrompt, reply and tool arguments scanned at runtimeScan on 100% of model and tool traffic
PrivacyTail numbers and passenger names minimised and masked in logsNo raw tail numbers in analytics tables
LatencyFirst reply streamed quickly, tool turns boundedMedian first token under two seconds
HandoffHard cases reach a person with the whole conversationA person sees every escalation inside the line desk's service level
CostCheapest adequate model per turn, budgets per channelSpend per booking tracked and capped

Suggested reading order

  1. Business user stories

    Start with who the platform serves and what each of them needs.

  2. ADRs

    Read the decisions that set the shape of the platform.

  3. Sequence diagrams

    Follow the key flows step by step across the components.

  4. Design documents

    Data model, tool contracts, integration map and non-functional requirements.

  5. AI gateway

    See how developers reach models through one governed front door.

  6. Databricks

    See where data, knowledge, serving and evaluation live.

  7. Prisma AIRS

    See how every prompt, reply and tool call is scanned.

  8. Foundry

    See the assistant on Microsoft's agent platform.

  9. LangSmith

    See the assistant on LangGraph with tracing and evaluation.

  10. Telemetry

    See how every turn is traced and measured, with queries for the questions operators ask.

  11. Assurance

    Threat model, evaluation plan and governance: how it is shown to be safe and good.

  12. Delivery

    Cost model, rollout and operating model, and runbooks for running it.

Build this for your business

This example is a booking assistant for a ground-handling network, but the same pattern, a governed gateway, runtime security, grounded knowledge, deterministic commits and measured quality, fits any customer-facing assistant that takes actions. We can scope a pilot on your own systems.

Book a discovery call