OPEN_SOURCE ↗
YT · YOUTUBE// 21d agoOPENSOURCE RELEASE
pi-generative-ui ports Claude-style widgets to pi
pi-generative-ui is a reverse-engineered port of Claude-style generative UI for pi, letting the agent stream interactive HTML and SVG widgets into native macOS windows instead of plain text. It turns conversational prompts into live calculators, charts, diagrams, and other browser-like UI.
// ANALYSIS
This is a sharp proof that generative UI is more of a streaming/tooling pattern than a Claude-only feature. The interesting part is not the widget demo itself, but the way it recreates the whole conversation-to-UI pipeline inside a local agent runtime.
- –The extracted design guidelines make the output feel closer to Claude’s polished conversational UI than a generic embedded webview
- –Streaming partial HTML through morphdom is the real trick here; it preserves the “UI appears as the model thinks” effect
- –macOS-only WKWebView plumbing keeps the project focused, but it also makes this more of a showcase than a universal platform
- –The repo is especially relevant for agent builders who want richer in-chat visualization without waiting for vendor support
- –Because it’s reverse-engineered, it will attract tinkerers and system builders more than teams looking for a stable long-term dependency
// TAGS
pi-generative-uiopen-sourceagentdevtoolllmself-hosted
DISCOVERED
21d ago
2026-03-21
PUBLISHED
21d ago
2026-03-21
RELEVANCE
8/ 10
AUTHOR
Github Awesome