Persona.js vs BaseRT: Detailed Comparison

Overview

Persona.js and BaseRT are two open-source tools that address different parts of the AI stack. Persona.js is a lightweight, framework-free AI chat UI library that embeds into any website, from modern apps to static HTML. It is WebMCP-native, allowing your assistant to discover and execute tools exposed by the parent page. BaseRT, on the other hand, is the fastest LLM runtime on Apple Silicon, designed to run local models on your own device with a single command.

Feature Comparison

FeaturePersona.jsBaseRT
Primary PurposeLightweight, framework-free AI chat UI library for embedding into any websiteFastest LLM runtime on Apple Silicon for running local models on-device
Installationnpm install @runtypelabs/persona or script tag via CDNSingle curl command: curl -LsSf https://basecompute.co/install.sh
Framework DependencyFramework-free (Vanilla JS), works with any stackStandalone runtime, no framework required
Backend IntegrationBackend-agnostic, SSE streaming with pluggable parsersServes models locally, compatible with any agent via API
UI ModesFloating launcher, docked copilot, fullscreen assistantNo UI; provides a model serving endpoint
Model SupportNot applicable (UI layer only)Qwen3, Llama 3.1/3.2, Gemma 3/4, Mistral, Phi-3, Nomic BERT
PerformanceLightweight, Shadow DOM isolation, no style leaksUp to 33% faster decode vs MLX/llama.cpp, up to 6.4x faster prefill
Agentic CapabilitiesWebMCP-native: discovers and executes page tools with user approvalServes models for coding agents; plugin available for pi agent
ThemingThree-layer token tree (palette, semantic, component) with dark mode and live editorNot applicable
Target PlatformAny website (modern apps to static HTML)Apple Silicon (M-series chips)

Pricing

Persona.js: Open-source and free. The library itself is free to use. There is a hosted widget option via Runtype, which may have paid tiers for advanced features like server-side flow control.

BaseRT: Open-source and free. No pricing information is available on the website, suggesting it is fully free to use.

Pros and Cons

Persona.js

Pros:

  • Framework-free, works with any tech stack including static HTML
  • WebMCP-native for agentic page tool integration
  • Multiple UI modes (floating, docked, fullscreen)
  • Shadow DOM isolation prevents style conflicts
  • Extensive theming system with dark mode
  • Backend-agnostic with pluggable SSE parsers

Cons:

  • Requires a backend SSE endpoint (not a standalone solution)
  • Limited to chat/assistant UI; no model serving capabilities
  • Relatively new library, smaller community

BaseRT

Pros:

  • Fastest LLM runtime on Apple Silicon (up to 33% faster decode)
  • Single command installation
  • Supports a wide range of popular models
  • Works offline, no data leaves the device
  • Integrates with coding agents for local AI development

Cons:

  • Only supports Apple Silicon (M-series) hardware
  • No built-in UI; requires separate frontend or agent
  • Limited to local model serving; no cloud integration
  • Smaller model selection compared to some runtimes

Verdict

Persona.js and BaseRT serve complementary but distinct roles. Choose Persona.js if you need a lightweight, customizable chat UI that integrates with any website and leverages page tools via WebMCP. Choose BaseRT if you need the fastest local LLM inference on Apple Silicon for running models offline, especially for coding agents. For a complete on-device AI assistant, you could use both together: BaseRT serves the model, and Persona.js provides the frontend.