MUP – Claude builds a presentation while talking, then writes game live
LLMs control live HTML UIs via function calls — no build step, any HTML becomes a MUP.
MUP (Model UI Protocol) – A protocol for embedding interactive UI in LLM chat
Single HTML files become bidirectional UI—users click, LLMs call, both see results instantly.
Developers building agentic AI applications, product teams making AI accessible to non-technical users
Gradio · Streamlit · Vercel AI SDK
MUP (Model UI Protocol) lets you embed interactive UI directly in LLM chat. Each MUP is just a single .html file. The same functions can be triggered by the user (clicking a button) or by the LLM (function call). Both sides see each other's actions in real time.
The repo includes a PoC host and 9 example MUPs. Demo mode lets you interact with the UI side without an API key. Add an OpenAI key to see full LLM-UI collaboration.
Demo videos in the README show things like: drawing pixel art then charting its colors, a camera that captures a scene and the LLM recreates it, making beats on a drum machine with the LLM.
I'd love feedback on the protocol design.
LLMs control live HTML UIs via function calls — no build step, any HTML becomes a MUP.
LLMs operate pre-built UI components instead of burning tokens regenerating Chart.js every time.
LLM-generated Markdown with embedded forms and approval gates instead of prose instructions.
Zsh-native coding agent that keeps your aliases working unlike standalone CLIs.
REPL with agentic LLM can inspect runtime and fix code—clever, but prototype-stage and insecure.
Polyglot HTML-bash self-updating docs that run Claude to research and edit in-place.