TL;DR: Rhys Sullivan’s MCP Night 4 demo recap shows how agents can render product UI, execute code, and deep-link users back into applications, closing a UX gap while expanding the agent tool surface, according to WorkOS. The more UI is exposed to agent runtime, the more identity, authorization, and audit assumptions need to be explicit.
At a glance
What this is: This article explains how generative UI lets agents render application interfaces back to users and turn product APIs into typed, executable workflows.
Why it matters: It matters because IAM teams now have to govern not just what an agent can call, but what it can display, compose, and execute inside the product experience.
Context
Generative UI for agents is the pattern of rendering product interface elements through an agent session instead of forcing the user to leave the conversation. In this case, the governance gap is that product teams have invested in UI as a control and communication layer, but many agent workflows only preserve the underlying API call and discard the interface context that users rely on for review and trust.
For identity teams, that means the control surface is no longer limited to tool authorization. Once an agent can render UI, deep-link into an application, and execute code against typed APIs, the question becomes whether the resulting experience still preserves user intent, traceability, and approval boundaries. That is a governance problem across MCP, application access, and audit design.
The article frames that gap through a live product demo rather than a policy discussion, which makes the operational implications easier to see. The core issue is not whether agents can talk to products, but whether the product experience remains governable when the agent becomes part of the interface path.
Key questions
Q: What breaks when an agent can render application UI as part of the workflow?
A: The boundary between tool use and user presentation breaks. Security teams may have authorised the data source or API call, but not the specific way the result is framed, linked, or visualised for the user. That matters because the rendered output can shape trust, decisions, and follow-on actions without a separate governance checkpoint.
Q: When should teams treat generative UI as an access-control issue?
A: They should treat it as an access-control issue whenever the agent chooses what to display, not just what to fetch. If the agent can deep-link into sensitive records, assemble charts from live data, or alter the order of information shown, then presentation becomes part of the authority model and needs explicit policy.
Q: What are the signs that agent tool use is becoming too broad?
A: Warning signs include agents chaining multiple calls to reach a result, generating code instead of single requests, and returning polished outputs that users trust more than the underlying data path. Those patterns suggest the agent is operating as a workflow layer, which demands stronger governance, logging, and review than a simple assistant model.
Q: How should IAM teams govern deep links generated by agents?
A: They should govern them as selected access paths, not as harmless convenience links. The key questions are who or what chose the destination, whether the user could have reached the same object through an approved workflow, and whether the link exposes more context than the user was meant to receive.
Technical breakdown
Generative UI as an agent control surface
Generative UI is not simply a richer chatbot response. It is an execution pattern where an agent decides which UI element to render, which product data to expose, and when to deep-link the user back into the application. That shifts UI from a passive presentation layer into an identity-relevant control surface. The moment an agent can compose React components, pick charts, and shape the view from live data, the interface itself becomes part of the authorization story. The security question is no longer only whether the agent can read an API response, but whether it can safely decide how that response is packaged for human consumption.
Practical implication: Treat rendered UI as governed output, not just presentation, and bind it to the same approval and audit expectations as tool execution.
Typed SDKs change how agents invoke tools
The article describes a pattern where OpenAPI specs are converted into a TypeScript SDK so the agent writes code against a typed environment instead of emitting ad hoc tool calls. That matters because typed interfaces reduce ambiguity, but they also widen the agent's practical execution scope: once the agent is comfortable generating code, it can chain requests, filter results, and branch logic in ways that look more like application behavior than simple invocation. This is especially relevant for MCP-style integrations, where the agent can move from lookup to action without a separate governance checkpoint. The technical gain is reliability; the governance challenge is that code generation is harder to reason about than a single API call.
Practical implication: Govern the SDK surface as an executable capability set, not as a list of harmless convenience calls.
Deep links preserve context but can obscure authority
Deep linking back into the product helps keep the user in context, but it does not automatically preserve authority boundaries. A link can carry the user to a specific chart or record, yet the agent still influenced which artifact was chosen, how it was framed, and what the user was encouraged to inspect next. In practice, that means the trust decision moves from authentication alone to a combination of identity, intent, and provenance. For IAM and PAM teams, the risk is subtle: a user may feel they are reviewing their own data, while the agent has already selected the slice of the product experience that best supports its output.
Practical implication: Log and govern the selection logic behind deep links so you can reconstruct how the agent guided the user experience.
NHI Mgmt Group analysis
Generative UI creates a governance gap because the agent becomes part of the presentation layer. Product teams have historically treated UI as a human review surface, while APIs and tools carried the executable risk. Once the agent decides what to render, that assumption collapses and the interface itself becomes governed output. The implication is that identity programmes must account for agent-shaped presentation, not just backend access.
Typed code generation expands the agent's effective privilege even when the underlying permissions do not change. A tool that turns OpenAPI into a TypeScript SDK makes execution more reliable, but it also makes the agent more capable of chaining actions and reusing context. That is not a simple productivity gain. It means least privilege can no longer be judged only by endpoint access, because the agent's code-writing ability changes how much of the product it can operationally reach.
Deep-linking is a trust mechanism, not a neutral UX feature. When an agent returns a link into the product, it decides which object, chart, or record the user sees first. That selection shapes user judgment and can bypass the scrutiny that a full workflow review would otherwise impose. The practical conclusion is that audit trails must capture not only what the user opened, but how the agent selected it.
Agent UI governance gap: the missing control is the policy boundary between what an agent may compute and what it may present. The article shows that product experience now sits inside the agent workflow, which means governance has to cover rendering, linking, and execution as one chain. For practitioners, this is a signal to treat interface composition as a governed identity event, not a cosmetic layer.
From our research library:
- 24,008 unique secrets were exposed in MCP configuration files in 2025 alone, the protocol's first year of widespread adoption, according to the State of Secrets Sprawl 2026.
- Read next: MCP Security Guide
What this signals
Agent UI governance gap: the control problem is no longer limited to authorising API calls. Once an agent can render charts, compose components, and deep-link users back into the product, governance has to cover what the agent is allowed to present as well as what it is allowed to fetch.
MCP-style integrations make this more urgent because the same session can move from lookup to code execution without a clean human checkpoint. That means review, logging, and policy enforcement need to follow the agent's output path, not just the backend request path.
For practitioners
- Define a render policy for agent-driven UI Specify which data types, components, and product states an agent may render back to a user, and require approval for anything that changes interpretation or exposure.
- Separate tool authorization from presentation authorization Review whether a permitted API call also permits the agent to display the result in a chart, table, or deep link that could alter user decision-making.
- Instrument deep-link provenance Capture which agent path selected the target object, the UI component used, and the context that led to the link so you can reconstruct intent later.
- Treat typed SDK generation as an executable boundary Classify generated SDK access the same way you classify privileged automation, because code-writing agents can chain calls and expand effective reach.
- Add review for agent-shaped interface outputs Require human review for any agent output that changes the visible path through a product, especially when the output substitutes for a standard application workflow.
Key takeaways
- Generative UI turns an agent session into a governed presentation layer, not just a tool-calling layer.
- The real risk is not only data access. It is the agent's ability to shape what the user sees, in what order, and through which deep links.
- IAM and PAM teams need policy boundaries for rendering, linking, and code generation, because those behaviours can expand effective privilege without changing the underlying account.
Standards & Framework Alignment
This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.
OWASP Agentic AI Top 10 and OWASP Non-Human Identity Top 10 address the attack and risk surface, while NIST AI RMF and NIST CSF 2.0 set the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| OWASP Agentic AI Top 10 | ASI03 — Identity & Privilege Abuse | The article centres on agentic UI and code execution expanding effective privilege. |
| ASI02 — Tool Misuse | The demo shows an agent composing tools, code, and UI beyond simple lookup. | |
| Recommendation — Constrain agent identity and presentation privileges to the minimum actions needed for each workflow. Gate tool composition so agents cannot chain actions into unreviewed workflow execution. | ||
| OWASP Non-Human Identity Top 10 | NHI-05 — Overprivileged NHI | Agents acting through SDKs and deep links can exceed their intended authority surface. |
| Recommendation — Map agent permissions to the smallest executable scope and remove unused endpoint access. | ||
| NIST AI RMF | GOVERN — AI Governance and Accountability | The article raises accountability questions around agent-rendered outputs and execution boundaries. |
| Recommendation — Assign accountable owners for agent output, tool use, and user-facing rendering decisions. | ||
| NIST CSF 2.0 | PR.AA-05 — Access Permissions, Entitlements and Authorizations | Agent-driven rendering and execution depend on explicit authorization boundaries. |
| Recommendation — Review authorizations so rendered outputs and executable tool paths are both covered by policy. | ||
Key terms
- Generative UI: A product interface assembled at runtime by an agent from components, data, and execution results. It is not just a visual output layer. In identity terms, it becomes part of the governed access path because the agent can shape what users see and do.
- Deep Link: A deep link is a URL or app link that returns the user to a specific point in a mobile application after an external action such as OAuth or email verification. In identity programmes, it is part of the trust path because it must reliably restore the correct session and flow state.
- Typed SDK: A software development kit generated or presented with strong type information so calls are structured and validated before execution. In agent workflows, typed SDKs improve reliability, but they also let an agent compose richer actions and move closer to programmable workflow execution.
- Presentation Authorization: The governance decision over whether a system is allowed to show, arrange, or highlight information in a particular way. For agentic UI, this is distinct from data access because the agent may be allowed to retrieve data but not to frame it, expose it, or guide the user toward it.
Deepen your knowledge
NHI governance, agentic AI identity, and machine identity lifecycle are core topics in our NHI Foundation Level course, the industry's only accredited NHI security programme. If you are building or maturing an IAM programme, it is worth exploring.
Published by the NHIMG editorial team on June 4, 2026.
Updated on October 7, 2026.
NHI Mgmt Group, the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org