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!


Comments URL: https://news.ycombinator.com/item?id=47439300

Points: 9

# Comments: 2