I turned Markdown into a protocol for generative UI
Hacker News (score: 45)
Found: March 19, 2026
ID: 3835
Description
Other
I turned Markdown into a protocol for generative UI
There's a lot of work happening around both generative UI and code execution for AI agents. I kept wondering: how do you bring them together into a fully featured architecture? I built a prototype:
- Markdown as protocol — one stream carrying text, executable code, and data
- Streaming execution — code fences execute statement by statement as they stream in
- A mount() primitive — the agent creates React UIs with full data flow between client, server, and LLM
Let me know what you think!
More from Hacker
No other tools from this source yet.