Guided scripts showcasing ASP capabilities through natural conversation with the AI agent across all three domains.
See README.md for setup instructions.
Start: ./run.sh food_delivery then open http://localhost:8001
Step 1 — Greeting (Personalization)
The agent greets you automatically. It calls /.well-known/asp, /personalization/profile, and /personalization/promotions. You see Alex Nguyen's profile (Gold tier, 3,240 points) and three promo banners.
Step 2 — Restaurant Discovery
I'm in the mood for Italian food
Calls POST /discovery/search with category: "italian". Restaurant cards appear.
Step 3 — Browse Menu
Show me the Bella Napoli menu
Calls GET /catalog/bella-napoli/catalog. Full menu with sections and modifiers.
Step 4 — Place an Order
I'd like a large Margherita with extra mozzarella
Calls POST /checkouts with item ID, size modifier (large), and topping (extra mozzarella). Order summary shows the Gold member 10% discount.
Step 5 — Confirm & Pay
Yes, confirm my order
Calls PATCH /checkouts/{id} (sets address) then POST /checkouts/{id}/complete. Order confirmation card appears.
Step 6 — Live Tracking Auto-advances through: Confirmed → Preparing → On the Way → Delivered. Shows delivery map, delay coupon, feedback prompt, loyalty points, reorder suggestion.
python food_delivery/happy_path.pyStart: ./run.sh ride_hailing then open http://localhost:8003
Step 1 — Greeting Agent greets Jordan Chen (Silver tier, 1,580 points) with current promotions (First Ride Free, Silver Tier Bonus, Weekend Pool Deal).
Step 2 — Provider Discovery
I need a ride to the airport
Searches for ride providers. Cards show CityRide, LuxDrive, QuickPool, GreenWheels.
Step 3 — Browse Vehicles
Show me CityRide vehicles
Shows vehicle options with passenger capacity, luggage space, features, and pricing.
Step 4 — Book a Ride
Book a Sedan Ride with a child seat
Creates checkout with sedan + child seat modifier. Shows Silver tier 5% discount.
Step 5 — Confirm Ride
Confirm the ride
Sets pickup/dropoff and completes booking.
Step 6 — Live Tracking Auto-advances: Confirmed → Driver Coming → On the Way → Arrived. Shows ride map with car icon, driver feedback prompt, loyalty points.
python ride_hailing/happy_path.pyStart: ./run.sh travel then open http://localhost:8005
Step 1 — Greeting Agent greets Mia Rodriguez (Gold tier, 5,120 points) with promotions (Gold Member 10% off, Early Bird Spring 20% off, Mountain Lodge Welcome Back 15% off).
Step 2 — Accommodation Discovery
Find me a hotel in the city
Searches for accommodations. Cards show The Grand Marina Hotel, Coastal Villa Retreat, Urban Hostel Hub, Mountain Lodge & Spa, Skyline Boutique Hotel, Riverside Inn & Suites.
Step 3 — Browse Rooms
Show me rooms at The Grand Marina Hotel
Shows room listings with amenities, guest capacity, cancellation policy, and per-night pricing.
Step 4 — Make a Reservation
Book a Standard Double for 3 nights with breakfast
Creates checkout with room + breakfast modifier for 3 nights. Shows Gold member 10% discount.
Step 5 — Confirm Booking
Confirm the reservation for March 15-18, 2 guests
Updates checkout with dates and guest count, then completes. Confirmation code generated.
Step 6 — Booking Status & Interactive Check-in/Check-out After confirmation, the tracking flow begins automatically:
- Booking confirmed, check-in details sent.
- The agent asks "Would you like me to check you in?" — a Check Me In button appears. Click it.
- The agent confirms check-in and a checkout reminder appears after a short delay.
- The agent asks "Would you like me to check you out?" — a Check Me Out button appears. Click it.
- The agent confirms check-out, then shows feedback prompt, loyalty points earned, and a re-booking suggestion.
python travel/happy_path.pyThe right-side panel shows every ASP API call in real-time:
| Field | Description |
|---|---|
| Capability badge | Which ASP capability (discovery, catalog, fulfillment, tracking, personalization) |
| Method + Path | The HTTP method and endpoint called |
| Status | HTTP status code (green = success) |
| Duration | Server response time |
| Request body | What the agent sent (click to expand) |
| Response body | What the ASP server returned (click to expand) |
This demonstrates that the AI agent calls real ASP APIs over HTTP — the same protocol across all three domain verticals.