Skip navigation
Introducing an RFC for intent-driven replay-able generative UI.
0:00 / 2:33

Introducing an RFC for intent-driven replay-able generative UI.

Brayden

@BraydenWilmoth9K followers

Visit on X
418 likesDownloadOriginal post

21,915 views

Introducing an RFC for intent-driven replay-able generative UI. Generate an interface. Click a button that intends to take you to a new page, generate that page on the fly. Coming back to that page is instant. Couple of interesting topics to dive into: Infinite Software Rather than hitting dead ends in your favorite software tool with wishes it could do X, Y or Z... what if you could just tell it to add the functionality and it appears inline with the rest of the content. You get to mutate and mold the experience to your expectations. Mix capabilities from your favorite tools (e.g. Add a "create ticket" button next to a list of Github repos that when clicked automatically create a Linear task). Intents Today software is usually made as a whole, meaning every path needs to be well thought out before we can ship it. Most users don't use 100% of the surface area either and everyone seems to use it differently. With intents you can place a button on the screen with an intent, such as "Open a new page with details about this musical artist", and without having to have generated that view ever before we can ship the software. When a user clicks that button that screen will be generated on the fly! Materialize new views as you click "intents", or upsert visual changes in your existing interface. Software starts to feel magical. Persistence An important component of this RFC is the ability to persist changes over reloads, and consistently rebuild the entire UI. Page reloads reference the JSON page structure to lay it out. Tool calls and API requests are made on load to populate latest data into the slots in the UI – but we only make the calls we need. LLM calls stay totally out of the loop on every refresh, only used to amend experiences. Data Connections Bring any MCP server or OAuth service as a configuration and access their data. Write operations require human approval, read operations drive the visible UI generation. Ideal world would be you set up all your connections one time and use them anywhere you go. Github, Linear, Cloudflare, any service... you name it. UI Library Agnostic The RFC does not require use of any specific UI library so you're encouraged to bring your own. Bind specific UI components to a catalog. For example I bind "Modal" to "LayerDialog" from Kumo ( ---- Imagine not being limited by the developers vision and being able to expand upon existing products however you want. Add new functionality on the go. Today the concept works on green field projects, but will continue exploring what a product might look like if this option was given to users to mutate their UI. The RFC specifies Intents and Persistence (IAP): a JSON document format and the host behavior that lets a model-generated application be stored, reloaded and replayed predictably. Give it a read and let me know what you think!

34 Comments

Comments from the original post on X (Twitter)

  • Utkarsh Sengar's profile picture

    @utsengar

    We are building this out in Source ( and would love to collab! @YanXieAI @iamdustan

    4 likes

  • Brayden's profile picture

    @BraydenWilmoth

    @YanXieAI @iamdustan Happy to talk :)

    4 likes

  • anish's profile picture

    @justmetolife

    only generating a page when someone clicks, then making it instant on the way back, is a smart way to not pay for screens nobody opens imo

    3 likes

  • Rabi Shanker Guha's profile picture

    @rabi_guha

    I've always thought that this would be more implicit than explicit - but this is quite interesting. Where/How do you see this being deployed in the near term?

    3 likes

  • Brayden's profile picture

    @BraydenWilmoth

    Explicit gives repeatability & familiarity which from a user experience knowing what to expect each time has a lot of value. Coding harnesses, maybe websites, maybe a browser.

    1 like

  • Harsh Patel's profile picture

    @harshpatel071

    Great to see this, I have been experiment with different such interfaces myself and reached a level further (I think), here are a couple of examples:

    2 likes

  • matt rothenberg's profile picture

    @mattrothenberg

    @stevekrouse /subscribe

    2 likes

  • ⿻ patcon (is in Toronto) 🦋 @patcon.bsky.social's profile picture

    @patcon_

    This looks fuckin stellar. You thinking on patching this into the Cloudflare OS architecture? Seems to fit very well <3 Ps, you should link the GitHub repo more clearly from the page! I should def not be the only stargazer :)

    1 like

  • Brayden's profile picture

    @BraydenWilmoth

    Haha I intentionally didn’t link to it yet but you found it 😂 Thanks for the kind words. Already exploring it in Cloudflare products!

    1 like

  • ⿻ patcon (is in Toronto) 🦋 @patcon.bsky.social's profile picture

    @patcon_

    Love it. "CloudFlare employee Twitter accounts" (incl lovable traitors like Sunil) are my new social media bubble. Y'all are so high signal

  • Kwicherbelliaken's profile picture

    @slackermorris

    This is fantastic. Really does well to address that product tension of building for competing user expectations: get them to build it themselves. I tinkered with a similar solution, but the flexibility was still dictated by the product. I like this more.

    1 like

  • jem 💜🩵🩷's profile picture

    @sheherenow_

    sickkkkk

    1 like

  • Brayden's profile picture

    @BraydenWilmoth

    🧡

    1 like

  • Spencer Zhao's profile picture

    @zhao_spenc

    A teammate can start with the page you built without having to recreate the prompts.

    1 like

  • Daniel's profile picture

    @dmalmros

    Replay is the real feature here. If the same intent renders a different page twice, users stop trusting buttons. How do you pin versions?

    1 like

  • Brayden's profile picture

    @BraydenWilmoth

    Every addition & mutation updates the JSON structure, and the RFC proposes each modification to that structure increment the version by one. Pinning versions, or storing the JSON, at the moment is at the discretion of the implementation.

    3 likes

  • ⿻ patcon (is in Toronto) 🦋 @patcon.bsky.social's profile picture

    @patcon_

    @dmalmros For anyone curious on how this could work, scope out cloudflareOS architecture. Every doc/etc is essentially Google app script in steroids, where the whole implementation of the app is part of the doc (as a blueprint). So each person can have their own "Google Doc" UI using this

    1 like

  • Daniel's profile picture

    @dmalmros

    @BraydenWilmoth Docs that carry their own app blueprint is wild. Love it until two people's "Google Doc" UIs disagree on the same data. Who wins?

    1 like

  • Braydon Coyer's profile picture

    @BraydonCoyer

    A glimpse into the future 🫡

    1 like

  • Michele Settepani's profile picture

    @mico7

    🤩

    1 like