SparkUI

Ephemeral interactive UIs for AI agents

Generate rich web pages from chat — no app install required. Pages self-destruct.

AI deserves better than text walls

😤 The Problem

AI agents are stuck in text. Macro trackers as emoji bars. Checkout flows as "paste your card number in chat." Workout timers as… countdown text?

Rich interactions squeezed into a text box. Users deserve better. Agents can do better.

⚡ The Solution

SparkUI generates real, interactive web UIs on demand. A link in chat → rich UI in browser → results back to the agent.

No app installs. No accounts. No setup. Just a URL that works everywhere and self-destructs when done.

See it in action

These buttons hit a live SparkUI server and generate real ephemeral pages. Try them — they'll self-destruct in an hour.

🍎

Macro Tracker

Daily nutrition tracking with calorie & macro progress bars, meal logging, and totals.

💳

Checkout Flow

Secure ephemeral checkout with product details, quantity, promo codes, and payment form.

⏱️

Workout Timer

Interactive exercise timer with rounds, rest periods, exercise checklists, and audio cues.

📋

Feedback Form

Multi-field form with star ratings, text inputs, selects, and real-time validation.

📊

Poll / Voting

Real-time polls with bar chart results, single or multi-select, and auto-close support.

🛒

Shopping List

Categorized, checkable shopping list with real-time sync and collaborative editing.

📅

Calendar

Day and week views with color-coded events, detail modals, and today highlighting.

Approval Flow

Request approval with approve/reject/changes buttons, comments, and confirmation dialogs.

⚖️

Comparison

Side-by-side product comparison with feature matrix, pros/cons, and selection.

Three steps. Zero friction.

🤖

Agent pushes UI

Your AI agent generates a page — pick a template or compose from 15 components — and pushes it via the REST API.

👤

User clicks link

User gets a URL in chat. One click opens a polished, interactive page in their browser. No installs. No accounts.

🔄

Results flow back

User actions stream back to the agent via WebSocket in real-time. The agent responds, adapts, and continues the conversation.

┌─────────────┐    POST /api/push    ┌───────────────┐    GET /s/:id    ┌─────────────┐
│             │ ───────────────────▶  │               │  ◀───────────── │             │
│    Agent    │                       │    SparkUI    │                  │   Browser   │
│  (AI/MCP)  │  ◀── WebSocket ─────  │    Server     │  ── WebSocket ▶ │   (User)    │
│             │   completion events   │    :3457      │   user actions  │             │
└─────────────┘                       └───────────────┘                 └─────────────┘
      

Works with your stack

Three ways to integrate — from zero-config to full control.

🐾

OpenClaw Skill

Drop-in skill for OpenClaw agents. Your agent gets sparkui_push and sparkui_compose tools automatically.

🔌

MCP Server

Works with Claude Desktop, Cursor, and Windsurf. Standard MCP protocol — just add the server config.

🌐

REST API

Simple HTTP endpoints. Push templates, compose custom pages, manage lifecycle. Works with any language.

One request. Real UI.

Push an interactive page in a single API call.

bash
curl -X POST https://your-server/api/push \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "template": "checkout",
    "data": {
      "product": {
        "name": "Flux Capacitor",
        "price": 1985.00,
        "image": "⚡"
      }
    }
  }'

# → { "url": "/s/abc123", "expiresAt": "..." }