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.
NHIMG editorial — based on content published by WorkOS: Generative UI for agents: Rhys Sullivan's MCP Night 4 lightning demo
Questions worth separating out
Q: How should security teams govern agents that can render product UI?
A: Security teams should treat rendered UI as part of the governed access path, not just a frontend convenience.
Q: Why do agent tool chains create new identity governance problems?
A: Agent tool chains create governance problems because they combine search, execution, and presentation into one runtime flow.
Q: What breaks when code mode gives agents more runtime freedom?
A: What breaks is the assumption that a tool call is a bounded request.
Practitioner guidance
- Map the full agent interaction path Inventory every step from docs lookup to render UI to execute calls and deep-link fallback, then assign a control owner to each step.
- Scope runtime permissions separately from API permissions Do not assume that a validated API surface implies safe execution.
- Align rendered UI with the same entitlement model as the product Verify that a native MCP app render and a fallback product link enforce the same access rules, audit trails, and session context.
What's in the full article
WorkOS's full article covers the operational detail this post intentionally leaves for the source:
- A walkthrough of the render UI pattern showing how the agent selects and returns product components.
- Implementation detail on the execute tool and the TypeScript SDK workflow built from OpenAPI or MCP surfaces.
- The code mode pattern that lets agents write against real product interfaces instead of issuing isolated calls.
- How MCP apps degrade gracefully between native client rendering and fallback links.
👉 Read WorkOS's recap of Rhys Sullivan's MCP Night 4 generative UI demo →
Generative UI for agents: what IAM teams are missing?
Explore further
Generative UI turns the agent from a data consumer into an interaction broker. That changes the governance surface because the agent no longer just requests information, it shapes how information is rendered and consumed. For IAM and NHI teams, the issue is not UI polish, but whether the agent can influence downstream user action without a clear entitlement boundary. The practitioner implication is that agent-mediated interfaces need explicit policy, not implicit trust.
A few things that frame the scale:
- 70% of organisations grant AI systems more access than they would give a human employee performing the exact same job, according to the 2026 Infrastructure Identity Survey.
- Only 44% of organisations have implemented any policies to manage their AI agents, despite 92% agreeing that governing AI agents is critical to enterprise security.
A question worth separating out:
Q: How do teams keep fallback links from weakening access controls?
A: Teams should make sure that native rendering and fallback links enforce the same entitlement checks and audit records. If the same agent request resolves differently depending on client capability, security drift can appear between user paths. Consistency across both paths is essential for traceability and policy enforcement.
👉 Read our full editorial: Generative UI for agents exposes the agent UI governance gap