# Michaelliv/pi-generative-ui

Claude.ai's generative UI — reverse-engineered, rebuilt for pi. Interactive HTML/SVG widgets in native macOS windows.

Repository: https://github.com/Michaelliv/pi-generative-ui
Canonical: https://ross.abutalabs.com/products/pi-generative-ui
Language: TypeScript
License Family: other
Last push: 2026-06-03T21:47:53+00:00

## Health v2 (maintenance only)
Score: 67/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 85, release rhythm 75, longevity 12
- inputs: {"age_days": 174, "days_push": 91, "days_rel": 91, "gap_med": 80, "n_releases_24m": 2}
- flags: young, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1153, forks 74 (observed 2026-08-28T04:03:47.474362+00:00)

## What it is
A pi extension that replicates Claude.ai's generative UI system, letting an LLM stream interactive HTML/SVG widgets (sliders, charts, animations) into native windows via Glimpse. It adds show_widget and visualize_read_me tools so the LLM can render live HTML applications as tokens arrive, with morphdom-based smooth updates and SVG export.

## Use cases
- show interactive visual explanations of concepts like compound interest
- visualize architecture diagrams as labeled SVG from an LLM
- create live dashboards with charts and metric cards from data
- render canvas animations like particle systems generated by an LLM
- stream HTML widgets into native windows as the LLM generates tokens
- export LLM-generated SVG diagrams to clipboard or file

## When to choose
- you use the pi coding agent and want Claude.ai-style generative UI widgets
- you want LLM output rendered as interactive HTML in a native window instead of a code block
- you need streamed, live-updating visualizations with Chart.js, D3, or Three.js

## When to avoid
- you don't use pi or Glimpse and can't install its native dependencies
- you need widgets to send user input back to the agent (widgets are display-only)
- you require a permissively licensed dependency (the repo has no license)

## Facets
- artifact type: plugin
- maturity: active
- function: ui-components, data-visualization, templating, llm-inference, agent-framework
- domain: developer-tools, artificial-intelligence, data-visualization, frontend
- platform: windows, cross-platform
- tags: generative-ui, pi-extension, llm-tools, html-widgets, morphdom, glimpse, claude-ai, macos, linux

## Member repositories
- Michaelliv/pi-generative-ui (main) score 67

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:47.474362+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:33:25.734613+00:00, confidence not recorded.
  - readme: https://github.com/Michaelliv/pi-generative-ui (fetched 2026-08-28T04:03:47.474362+00:00, sha 2ce0d1f0c6ff)
- Data as of 2026-08-30T08:39:29.467469+00:00.
