HappyDelivery is a functional conversational-commerce prototype that Google software engineer Prateek Khushalani presented in a Google Developers Blog article published October 27, 2026. It combines LangGraph, Gemini and Google Cloud services, but the displayed code normalizes WhatsApp and RCS messages, and all five Cloud Run webhook responses reported in the article exceeded its stated goal of under 150 ms.

How HappyDelivery’s three layers work

The prototype separates message handling into three layers: ingress, session and cart state, and an agent swarm. A FastAPI service on Cloud Run or Google Kubernetes Engine (GKE) receives a message, normalizes it and publishes it to Cloud Pub/Sub. The ingress service then acknowledges the request while a worker retrieves the session from Cloud Memorystore, which uses Redis, runs the agent workflow and saves updated cart state.

LangGraph coordinates the agents. Google’s article assigns Gemini Flash to the supervisor, which routes requests, and Gemini Pro to inventory and transaction specialists. The example Redis session has a 24-hour time-to-live, meaning the stored session expires after that period.

Which messaging channels the sample code handles

Google’s article describes WhatsApp, Google RCS Business Messaging, Apple Messages for Business and SMS/MMS as channel options. In the displayed normalize_payload sample, WhatsApp and RCS have message-normalization branches. The accompanying webhook handler shows HMAC-SHA256 signature validation for WhatsApp; its RCS branch has no corresponding validation call.

That makes the sample code narrower than the article’s list of channels: the displayed normalization paths cover two channels, and the shown signature check applies to WhatsApp.

The five reported webhook times exceed the 150 ms goal

Google’s article sets an ingress objective of less than 150 ms. Its five reported warm Cloud Run HTTPS webhook responses each took longer:

RunReported response time
1266.84 ms
2301.73 ms
3300.47 ms
4295.14 ms
5298.40 ms

The five results average about 292.52 ms. Google’s article separately attributes about 95 ms to publishing a message to Pub/Sub inside Cloud Run. The overall response times therefore exceed the stated ingress goal even though the design returns an acknowledgement before a worker completes the agent work.

Redis readings and a simulated checkout

Google reports five Redis retrievals with an average time of 0.318 ms. Those readings come from the prototype’s example instance over VPC peering; they describe retrievals, not the full message-processing path.

In the article’s three-turn simulated shopping flow, a customer requests milk and eggs, swaps Sprite for Coke Zero, then confirms the order. Under the example’s pricing rules, the final $18.77 subtotal has $1.55 in tax and no delivery fee, for a total of $20.32. The article says the transaction tool charges 2,032 cents through Stripe after confirmation. These are values from the simulated checkout, not retail offers.

The article also reports that five automated tests passed in 0.158 seconds. They cover catalog search, deterministic pricing, the three-turn flow, webhook HMAC validation and Stripe charge execution.