I turned Markdown into a protocol for generative UI
21–30 of 72 posts
Re: I turned Markdown into a protocol for generative UI
#22Re: I turned Markdown into a protocol for generative UI
#23Re: I turned Markdown into a protocol for generative UI
#24I quite like this! I've been incrementally building similar tooling for a project I've been working on, and I really appreciate the ideas here. I think the key decision for someone implementing a flexible UI system like this is the required level of expressiveness. To me, the chief problem with having agents build custom html pages (as another comment suggested) is far too unconstrained. I've been working with a syst…
You're right that the level of expressiveness is the key design decision. There's a real spectrum:
- pre-registered blocks (safe, predictable)
- code execution with a component library (middle ground)
- full arbitrary code (maximum flexibility).
My approach can slide along that spectrum: you could constrain the agent to only use a specific set of pre-imported components rather than writing arbitrary JSX. The mount() primitive and data flow patterns still work the same way, you just limit what the LLM is allowed to render.
Would love to hear what you learn if you explore it!
Re: I turned Markdown into a protocol for generative UI
#25Re: I turned Markdown into a protocol for generative UI
#26Very cool. I'm imagining using this with Claude Code, allowing it to wire this up to MCP or to CLI commands somehow and using that whole system as an interactive dashboard for administering a kubernetes cluster or something like that - and the hypothetical first feature request is to be able to "freeze" one of these UI snippets and save it as some sort of a "view" that I can access later. Use case: it happens to buil…
Right now this uses React for Web but could also see it in the terminal via Ink.
And I love the "freeze" idea — maybe then you could even share the mini app.
Re: I turned Markdown into a protocol for generative UI
#27I quite like this! I've been incrementally building similar tooling for a project I've been working on, and I really appreciate the ideas here. I think the key decision for someone implementing a flexible UI system like this is the required level of expressiveness. To me, the chief problem with having agents build custom html pages (as another comment suggested) is far too unconstrained. I've been working with a syst…
Thanks! Really interesting to hear you're working on something similar. You're right that the level of expressiveness is the key design decision. There's a real spectrum: - pre-registered blocks (safe, predictable) - code execution with a component library (middle ground) - full arbitrary code (maximum flexibility). My approach can slide along that spectrum: you could constrain the agent to only use a specific set of…
Re: I turned Markdown into a protocol for generative UI
#28Re: I turned Markdown into a protocol for generative UI
#29I have been working on something with a similar goal: