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
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.
| Who | Message | Behind the scenes |
|---|---|---|
| Pilot | Need 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. |
| Assistant | Happy 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. |
| Pilot | N123EX, top it off, Jet A with prist. | Tool: quote_services. Fuel price, handling fee, hangar and facility fee are computed by the pricing service. |
| Assistant | KTEB 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. |
| Pilot | Yes, 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). |
| Assistant | Hold 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. |
| Pilot | CONFIRM | Tool: 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.
- Data model and classification: Entities, classification matrix, retention and deletion.
- Tool and API contracts: The tool catalogue, OpenAPI and MCP definitions, errors and idempotency.
- Integration map: How the assistant reaches FBO (Fixed-Base Operator), pricing, inventory, payments and notifications.
- Non-functional requirements: Performance, availability, capacity, degradation and recovery.
- Threat model: STRIDE register, OWASP mapping, attack tree and residual risk.
- Evaluation plan: Test layers, dataset, metrics, judges and a sample scorecard.
- Responsible AI and governance: Principles, NIST (National Institute of Standards and Technology) mapping, system card and oversight.
- Cost and FinOps model: Cost per conversation and booking, levers and build-or-buy.
- Rollout and operating model: Phases, go and no-go gates, RACI (Responsible, Accountable, Consulted, Informed) and training.
- Agile delivery plan: Two-week sprints, roadmap timeline, workflow, estimates and capacity.
- Runbooks and incident playbooks: Severity levels, safety switches and first-response playbooks.
Requirements and targets
These are the requirements the design was built against. The targets are planning figures for this demo, not measured results.
| Area | Requirement | Illustrative target |
|---|---|---|
| Understanding | Extract airport, dates, aircraft, services and fuel from free text | At least 95% of requests reach a complete quote without a human |
| Accuracy | Prices, availability and fees come from systems, never from the model | Zero quotes with a price the pricing service did not produce |
| Commit safety | No booking without an explicit confirmation from a verified account | 100% of commits carry a confirmation event |
| Grounding | Rules about airports, fees and cancellations cite a source | Every policy answer carries at least one citation |
| Security | Prompt, reply and tool arguments scanned at runtime | Scan on 100% of model and tool traffic |
| Privacy | Tail numbers and passenger names minimised and masked in logs | No raw tail numbers in analytics tables |
| Latency | First reply streamed quickly, tool turns bounded | Median first token under two seconds |
| Handoff | Hard cases reach a person with the whole conversation | A person sees every escalation inside the line desk's service level |
| Cost | Cheapest adequate model per turn, budgets per channel | Spend per booking tracked and capped |
Suggested reading order
Business user stories
Start with who the platform serves and what each of them needs.
ADRs
Read the decisions that set the shape of the platform.
Sequence diagrams
Follow the key flows step by step across the components.
Design documents
Data model, tool contracts, integration map and non-functional requirements.
AI gateway
See how developers reach models through one governed front door.
Databricks
See where data, knowledge, serving and evaluation live.
Prisma AIRS
See how every prompt, reply and tool call is scanned.
Foundry
See the assistant on Microsoft's agent platform.
LangSmith
See the assistant on LangGraph with tracing and evaluation.
Telemetry
See how every turn is traced and measured, with queries for the questions operators ask.
Assurance
Threat model, evaluation plan and governance: how it is shown to be safe and good.
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