Back to Tools
Persona.js

Persona.js

Runtype

Lightweight open-source JS library by Runtype for building agent-powered, WebMCP-enabled chat UIs on any site.

Updated 21h ago
Open SourceCode Assistant33

About Persona.js

Persona, created and maintained by Runtype as an MIT-licensed open-source project, is a lightweight JavaScript library for building agent-powered user interfaces on the web, enabling developers to create conversational AI experiences that interact with page tools and functions through a standardized interface. Multiple layout options deploy as a floating widget, docked sidebar, or fullscreen assistant without changing agent logic, and WebMCP integration leverages the WebMCP standard to discover and safely execute page tools like search, carts, and forms with user approval built in. Style isolation uses Shadow DOM and prefixed CSS to prevent conflicts, flexible backend support works with any SSE backend including AI SDK, LangGraph, and OpenAI Agents, customizable theming offers a three-layer token system with dark mode, and the library is framework-agnostic, installing via npm or script tag.

Ready to see Persona.js for yourself?

Try Free

Key Information

Pricing
Open Source
Free Trial
No
API Access
No
Open Source
Yes
Category
Code Assistant
Developer
Runtype
Last Updated
21h ago
Website Status
Online

Features

Floating widget, sidebar, or fullscreen agent layouts
WebMCP integration for safe page tool execution
Shadow DOM style isolation from host apps
Pluggable SSE backends (AI SDK, LangGraph, OpenAI Agents)
Three-layer theming system with dark mode
Framework-agnostic, free MIT-licensed install

Pricing

Open Source
This tool is open source and free to use or modify.

Free tier available

Ready to try Persona.js?

Visit the official website and see what Persona.js can do for you.

Visit Persona.js

Disclosure: AlverHub may earn a commission if you sign up for a tool through a link on this page, at no additional cost to you. This never affects which tools we list or how we describe them — our recommendations are based on real, documented data and our published scoring methodology.

📬

The AlverHub Weekly

The 5 best new AI tools every week. Zero spam.