The scenario
Example Corp (fictional) is a global company whose staff travel for work. It has a legal and moral duty to look after them. When an earthquake, a riot or an outbreak happens, it must quickly know which colleagues are affected, reach them, help them and be able to show what it did. Today that means a spreadsheet, a phone tree and a security intelligence subscription that someone has to remember to read. At the same time, employees do not want their employer tracking them, and privacy law limits what can be collected.
The platform finds exposed travelers from bookings and voluntary check-ins, sends approved messages automatically and fast, and makes sure every exposed traveler ends in a known state before an incident can close. The matching and alert rules are deterministic and independent of AI. A duty officer decides anything beyond a template. There is no tracking outside travel, no covert location and no profiling. One rule runs through every page: if the platform cannot tell where someone is, it says so and asks, and it never guesses silently.
This is a speculative architecture exercise. Duty of care for travelling employees is real, and so are the privacy questions about knowing where people are. The design here is deliberately restrained: location comes only from bookings and voluntary check-ins, only during business travel, with no covert tracking. Nothing here is legal advice. The company, travellers, thresholds and figures 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, and take advice on the law where you operate.
Architecture
The path from a risk event to a message on a traveler's phone is deterministic code with its own redundancy. AI sits beside it, advising on severity and drafting documents. If every model were switched off, exposed travelers would still be found, messaged and tracked to a known state, and the duty officer would still decide.
One incident, with what happens behind it
An incident from booking to record. The right-hand column is what the platform does.
| Step | What happens | Behind the scenes |
|---|---|---|
| Book | A traveler books flights and a hotel in Manila through the travel management company. The booking flows into the register for the dates of the trip. | The register holds itinerary facts only for the travel dates. Nothing is collected from the traveler's phone unless they opt in. |
| Opt in | The traveler installs the app and chooses to share check-ins. They can share a city-level location when they choose, and nothing in the background. | Consent is recorded with its scope. The traveler can withdraw any time. |
| Event | A strong earthquake is reported near the city. A feed delivers a structured event with an area and time. | The event is parsed to an area and severity band. No model decides whether it is real. |
| Match | The exposure matcher finds nine travelers with hotels or flights inside the affected area at the event time. | The match is deterministic: area, time and register. It runs within a minute. |
| Alert | The alert engine sends each of the nine an approved message asking them to confirm they are safe, and tells the duty officer. | Messages come from approved templates. A custom message needs a duty officer's approval. |
| Account | Seven confirm they are safe. Two do not answer. The muster tracker keeps them open and escalates to the duty officer. | An incident cannot close while any exposed traveler is unresolved. |
| Decide | The duty officer calls the two, reaches one, and asks the assistance provider to check on the other. The risk advisor suggests the area stays high risk for 48 hours. | People decide. Advice appears with its uncertainty and cannot send, close or evacuate. |
| Record | The copilot drafts the incident report for the duty officer, who edits, signs and files it. Location data is deleted after the trip as the policy says. | Language-model assistance is limited to documentation. Filing is a signed act. |
The parts, and where each is covered
The traveler register
Itineraries from bookings for the dates of travel, and optional check-ins, under recorded consent.
Exposure matching and alerts
Deterministic matching of risk events to travelers and automatic approved messages.
Accountability
Every exposed traveler ends in a known state, and an incident cannot close until they do.
The duty officer
A console where people decide escalations, assistance and evacuations, with advice shown beside it.
Platform
The AI gateway for language-model assistance, a travel gateway, the lakehouse for aggregates, security scanning and observability.
Assurance
Threat model, evaluation plan, governance and runbooks that make it safe to run.
Design and delivery documents
The documents a security director, a privacy officer, a regulator and a travel operations team would ask for, each written for this platform.
- Business user stories: Personas, epics, acceptance criteria and a release plan.
- Architecture decisions: The eleven decisions behind the shape of the platform.
- Sequence diagrams: Itinerary ingest, an alert, a muster, an escalation, deletion after the trip and an incident report.
- Diagram gallery: The pertinent diagrams in one place.
- Data model and classification: Entities, classification and retention, with location and health-related data.
- Tool and API (Application Programming Interface) contracts: The tool catalogue, OpenAPI and MCP (Model Context Protocol) definitions, and what AI may never call.
- Integration map: The travel company, risk feeds, communications, assistance providers and HR.
- Non-functional requirements: Alert timing, availability, capacity and a degradation ladder where safety alerts never degrade.
- Threat model: Spoofed events, alert abuse, location data theft, insider misuse and denial of service.
- Evaluation plan: Exposure accuracy, alert timing, fairness across regions and languages, and release thresholds.
- Responsible AI and governance: Duty of care law, privacy, consent, travel risk standards and oversight.
- Cost and FinOps model: Cost per trip and per traveler, and the value of a faster response.
- Rollout and operating model: From simulation to company-wide use, with gates and responsibilities.
- Agile delivery plan: Two-week sprints for the software workstream, roadmap and capacity.
- Runbooks and incident playbooks: A major incident, unreachable travelers, a feed failure and a data exposure.
- References and further reading: Standards, advisories, feeds, laws and research.
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 |
|---|---|---|
| Find travelers | Travelers in an affected area are found from bookings and check-ins | At least 99% of exposed travelers matched within 1 minute of the event |
| Alert fast | Exposed travelers get an approved message | Within 5 minutes of the event for 95% |
| Account for everyone | Every exposed traveler ends in a known state | 100% resolved or escalated; closure blocked otherwise |
| People decide | Escalations, custom messages and evacuations need a duty officer | 100% carry an officer's decision; none from AI |
| Fail loud | A missing feed or stale register raises an alert, never silence | Staleness alert within 5 minutes |
| Independence | A failure of any AI component cannot weaken matching or alerts | Verified by fault injection in every release |
| Privacy | Location only from bookings and voluntary check-ins, only during travel | No background tracking; location deleted within 30 days of return |
| Fairness | Every traveler gets equal protection regardless of region, language or role | Alert and response metrics within tolerance across groups |
| Security | Register, alerts and the console protected against abuse | Authenticated feeds; signed approvals; no unscanned model traffic |
| Audit | Every alert, decision and message traceable | Complete record kept for the legal period |
Suggested reading order
Business user stories
Start with who the platform serves and what each of them needs.
ADRs (Architecture Decision Records)
Read the decisions that set the shape of the platform, starting with the privacy and safety ones.
Sequence diagrams
Follow the key flows step by step across the components.
Diagram gallery
See the most pertinent diagrams from every page in one place.
Design documents
Data model, tool contracts, integration map and non-functional requirements.
AI gateway
See how developers reach language models, for documentation only, through one governed front door.
Databricks
See where aggregates, models, serving and evaluation live.
Prisma AIRS
See how documents and tool calls are scanned.
Foundry
See the incident copilot on Microsoft's agent platform.
LangSmith
See the documentation workflow on LangGraph with tracing and evaluation.
Telemetry
See how software behaviour is traced and measured, without exact locations.
Assurance
Threat model, evaluation plan and governance: how it is shown to be safe and fair.
Delivery
Cost model, rollout, agile plan and runbooks for building and running it.
Build this for your business
This example is speculative, but the same pattern, minimal and consented data, deterministic rules for every safety duty, a governed gateway, runtime security, advisory-only AI and accountable people, fits any service that looks after people. We can scope a pilot on your own systems.
Book a discovery call