
Persona is an open-source, themeable AI chat widget by its developers for adding intelligent chat to any website. It features SSE streaming, agent loops, tool use, and style isolation with zero framew
Customer support
Add a floating chat launcher to handle support, docs, sales, or onboarding without layout config.
Copilot interfaces
Dock a side panel beside your app that resizes, pushes, or overlays your layout for real-time assistance.
Fullscreen assistants
Fill a container as an app surface with an optional artifact split for immersive agent interactions.
E-commerce storefront
Use WebMCP tools to expose product search, carts, and bookings directly through the agent.
Calendar scheduling
Integrate calendar actions as WebMCP tools for booking appointments via chat.
Presentation slides
Control slides via agent-driven WebMCP tools with user approval built in.
Bakery assistant demo
Showcase agentic workflows for ordering, inventory, or custom requests in a themed demo.
Three UX modes
Choose between floating, docked, or fullscreen layouts by changing the launcher config—no changes to your agent or app required.
WebMCP-native tool use
Expose page actions like search, carts, bookings, and forms as WebMCP tools that the agent drives directly, with user approval built in.
Shadow DOM isolation
Widget and host styles stay fully separate via Shadow DOM rendering and prefixed CSS—nothing leaks in or out.
SSE streaming support
Works with any SSE backend for real-time streaming responses from your agent.
Agent loops and tool use
Supports agentic loops that can operate your app through exposed WebMCP tools without backend integration.
Lightweight vanilla JS
No framework dependencies—pure JavaScript that runs on any stack.
Simple install options
Install via npm (`@runtypelabs/persona`) or a script tag from CDN with minimal configuration.
Themeable editor
Includes a Theme Editor for customizing the widget’s look and feel.
Full-height mode
Turn off the launcher and use full-height mode to own the entire page as an app surface.
npm install @runtypelabs/persona) or include the CDN script tag in your HTML. Import the CSS and init function, then configure the widget with your SSE backend API URL. Choose your UX mode (floating, docked, or fullscreen) by setting the launcher config. For floating, use the default launcher; for docked, set mountMode: "docked" with a side and width; for fullscreen, disable the launcher and set fullHeight: true. Point the target at a DOM element (e.g., #chat or #workspace) to mount the widget.Persona is an open-source, themeable AI chat widget by its developers for adding intelligent chat to any website. It features SSE streaming, agent loops, tool use, and style isolation with zero framew
Category:Chat bot
Visit Link:https://www.persona-chat.dev/
Tags:open-source、chat widget、AI chatbot、website integration、customizable