Voice AI widget
A voice AI widget for your website, live with one script tag.
The PeachDesk widget puts a live voice conversation with your agent on any website. Paste one script tag, pick a display mode, and visitors talk to your agent over WebRTC in the browser. Voice only, no text chat panel, no phone number required.
One script tag, three display modes
Add a voice agent to any website with a single script tag. Floating mode places a launcher on top of your pages. Inline mode embeds the widget in your own layout. Headless mode renders nothing and hands you a JavaScript API, so your product team builds the interface and the widget runs the conversation.
The agent behind the widget is the same one you build in the agent builder and manage through the voice agent API, so web visitors and phone callers get one consistent front desk.
<script
src="https://cdn.peachdeskai.com/peachdesk-widget.js"
data-agent="front-desk"
data-mode="floating"
async
></script>WebRTC voice, secured for the browser
The widget carries call media over WebRTC, and browser call media uses short-lived TURN credentials for the connection. No long-lived secret ships in your front end, and each session gets fresh credentials.
You also restrict the widget by domain. The script tag only serves your agent on the sites you approve, so a copied snippet pasted on someone else's page does not connect.

Where the widget fits
The widget is voice only; it is not a text chat widget. It suits any page where talking is faster than typing, from a pricing page to a support portal. Pair it with an AI receptionist agent so the same front desk answers your site and your phone lines, and drive the same agents from AI assistants through the PeachDesk MCP server.
Widget questions, answered
Is the PeachDesk widget a voice or text chat widget?
Voice only. The widget opens a live voice conversation with your agent over WebRTC in the browser; it is not a text chat widget. Visitors talk and listen, and the same agent configuration that answers your phone lines answers the widget.
Which display modes does the voice AI widget support?
Three. Floating adds a launcher button that opens the voice conversation over your page. Inline embeds the widget directly in your layout, inside a section or a contact page. Headless renders nothing at all and gives you a JavaScript API, so your own interface starts, stops, and controls the conversation.
Can I restrict which websites the widget runs on?
Yes. You restrict the widget by domain, so the script tag only serves your agent on the sites you approve. The same snippet pasted anywhere else does not connect.
How does the browser connect to the agent?
Over WebRTC. The browser establishes a WebRTC session for the call media, and browser call media uses short-lived TURN credentials for the connection, so no long-lived secret ever sits in your front end.
Ready to embed? Follow the widget documentation or explore the rest of the developer platform.
Put your agent on your website today
Create an account, publish an agent, and paste one script tag into your site.