Skip to content
StateSet iCommerce Chat Engine

The Chat AI Agentfor Commerce

Turn product questions into purchases and support questions into resolutions. One brand-trained AI agent helps shoppers buy, helps customers get answers, and brings your team in with full context when a human is needed.

Shopping AssistantSupport AssistantHuman handoff in Chat Desk
Your brand assistant
Online now
ChatOrdersProducts
I want a simple glow routine for dry, sensitive skin.
Absolutely. I would start with a gentle serum and barrier-supporting moisturizer. Here is the best two-step match for your skin goals.
Your two-step glow routine
Hydrate · Strengthen · Glow
2 products
Why it matchesReturns policy
Ask about products, orders, or returns...
AI agent across the journey
1
shopping and support modes
2
customer-facing availability
24/7
context retained at handoff
100%
Live in production

Built for real conversations, not staged demos.

See how two beauty brands use StateSet as a customer-facing commerce agent—adapted to each brand, catalog, customer journey, and support model.

Every deployment carries the brand voice from first question through product discovery, post-purchase help, and human escalation.

Dottie, the StateSet commerce AI agent for YSE Beauty
Live now

Shopping + support

YSE Beauty

Meet Dottie, their StateSet commerce agent.

Visit live site

A brand-trained beauty advisor that helps shoppers discover products, understand routines, manage orders, and move into support flows.

Find my routineProduct questionsTrack my order
No Makeup Makeup complexion products
Live now

Product + customer care

No Makeup Makeup

Meet Beauty Assistant, their StateSet commerce agent.

Visit live site

A product and care assistant that answers brand questions, supports product discovery, and gives customers a conversational path to help.

How does it work?Help with my orderContact support

One agent, two jobs

Sell when the customer is shopping. Support when they need help.

StateSet understands the conversation, uses the right commerce context, and changes modes without sending the customer to another bot or channel.

01 / Shopping Assistant

Help every shopper find the right next product.

Guide discovery with product knowledge, concern-based recommendations, comparison, education, and rich product cards that keep the path to purchase moving.

Product discovery
Guided recommendations
Bundles and routines
Add-to-cart actions
02 / Support Assistant

Resolve the questions that happen after checkout.

Answer policy questions, surface order context, guide returns and exchanges, manage subscriptions, and escalate sensitive or complex conversations.

Order status
Returns and exchanges
Subscriptions
Human escalation

StateSet Chat Desk

AI handles the conversation. Your team stays in control.

Every live thread arrives in one operator workspace with transcript, intent, customer context, priority, ownership, and a clear path to take over.

Chat Desk

Live commerce operations

Live

Shade exchange

YSE Beauty · Product page · Maya R.

High priority
Hi Maya—what would you like to change about your current shade?
It is a little too warm. Can I exchange it for the next shade down?
AI summaryCustomer wants a cooler shade and is within the exchange window. Order context is attached for review.

Reply as a human or add an internal note…

Full context preserved
Live queue and SLA
AI summaries and intent
Assignments and internal notes
Human takeover with context
What the agent can do

From question to commerce outcome

The StateSet iCommerce Chat Engine combines brand knowledge, product context, customer context, commerce actions, and human support in one continuous conversation.

Streaming replies

Token-by-token SSE responses with optional thinking states, tool calls, tool results, and citations rendered inline.

Commerce cards

Render products, buttons, forms, and cart actions directly in the transcript instead of bouncing customers into a separate flow.

Record views

Built-in tabs for orders, products, subscriptions, returns, and exchanges keep self-service operations inside the widget.

Lifecycle APIs

Thread CRUD helpers, payload builders, response parsers, and imperative open or close controls let you wire the widget into any stack.

Provider flexibility

Run against OpenAI, Anthropic, or Gemini backends with the same route contract and the same front-end surface.

Exports and telemetry

Track message events, widget toggles, outcomes, and conversation exports without forking the component.

Production guardrails

Ready for brand, security, and support teams

The StateSet iCommerce Chat Engine was built as a product surface, not a prototype. It includes the controls you need before putting AI in front of real customers.

Widget auth tokens

Sign instances with widget tokens before they can talk to your backend.

Domain allowlisting

Restrict where the widget can be embedded across brand and partner properties.

CSP and consent

Nonce-aware scripts and consent gates keep the widget aligned with stricter policies.

Accessible by default

Keyboard support, ARIA labels, focus handling, and live-region semantics are built in.

Global rollout

Locale packs, translation overrides, and automatic RTL handling are available at runtime.

Analytics hooks

Track widget_loaded, chat_toggle, message_sent, outcomes, and feedback events.

Thread persistence

Persist sessions and thread IDs so customers can resume without starting over.

Live agent handoff

Escalate to a human while preserving context and keeping the transcript intact.

embed.html
1<script src="https://unpkg.com/react@18/umd/react.production.min.js"></script>
2<script src="https://unpkg.com/react-dom@18/umd/react-dom.production.min.js"></script>
3<link rel="stylesheet" href="https://stateset.com/chat-widget.css" />
4<script src="https://stateset.com/chat-widget.bundle.js"></script>
5<script>
6 const api = window.ChatWidget.mount({
7 container: document.getElementById('chat'),
8 props: {
9 companyName: 'Your Brand',
10 agentName: 'Aria',
11 messageEndpoint: '/api/chat',
12 threadCreateEndpoint: '/api/threads',
13 threadEndpoint: '/api/threads',
14 enableStreaming: true,
15 enableToolVisualization: true,
16 enableRichMessages: true,
17 enableSourceCitations: true
18 }
19 });
20</script>

Integration surface

Mount it once. Wire it to your stack.

The StateSet iCommerce Chat Engine ships as a UMD bundle with a small imperative API, sample servers, and request builders that let you reshape thread and message traffic without forking the UI.

  • Works in plain HTML, React, Vue, Shopify themes, and Next.js
  • Supports thread create, update, delete, and fetch flows
  • Remote settings and custom CSS can tailor the widget per brand
  • Callbacks expose send, receive, error, thread, and outcome events

FAQ

Questions teams ask before rollout

The implementation surface is flexible, but the operating model is straightforward.

Load the stylesheet and UMD bundle, then call window.ChatWidget.mount() with your endpoints and props. The same widget can sit inside a storefront, help center, or account portal.

Ship chat that can actually close the loop

Give shoppers answers, actions, and escalation paths in one place instead of sending them through email, ticket forms, and dead-end chatbots.