Wink Pings

Vercel Labs Open-Sources UI SDK: Agents Can Now Build Their Own Interfaces

Vercel Labs has released an Apache-2.0 UI SDK that packages interaction behaviors such as keyboard navigation, focus, and popups into a library, allowing Agents to build interfaces directly. It currently supports React, Vue, Svelte, Solid, and Web Components.

Vercel Labs has open-sourced a new library: UI SDK. It is still in beta and licensed under Apache-2.0, with a straightforward goal: to enable Agents not only to output text, but also to build and drive interactive interfaces.

This library breaks interaction behaviors down into atomic capabilities: keyboard navigation, focus management, selection, dismissal, popups, dragging, and the corresponding ARIA attributes. These capabilities live in @ui-sdk/core, with an adapter layer wrapped around them, supporting React, Vue, Svelte, Solid, and Web Components. Agents can generate UIs across frameworks instead of being locked into a single ecosystem.

环境选择器被拆成 createPopup、createSelection、createTypeahead 三个行为

Installation is straightforward. First install the core library and the adapter for the corresponding framework, for example, React:

npm install @ui-sdk/react @ui-sdk/core

Then install the UI SDK skill for your Agent:

npx skills@latest add vercel-labs/ui --skill ui-sdk

The repository provides a search box example. First, use definePrimitive to define a search-field, declare the behaviors of the input and clear slots, and then use createParts in the framework to render it into a real component. The whole process requires no human-written event listeners and no manual management of aria attributes, because all of this is handled in behaviors.

The README contains a rather vivid line:

Don't worry, you don't need to learn how to write this. Your agents will. And we made them really good at it.

Put simply, this codebase is designed for Agents; developers only need to define the behaviors, and the rest is left to Agents.

The UI SDK is currently still in beta, and its API, documentation, and behaviors may all change before the official release. Vercel has also clarified the security vulnerability disclosure process, which requires responsible disclosure.

For ordinary users, the significance is this: Agents have come one step closer to being able to operate interfaces. Previously they could only answer questions; now, with infrastructure for handling popups, focus, and keyboard navigation, they may eventually be able to truly complete complex UI tasks. Of course, it is still early, but the foundation has been laid.

发布时间: 2026-11-24 19:57