Vercel Releases UI SDK for Agents to Compose UI from Reusable Behaviors
Scored daily by a customisable AI persona to surface the most relevant engineering leadership news.
Vercel's UI SDK for agents with reusable behaviors is a novel, actionable tool for building agent UIs, directly matching the reader's interest in agent orchestration.
Vercel released UI SDK, an open-source TypeScript library (beta, Apache 2.0) that exposes 50+ reusable behaviors—like createPopup, createRovingFocus, and createVirtualizer—as composable primitives rather than finished components. Developers or agents combine these behaviors via definePrimitive, then render through framework adapters (React, Vue, Svelte, Solid, Web Components) using createParts, producing unstyled components with consistent part names. The SDK includes a first-class agent bridge: createAgent exposes snapshot, act, and query methods for agents to read state and trigger actions without screenshots, while change callbacks receive a source of "agent" and can cancel changes, and registerTools can expose the same interface to browser agents via WebMCP.