Retail & E-Commerce
Live shopper and catalog graphs for retail AI agents
Connect shoppers, sessions, products, categories, brands, price bands, and review themes into one real-time graph — so merchandising and retention agents reason over live behavior without scanning clickstream logs.
From raw clickstream to an agent-readable retail graph
E-commerce clickstreams and order tables grow fast and fragment intent across sessions. JetGraph folds streaming catalog and shopper events into compact relationships:
- Shopper behavior:
USER -[:VIEWED]-> PRODUCT,CLICKED,COMPARED,ADDED_TO_CART, andPURCHASED, updated in place with recency, counts, value histograms, and 21-tick activity bitmaps. - Catalog & basket structure:
PRODUCT -[:BELONGS_TO]-> CATEGORY,MADE_BY -> BRAND,IN_PRICE_SEGMENT -> PRICE_RANGE,GOOD_FOR -> FEATURE,BOUGHT_WITH, andCOMPATIBLE_WITH. - Voice of the customer:
PRODUCT -[:HAS_REVIEW_THEME]-> REVIEW_CLUSTERandPOPULAR_WITH -> BUYER_SEGMENT.
Questions retail agents answer over MCP
- High-intent cart abandonment: use
get_edge_stateorcypher_readto compare recentVIEWED/COMPARED/ADDED_TO_CARTactivity against missingPURCHASEDpairs. - Basket affinity & cross-sell: walk
BOUGHT_WITHandCOMPATIBLE_WITHneighbors or runfind_similaracross sharedPURCHASEDandCATEGORYedges. - Category & price-band drift: compare a shopper's
get_histogramacross 24 hours vs 30 days to see when a buyer shifts categories or cools off. - Merchandising triage: ask why conversion dropped in a category by combining
HAS_REVIEW_THEMElinks, stock/price properties, andADDED_TO_CARTvsPURCHASEDcounts.
Compact footprint on high-volume clickstreams
Millions of repeat views and cart events update existing (USER, PRODUCT) compact records rather than appending unbounded rows — keeping in-memory footprint proportional to unique shopper-product interactions and letting idle browsing edges expire via state_ttl_secs.