How it works
An agent pipeline that takes plain-English trip requests, fans out across flights + hotels + cars, applies your T&E policy + loyalty preferences, and returns one approval-ready itinerary (plus two alternatives) in under 20 seconds. The production version replaces the four mocked integrations with Amadeus/Duffel, Expedia Partner Solutions, CarTrawler, and your internal HRIS + expense system. The demo ships deterministic seeded data so the flow is reproducible.
Traveler profile
- Name
- Marcus Weiland
- Title
- VP Product, Lumen Health Robotics
- [email protected]
- Home
- 2241 Filbert St, San Francisco, CA 94123
- Work
- 180 Sansome St, Floor 10, San Francisco, CA 94104
- Passport
- A1234567 (US, exp 2031)
- Seat prefs
- Aisle, front half, no bulkhead
- Meal prefs
- Standard, no peanuts
- Cost center
- PM-500 · Product Engineering
- Approver
- Linh Tran, CPO
- Card
- Brex Premium •••• 4419
- United MileagePlus · Premier 1K
UA-XY-389210 - Hyatt World of Hyatt · Globalist
HY-118822 - Hertz Gold Plus Rewards · President's Circle
HZ-7741002 - Delta SkyMiles · Platinum Medallion
DL-30041122 - Marriott Bonvoy · Titanium Elite
MB-44119923
T&E policy (10 rules)
- flightCabin class: economy default
Economy class required for flights under 6 hours. Premium economy permitted over 6 hours. Business class requires pre-approval and trip > 8 hours.
- flightAdvance purchase
Flights must be booked 14+ days in advance when possible. Same-week bookings allowed for customer escalations.
- flightPreferred carriers
Prefer United, Delta, Alaska when price within 15% of lowest fare. Avoid discount carriers without checked bag (Spirit, Frontier).
- hotelHotel nightly cap
Max $400/night. $500/night permitted in NYC, SF, and Boston metros. Conference venue rates allowed up to 125% of cap.
- hotelPreferred chains
Hyatt and Marriott preferred; leverage loyalty status for complimentary upgrades and breakfast.
- hotelProximity to venue
Hotel must be within 50 miles of meeting/conference venue. Within 5 miles preferred to reduce car-service costs.
- carRental car class
Intermediate or Standard class only. Full-size permitted with 3+ travelers. No luxury or SUV without approval.
- approvalPre-approval threshold
Itineraries over $3,000 require manager pre-approval before ticketing.
- approvalInternational trips
All international itineraries require pre-approval regardless of cost.
- loyaltyLoyalty program usage
Always attach known loyalty numbers. Prefer Hyatt Globalist + United 1K for Marcus Weiland when within price band.
What's real vs mocked
- Next.js 15 App Router + TypeScript + Tailwind
- NDJSON streaming agent pipeline over fetch
- Deterministic policy engine + optimizer
- Carbon estimate lookup table
- Playwright end-to-end golden-path test
- Flight/hotel/car search (Amadeus, Duffel, Expedia Partner Solutions, CarTrawler) — none installed, none called
- Loyalty program lookup (United, Hyatt, Hertz, Marriott)
- Vendor booking confirmations (PNR, hotel conf, car rez#)
- Email preview + calendar invite + expense coding
- Approval workflow (would integrate with Ramp/Brex/Navan)