惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

博客园 - 聂微东
罗磊的独立博客
S
SegmentFault 最新的问题
The GitHub Blog
The GitHub Blog
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
L
LINUX DO - 最新话题
Webroot Blog
Webroot Blog
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
Microsoft Azure Blog
Microsoft Azure Blog
GbyAI
GbyAI
T
Tenable Blog
Help Net Security
Help Net Security
WordPress大学
WordPress大学
H
Heimdal Security Blog
SecWiki News
SecWiki News
V2EX - 技术
V2EX - 技术
C
CERT Recently Published Vulnerability Notes
P
Privacy International News Feed
T
Tailwind CSS Blog
L
LINUX DO - 热门话题
Scott Helme
Scott Helme
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
O
OpenAI News
Latest news
Latest news
月光博客
月光博客
L
LangChain Blog
Google DeepMind News
Google DeepMind News
爱范儿
爱范儿
I
InfoQ
T
Threat Research - Cisco Blogs
人人都是产品经理
人人都是产品经理
Forbes - Security
Forbes - Security
Recent Commits to openclaw:main
Recent Commits to openclaw:main
博客园_首页
雷峰网
雷峰网
T
Tor Project blog
Security Archives - TechRepublic
Security Archives - TechRepublic
G
GRAHAM CLULEY
Project Zero
Project Zero
MyScale Blog
MyScale Blog
V
V2EX
Vercel News
Vercel News
F
Fortinet All Blogs
The Register - Security
The Register - Security
N
News and Events Feed by Topic
P
Palo Alto Networks Blog
H
Hacker News: Front Page
Application and Cybersecurity Blog
Application and Cybersecurity Blog
博客园 - 司徒正美

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant Common SOC 2 Failures (Real World) Stop Vibe-Checking Your AI App: A Practical Guide to Evals How to Use SonarQube and SonarScanner Locally to Level Up Your Code Quality Your Next To-Do App Is Dead — I Replaced Mine with an OpenClaw AI Sign a Nostr event in 60 lines of Python using coincurve — no nostr-sdk, no nbxplorer, no rust toolchain ITGC Audit Explained Like You’re in Big 4 Patch Tuesday abril 2026: Microsoft parcha 163 vulnerabilidades y un zero-day en SharePoint Stop scraping everything: a better way to track competitor price changes Listing on MCPize + the Official MCP Registry while routing payments OUTSIDE the marketplace — how I kept 100% of my x402 revenue Building an AI-Powered Risk Intelligence System Using Serverless Architecture Why We Ripped Function Overloading Out of Our AI Toolchain Testing AI-Generated Code: How to Actually Know If It Works SaaS Churn Is Killing Your Business. Here Is What to Do About It (Without a Support Team) The Speed of AI Is No Longer Linear - And Self-Improving Models Are Why How to Implement RBAC for MCP Tools: A Practical Guide for Engineering Teams From Standard Quote to Persuasive Proposal: AI Automation for Arborists I built a CLI that scaffolds complete multi-tenant SaaS apps Axios CVE-2025–62718: The Silent SSRF Bug That Could Be Hiding in Your Node.js App Right Now The dashboard that ended our friendship Data Pipelines Explained Simply (and How to Build Them with Python) The Hidden Cost of AI Systems Nobody Talks About. undefined vs undeclared, and how typeof behaves Switching from file-based jobs to NATS/Kafka in Rust without changing code io_uring Adventures: Rust Servers That Love Syscalls Why Agentic AI is Killing the Traditional Database The POUR principles of web accessibility for developers and designers Quantum Neural Network 3D — A Deep Dive into Interactive WebGL Visualization How To Install Caveman In Codex On macOS And Windows Automation Pipeline Reliability: Why Your Workflow Breaks When Nobody Is Watching I Built an 'Open World' AI Coding Agent — It Works From ANY Folder From Freelancing to Product: A Tech Service Company's SaaS Transformation China's AI Giants: Adding Tencent Hunyuan & ByteDance Doubao to AI University (74 Providers) On the Vibe Coders and Their Lies clerk: Auto-Summarize Your Claude Code Sessions AI Weekly — 2026/04/10–04/17 | The Model Lockdown Is Here, but the Toolchain Is the Real Battleground AI 週報 — 2026/04/10–2026/04/17 模型封鎖潮來了,但工具鏈才是真戰場 Maybe this is how Open-Source apps are born... 🚀 Fine-Tune LLMs with LoRA and QLoRA: 2026 Guide tRPC v11 + Next.js App Router: End-to-End Type Safety Without the Boilerplate ShadCN UI in 2026: Why I Stopped Installing Component Libraries and Started Owning My Components SaaS Billing in React Server Components: Stripe + Supabase Without a Single `useEffect` Join our DEV Weekend Challenge — $1,000 in Prizes Across TEN winners! Submissions Due April 20 at 6:59 AM UTC. Implementing FSRS Spaced Repetition in Flutter + Supabase — Adding Memory Science to an AI Learning App "I Texted My Localhost From the Train — Claude Code Fixed the Bug Before I Got Home" I Built a Sales Prep AI and It Went Deeper Than Expected Design to Code #2: One JSON, Eleven Outputs Solving the 100M-Row Problem: A Summary Table Pattern for High-Volume Push Notification Logs Flutter Web With Wasm: What Actually Changes For Developers I Built 50 Royalty-Free Soundtracks for My Side Project in a Weekend Using AI Music Generation The Vibe Coding Security Checklist: 7 Things to Check Before You Ship Stop Letting Googlebot Guess Fix Your React App's SEO Right Desconstruindo o Streaming do LinkedIn: Como Criar um Engine de Extração de Vídeo de Alta Performance com HLS e FFmpeg (EDA Part-1) EDA (Exploratory Data Analysis) Explained With Real Life — Why Looking at Your Data Is the Most Important Step in Machine Learning Brand Relationship Management at Scale: Our 4-Touch Outreach System for 200+ Brands Why String.fromEnvironment() Might Return an Empty String in Dart JGuardrails 1.0.0 — Hardening Java LLM Apps Against Jailbreaks, Toxicity, and Prompt Injection Plan and Schedule a Full Week of Threads Content From One Claude Conversation Coding Cat Oran Ep3, Five Tables Changed Everything Updated: BFF Pattern I'm done watching freelancers get buried by 200 proposals. So I'm building the alternative. This is my first post BFS Algorithm in Java Step by Step Tutorial with Examples Tracking LLM Pricing Monthly: An Open Dataset for 22 AI Models How We Measure Content ROI on a Comparison Site: Revenue Attribution Without Perfect Data Introducing Nova AI Ops: The AI-Native Operating System for SRE Teams I built a free desktop video downloader for Windows — Grabbit How Talkie OCR Helps Vision-Impaired & Dyslexic Users Read the World Around Them VRCFaceTracking安装和iPhone面捕配置教程,有bug Even CrowdStrike Can't See Your Agents The Automation Gold Rush: What n8n Workflows and Claude Are Opening Up for Developers Right Now
What Is Generative UI? (And Why Text Output Is No Longer Enough)
Jash Ambaliya · 2026-06-01 · via DEV Community

Most AI apps still treat the model response as text.

That is understandable. Text is the native output format of an LLM. It is easy to stream, easy to log, easy to copy, and easy to display in a chat bubble. If the user asks for an explanation, a summary, a draft, or a piece of code, text is often the right interface.

But a lot of real software work is not just reading an answer. It is comparing options, editing fields, approving changes, inspecting data, choosing between actions, and moving through workflows. Those jobs do not become simple just because an LLM can describe them in a paragraph.

That is the gap generative UI is trying to close.

Generative UI is the practice of letting an AI system generate an interface, not just a text response, for the task the user is trying to complete. The model still reasons in language, but the product output can be a table, form, chart, card layout, confirmation step, or multi-part workflow assembled from components the application knows how to render.

The short version:

Generative UI is AI output as interactive product UI instead of plain text.

That sounds simple. The important part is what it is not.

Generative UI is not "let the model write arbitrary React." It is not a random layout generator. It is not a replacement for product design or frontend engineering. A good generative UI system gives the model a controlled vocabulary of interface primitives and lets it compose those primitives based on user intent, available data, and application context.

OpenUI Generation Flow

Why Text Was the Default

The first wave of AI products copied the chat interface because chat matches how LLMs work. A prompt goes in. Tokens come out. The UI can stream those tokens as they arrive.

That model works well when the user's goal is informational:

  • "Explain this error."
  • "Summarize this meeting."
  • "Write a follow-up email."
  • "Generate a SQL query."

The answer can be a paragraph, a list, or a code block. The user reads it, copies it, or asks a follow-up question.

The problem starts when the user's goal is operational:

  • "Compare these vendors."
  • "Create a refund request."
  • "Show me which accounts need attention."
  • "Prepare a deployment approval."
  • "Find anomalies in this dashboard."

For these tasks, a wall of text is usually a lossy representation of the real job. It may contain the right information, but it does not give the user the right controls.

A markdown table is not a data grid. A bullet list is not a workflow. A paragraph that recommends an action is not the same as a confirmation UI with permissions, context, and auditability.

The Core Idea

Generative UI starts from a different assumption: the model should not always answer with prose. It should answer with the interface shape that best fits the task.

If the user asks for a comparison, generate a comparison table.

If the user asks to submit something, generate a form.

If the user asks what changed, generate a summary with supporting metrics.

If the user is about to take a risky action, generate a review screen with explicit confirmation.

The model is still doing what LLMs are good at: interpreting intent, selecting relevant information, and deciding what should come next. The difference is that the final response is not forced through a single text-shaped pipe.

In practice, a generative UI system usually has five parts:

  • a component library the model is allowed to use,
  • a prompt or schema that describes those components,
  • a model that emits a structured UI description,
  • a parser or renderer that turns that description into real UI,
  • and application handlers for data, state, permissions, and actions.

That architecture matters because it keeps the model inside product boundaries. The model can choose a table or form, but the application still controls what a valid table or form is.

Same Prompt, Two Outputs

Imagine a support agent asks:

Create a refund request for order ORD-18392.

The same input prompt can lead to two very different product experiences.

A text-only assistant might respond like this:

Plain Text Response

That is readable, but it is not much of an interface. The agent still has to trust the summary, move into another system, validate the amount, change the reason if needed, and take the actual approval action somewhere else.

A generative UI response can answer the same prompt as an interactive form:

root = Stack([header, orderInfo, sep1, formCard, callout])
header = Card([cardHeader], "clear")
cardHeader = CardHeader("Refund Request", "Submit a refund request for your order")
orderInfo = Card([orderRow], "sunk", "row", "s", "center", "between")
orderRow = Stack([orderLabel, orderTag], "row", "m", "center", "between")
orderLabel = TextContent("Order ID", "small")
orderTag = Tag("ORD-18392", null, "md", "info")
sep1 = Separator("horizontal", true)
formCard = Card([form])
form = Form("refund-request", formButtons, [reasonField, categoryField, amountField, descField, evidenceField, contactField])
reasonField = FormControl("Reason for Refund", Select("reason", reasonOptions, "Select a reason...", {required: true}), "Please select the primary reason for your refund request.")
reasonOptions = [SelectItem("damaged", "Item Damaged or Defective"), SelectItem("not-received", "Item Not Received"), SelectItem("wrong-item", "Wrong Item Sent"), SelectItem("not-as-described", "Item Not as Described"), SelectItem("changed-mind", "Changed My Mind"), SelectItem("duplicate", "Duplicate Order")]
categoryField = FormControl("Refund Type", RadioGroup("refund-type", refundTypeOptions, "full"), "Choose whether you'd like a full or partial refund.")
refundTypeOptions = [RadioItem("Full Refund", "Refund the entire order amount", "full"), RadioItem("Partial Refund", "Refund only part of the order amount", "partial")]
amountField = FormControl("Refund Amount (USD)", Input("amount", "e.g. 49.99", "number", {required: true, numeric: true, min: 0.01}), "Enter the amount you'd like refunded.")
descField = FormControl("Description", TextArea("description", "Please describe the issue in detail...", 4, {required: true, minLength: 20, maxLength: 1000}), "Provide as much detail as possible to help us process your request.")
evidenceField = FormControl("Supporting Evidence", TextArea("evidence", "Add any relevant order numbers, tracking IDs, or links...", 3), "Optional: Provide any additional evidence or references.")
contactField = FormControl("Contact Email", Input("contact-email", "your@email.com", "email", {required: true, email: true}), "We'll send updates about your refund to this email.")
formButtons = Buttons([submitBtn, cancelBtn])
submitBtn = Button("Submit Refund Request", Action([@ToAssistant("Submit refund request for ORD-18392")]), "primary")
cancelBtn = Button("Cancel", Action([@ToAssistant("Cancel refund request")]), "secondary")
callout = Callout("info", "Processing Time", "Refund requests are typically reviewed within 3–5 business days. You will receive an email confirmation once submitted.")

The input prompt did not change. The output contract changed.

In the text-only version, the model describes the refund request. In the generative UI version, the model composes a reviewable surface from approved components: a title, a form, editable fields, a select menu, and action buttons. The application still decides what submit:refund-request or action:cancel actually does.

Rendered through OpenUI, the same structured response becomes a product-native form:

OpenUI Response

Here is the same OpenUI response being generated and rendered in the chat interface:

This example uses OpenUI Lang, but the concept is broader than one syntax. The important shift is that the model returns a structured interface description. The application renders that description using known components and decides what the actions actually do.

How This Differs From Dynamic UI

Developers have built dynamic UI for decades. Feature flags, conditional rendering, CMS-driven pages, dashboards, and form builders all generate interfaces from data.

Generative UI is different because the interface is chosen at runtime from user intent.

A traditional dynamic UI might say:

If the user is an admin, show the admin panel.

A generative UI system might say:

The user is asking to compare quarterly pipeline risk. Generate a table, a few metric cards, and follow-up actions using the components this product allows.

The difference is not that generative UI is "more dynamic." It is that the model participates in deciding which interface is appropriate for the current task.

That comes with tradeoffs. You need constraints. You need validation. You need fallback states when the model emits something invalid. You need to decide which actions can be triggered by generated UI and which actions require additional confirmation. Generative UI is powerful precisely because it is not just free-form generation.

How This Differs From Tool Calling

Tool calling lets a model request structured operations:

get_refund_status(orderId: "ORD-18392")

That is useful, but it mostly answers the question, "What should the backend do?"

Generative UI answers a different question:

What should the user see and interact with next?

The two patterns work well together. A model might call a tool to fetch order details, then generate a form or confirmation UI from the result. Tool calling gives the model access to capabilities. Generative UI gives the user a usable surface for the next step.

If tool calling is the bridge between AI and backend systems, generative UI is the bridge between AI and product experience.

Why This Matters for AI Products

The more capable AI systems become, the more obvious the UI problem gets.

When an assistant can only answer simple questions, a chat bubble is enough. When it can inspect business data, compare options, prepare workflows, and recommend changes, the output needs more structure.

Text creates a few recurring problems:

  • It hides structure inside prose.
  • It makes comparisons harder than they need to be.
  • It turns workflows into instructions instead of controls.
  • It makes risky actions harder to review.
  • It forces users to copy information between systems.

Generative UI does not remove the need for chat. In many products, chat remains the best input method. The user can describe intent in natural language. The difference is that the output can become product-native.

The future shape is less "chatbot that answers everything in text" and more "assistant that creates the right working surface when text is not enough."

Where OpenUI Fits

OpenUI is a concrete implementation of this idea.

The OpenUI GitHub repository describes it as a full-stack generative UI framework built around OpenUI Lang, a compact streaming-first language, a React runtime, built-in component libraries, and chat/app surfaces. Its docs describe the basic flow:

  1. Define or reuse a component library.
  2. Generate model instructions from that library.
  3. Send those instructions to the model.
  4. Stream OpenUI Lang back to the client.
  5. Render it progressively with the React renderer.

That design is important because it avoids two common extremes.

On one side, plain text is too limited. It cannot represent rich interaction without making the user do the work manually.

On the other side, asking a model to generate arbitrary frontend code is too loose for most production applications.

OpenUI sits in the middle. The model emits a compact UI language constrained by components the developer has defined or allowed. The renderer maps that output to real React components. The application remains responsible for data access, state, permissions, and action behavior.

That is a healthier contract for AI-native interfaces: generative where the product needs flexibility, controlled where the product needs safety.

OpenUI also focuses on streaming. That matters because model-generated interfaces should not feel like waiting for a full JSON blob to finish before anything appears. A line-oriented format can be parsed and rendered progressively as the model emits output.

What Developers Should Design

If you are building with generative UI, the main design question changes.

Instead of asking only, "What screens should we build?" you also ask:

What interface vocabulary should the model be allowed to compose?

That vocabulary might include:

  • metric cards,
  • tables,
  • forms,
  • charts,
  • recommendation cards,
  • confirmation panels,
  • tabs,
  • step-by-step workflows,
  • and action buttons.

The goal is not to let the model invent your product's UI from scratch. The goal is to give it a safe set of primitives that match your product's real workflows.

This makes frontend work more important, not less. Someone still has to design good components, define prop contracts, handle empty and error states, wire actions, enforce permissions, and decide where generated UI is appropriate.

Generative UI moves some composition decisions to runtime. It does not remove engineering judgment.

A Practical Definition

Here is the definition I would use with a team:

Generative UI is a pattern where an AI system generates a structured, interactive interface from a controlled component vocabulary, based on the user's intent and current context.

That definition excludes raw text, arbitrary code generation, and static templates. It includes the pieces that matter in practice: structure, interaction, constraints, context, and rendering.

It also explains why this pattern is becoming necessary. AI products are moving from answering questions to helping users do work. Work needs interfaces.

Text will remain part of AI software. It is still the best format for explanation, narration, drafting, and conversation. But when the task involves comparing, editing, approving, exploring, or acting, text becomes a bottleneck.

Generative UI is the next layer: not a replacement for chat, but the interface system that lets AI responses become usable software.

References