Demo Guide
What to click, who to sign in as, and what to ask — for a walkthrough, a screen recording, or your first ten minutes with the app.
Start the stack first: Quick Start. The fast path is ./scripts/dev.sh --demo, which pulls prebuilt images rather than building.
Try it without installing anything
The static preview (https://nitinksingh.com/e-commerce-agents/preview/) is the web UI replaying the tour’s recorded answers in your browser. No stack, no key. It cannot answer anything that was not recorded; for that, run the stack.
No-key mode
./scripts/dev.sh --demo --no-key (PowerShell: ./scripts/dev.ps1 -Demo -NoKey) runs the whole stack on recorded model responses, so it needs no API key. docker-compose.nokey.yml hardcodes LLM_PROVIDER=replay, DEMO_TOUR_ENABLED=true and the settings that shape prompts, so the recorded answers always match. The chat shows suggested prompts (the tour); each one has a recorded answer. A prompt that was not recorded is reported in the chat as a replay miss and offers the suggestions again. The stack stays up either way.
Sign in as tour@example.com / tour123: a dedicated account whose orders the tour depends on, with a delivered order over $500 for the return flow. Reset demo in the chat puts it back after a run. alice.johnson@gmail.com / customer123 also has recordings, for the scenarios listed under Demo Scenarios below (1 to 8, the handoff and pre-purchase prompts of 9, and the Allbirds prompts the demo clip uses). It also has the prompts the Playwright specs send (the greeting for five accounts, the generative-UI, shopping, follow-up and grounding prompts); the key-free Playwright run is E2E_NO_KEY=1 pnpm exec playwright test, and it reports the tests that send an unrecorded prompt as skipped. Other accounts and reworded prompts miss.
The recordings are agents/python/demo/fixtures/replay/, and agents/python/demo/fixtures/manifest.json says which prompt each one answers. They are fixed answers: a date or a count in one (“21 days left in the return window”) is as of the recording. Two limits. A prompt that changes data (a return, a checkout) changes what a later prompt sees, so run the tour from a fresh stack (--clean) or use Reset demo. The same goes for the database’s age: the 60-day price window of “is it a good deal?” holds 59 points on a fresh seed and fewer as the seed ages, and the recording was made on a fresh seed. And the two workflow modes, pre-purchase and return-and-replace, call no model, so there is nothing recorded for them and nothing to miss.
The README clip and the stills in these docs are recorded on this stack by scripts/record-demo.sh (the clip) and scripts/record-demo.sh --stills (the stills), driven by web/e2e/readme-gif.spec.ts; both need ffmpeg and skip unless RECORD_MEDIA=1, which the script sets.
Test Users
Pre-seeded accounts for testing different roles. These credentials belong to the local demo data the seeder creates and nothing else: a deployment to Azure generates its own staff passwords, and none of these should exist outside a throwaway environment.
| Password | Role | Loyalty Tier | |
|---|---|---|---|
admin.demo@gmail.com | admin123 | Admin | Gold |
support.demo@gmail.com | support123 | Support (staff) | Bronze |
seller.demo@gmail.com | seller123 | Seller | Bronze |
seller2.demo@gmail.com | seller123 | Seller | Bronze |
alice.johnson@gmail.com | customer123 | Customer | Gold |
bob.smith@gmail.com | customer123 | Customer | Silver |
support is a staff role: it reviews approvals that policy routes to support (admin acts as manager and can do everything support can). power.demo@gmail.com / power123 is a power_user (a customer variant with access to every agent).
Agent Catalog
| Agent | Port | Description | Key Tools |
|---|---|---|---|
| Customer Support (Orchestrator) | 8080 | Routes requests to specialists via A2A | call_specialist_agent |
| Product Discovery | 8081 | Search, semantic search, comparisons, trending | search_products, semantic_search, compare_products |
| Order Management | 8082 | Order tracking, cancellation, returns, refunds | get_user_orders, cancel_order, initiate_return |
| Pricing & Promotions | 8083 | Coupon validation, cart optimization, loyalty | validate_coupon, optimize_cart, get_active_deals |
| Review & Sentiment | 8084 | Sentiment analysis, fake review detection | analyze_sentiment, detect_fake_reviews |
| Inventory & Fulfillment | 8085 | Stock, shipping estimates, fulfillment planning | check_stock, estimate_shipping |
Demo Scenarios
Try these in the chat after logging in:
- Product Search: “Find me wireless headphones under $300 with good noise cancellation”
- Comparison: “Compare the Sony WH-1000XM5 with AirPods Max”
- Order Tracking: “Where’s my latest order?”
- Return Flow: “I want to return my last order”
- Price Check: “Is the Logitech MX Master 3S a good deal right now?”
- Review Analysis: “What do people think about the Dyson V15?”
- Stock Check: “Is the Dyson V15 Detect in stock?”
- Multi-Intent: “Return my jacket and find me a warmer one under $200”
A coupon works once per user. No seeded order carries a coupon code, so every demo account can still use WELCOME10 (the Power User’s cart already holds it). After a checkout with a code, applying that code again answers “You have already used this coupon”; cancel the order to free it, or use another code. /api/demo/reset deletes the tour user’s orders, so that account gets its coupons back; other accounts keep theirs used until the order is cancelled.
Switch the orchestration pattern
The same orchestrator can coordinate the specialists five different ways. These three scenarios are the quickest way to see what that means:
-
Change the mode. Above the chat composer, open the Mode dropdown and pick Handoff Mesh, then ask “Where’s my latest order?”. Pick Pre-Purchase Research and ask “Should I buy the Sony WH-1000XM5?”. The mode’s graph is drawn with the answer and highlights each node as it runs.

The graph mid-run: finished nodes turn green while the rest of the fan-out is still pending. The two workflow modes call no model and finish in milliseconds, so this frame is from a take where the stream frames are spaced out (
web/e2e/readme-gif.spec.ts); with a live model the pacing is its latency. -
Compare modes on one prompt. Click Compare beside the dropdown, enter one prompt and select several modes. Each gets a result card with its answer, latency, tokens and estimated cost, and the graph it took. Measured numbers are in the orchestration benchmark.

Four modes on a keyed stack. On the no-key stack only the two workflow modes can answer here, because Compare calls each model-backed mode with a request of its own and no recording matches it:

-
Approve a paused return. Sign in as
tour@example.com/tour123, the account seeded with a delivered order over the $500 approval threshold (Alice’s most recent order is delivered too, but it is a smaller return that policy may approve without a pause). Pick Return & Replace and ask “I want to return my last delivered order”. The run pauses at the policy gate, nothing is created, and the chat shows “Awaiting staff review”.
Sign in as a reviewer in another browser and open Approvals. This return is over half the customer’s lifetime spend, so policy routes it to a manager: use
admin.demo@gmail.com. Choose Approve or Reject. The run resumes from its checkpoint and finishes as the customer; a rejected return leaves no return row behind. An admin can also decide from Runs, where the run is marked “Needs approval”.A smaller return is routed to support instead. Ask as
alice.johnson@gmail.comto return a specific delivered order of about $50 and it appears insupport.demo@gmail.com’s inbox:


The same page from a clean no-key take, regenerated by
scripts/record-demo.sh --stills.The released 1.4.0 images predate the inbox fix: there, Approvals is admin-only and lists tool approvals only, so decide from Runs as an admin. See approvals.
Screens
Screenshots — guest browsing, the AI shopping flow, and the platform (click to collapse)
### Guest experience (no login required) Anyone can browse the catalog, use the AI shopping assistant, and explore product details without creating an account.![]() |
| Product detail — full info, pricing, reviews, and stock status |
![]() |
| AI shopping assistant — product questions answered via multi-agent routing, no login needed |
![]() |
| Find a product — orchestrator routes to Product Discovery; results render as interactive cards |
![]() |
| Add to cart — ask the assistant; it calls the cart API and confirms with a card |
![]() |
| View cart — the agent renders a cart summary with totals and a checkout link |
| Track an order — Order Management agent returns live status and shipment detail |
![]() |
| Return / refund — agent initiates the return flow and issues a return label |
![]() |
| Generative UI — the Review & Sentiment agent's data renders as an interactive card: a rating-distribution bar chart, a 6-month trend line chart, and tone-coded pros/cons, all picked from the shape of the data itself, not a fixed template |
![]() |
| Agent timeline — orchestrator → specialist → tool routing surfaced live in chat |
![]() |
| Product storefront — authenticated view with cart and account access |
![]() |
| Agent marketplace — browse, request, and manage specialist agent access |
![]() |
| Admin dashboard — usage analytics, approval queues, and audit log |
![]() |
| Seller dashboard — product catalog and order management |
Source: docs/demo-guide.md — this page is generated from the repository.











