Try it now
Click the orange button in the bottom right. Say hello, tap a topic chip, search the conversation, or try the emoji picker and the expand button.
How this demo is wired
This page is the Space demo. It loads the widget from widget/. The widget calls the backend endpoint in window.MUSE_SUPPORT_ENDPOINT, which defaults to /api/chat.
window.MUSE_SUPPORT_ENDPOINT = "/api/chat";
No backend is connected on this static demo page, so a message gets a clear offline reply. That is the graceful fallback. Deploy worker/worker.js on Cloudflare, point the endpoint at it, and the same widget gets live replies.
Widget Lab
Change the agent name, greeting, accent color, and position by setting window.MUSE_SUPPORT_CONFIG before the widget script loads. See README.md for the full list.
- Agent name and greeting
- Accent color
- Left or right position
- Proactive "Need help?" bubble
What is inside
- Search inside the conversation with highlighted matches
- 6 topic shortcuts
- Expandable window, emoji picker, auto-growing input with 0/2000 counter
- Bold formatting in AI replies, typing timer, scroll-to-latest, delivered ticks
- Transcript download and end-of-chat 1-5 star rating
- Live stats: message count, avg reply time, thumbs up/down, average stars