BigCommerce Voice Shopping

Cloudflare Workers live-capable agent scaffold

Workers AI turn endpoint ready; scripted fallback if AI is unavailable.
Realtime commerce agent demo

Voice shopping that feels like a helpful store associate.

A polished conference-ready scaffold that calls Workers AI for response text from transcript and product context, while keeping scripted fallback turns for unreliable networks, missing bindings, or model errors.

AIChatAgentDurable Object conversation brain, shopper memory, tool orchestration.
RealtimeKitLow-latency WebRTC session, audio stream transport, interruption handling.
Workers AIConversational turn generation now; Nova-3 STT and Aura-1 TTS are the next voice bindings.
bc-toolsTyped BigCommerce storefront/admin clients with deterministic fallback data.
9:41 BC Assistant
Store ConciergeIdle, ready for a live-capable turn
en-US

Tap the mic or choose a prompt to send transcript text to Workers AI.

Cart0 items

No items added yet$0.00

Voice pipeline timeline

Today transcript text reaches Workers AI; STT and TTS are the next live audio bindings.

Live-capable
CapturePrompt text stands in for microphone transcript.
Nova-3 STT nextReal speech-to-text binding will replace typed transcript input.
Workers AI + toolsAI response text uses product context; BigCommerce tools are the next search/cart path.
Aura-1 TTS nextAssistant text can be converted to speech in the next binding.

Architecture notes

The Worker is live-capable for response generation and keeps a deterministic fallback for demo resilience.

Agent runtimePromote this shell to an Agents SDK AIChatAgent backed by a Durable Object for shopper state, conversation history, and cart IDs.
WorkersAgents SDK
Realtime audioNext bind RealtimeKit for WebRTC, Nova-3 for STT, and Aura-1 for TTS around the existing Workers AI turn endpoint.
RealtimeKitWorkers AI
Commerce toolsAdapt bc-tools descriptors into AIChatAgent tools for product search, variant selection, cart mutation, and order handoff.
BigCommercebc-tools
Fallback modeScripted turns are used only when Workers AI, Wi-Fi, microphone permissions, or model latency block the live path.
Recorded flowOffline-safe

Transcript

Shopper turns call /api/voice/turn; fallback text appears only after AI failure.

Turn 0 / 4

Recommendations

Fallback product cards mirror what BigCommerce Storefront search will return.