1 / 3
【Overview】 Persona is an open-source chat UI library written in pure VanillaJS that you embed into a website to add an AI assistant. It mounts as a floating launcher panel, a docked side copilot, or a fullscreen assistant, and you change between those layouts through launcher config alone. Responses stream over SSE from any backend, with pluggable parsers so custom request and event shapes can be adapted through customFetch and parseSSEEvent. Through WebMCP, the assistant discovers page tools registered on document.modelContext, sends them to the agent, executes the calls on the page, and posts results back via /resume — so page actions stay in your own page code. It is built for developers adding an agentic chat UI to a website in pure JS, for teams that need a drop-in assistant for support, docs, sales, or onboarding, and for front-end teams that want page actions to remain in their own code. It is free and open source. 【Key features】 • Embeddable chat widget: Mounts an assistant launcher and panel into any page with a single initAgentWidget call or a script-tag installer. • Launcher layouts: Switches between a floating launcher panel, a docked side copilot, and a fullscreen assistant through launcher config alone. • SSE streaming from any backend: Streams responses over SSE with pluggable parsers, so any request or event shape can be adapted via customFetch and parseSSEEvent. • WebMCP tool use: Discovers page tools registered on document.modelContext, sends them to the agent, executes the calls on the page, and posts results back via /resume. • Style isolation: Renders through Shadow DOM with prefixed CSS so widget and host page styles stay fully separate. • Theming: Styles the widget through a three-layer token tree with dark mode and a live theme editor. 【Use cases】 1. Support widget: place a floating assistant on the page so visitors can ask questions without leaving the site. 2. Docs assistant: embed a docked or fullscreen helper that streams answers from an SSE backend while readers stay inside the documentation. 3. Docked copilot beside an app: run a side-panel assistant that can call page tools through WebMCP, with approval where an action mutates something. 【Pros and cons】 Pros: - Front-end teams keep ownership of page behavior: WebMCP tools live on the page and run there, so the assistant reuses existing page logic instead of a parallel implementation. - Pure VanillaJS with no framework dependency makes it straightforward to drop into an existing site and hand to developers working on any stack or SSE backend. - Shadow DOM style isolation plus a token-based theme with dark mode lets the widget fit a host site without CSS conflicts. - Open source and free to use, which suits teams that want to evaluate and adapt the widget without a commercial commitment. Cons: - Mutating WebMCP tool calls are gated: they trigger the native approval bubble and require the user to approve, adding a confirmation step to action-driven flows. 【FAQ】 Q: Which layouts can the assistant take? A: A floating launcher panel, a docked side copilot, or a fullscreen assistant, switched through launcher config alone. Q: Does it work with an existing backend? A: Yes. It streams over SSE with pluggable parsers, so any request or event shape can be adapted using customFetch and parseSSEEvent. Q: Are page actions executed automatically? A: Mutating tool calls trigger the native approval bubble and require user approval; the tool call results are then posted back to the agent via /resume.
free
WPS AI is an AI assistant built into WPS Office that helps users write documents, generate presentation outlines and…
Baidu Comate is an AI coding assistant built by Baidu on its ERNIE model. It goes beyond simple autocomplete: it…
UniConverter is an AI media conversion and enhancement tool for video, audio, and images. It combines everyday…
Added
11/13/2026
Views
32
Clicks
4
6 similar tools to consider instead of Persona