Vercel launches UI SDK: a library of behaviors for agents to build interfaces

Vercel launched on Thursday (12) the UI SDK, an open-source library, in public beta, that gives AI agents interface behaviors — instead of finished components — so they can assemble the components a project needs. The project was created by shadcn, creator of shadcn/ui, and Shu Ding, and the code is on GitHub under the Apache 2.0 license.

The idea, explained on the official site, starts from an example: instead of handing an agent a finished Select component, the UI SDK hands it the pieces that make a Select work — the popup (createPopup), the selection logic (createSelection) and type-to-find (createTypeahead). With the same pieces, the agent can also build an autocomplete, a combobox or a component nobody has designed yet.

More than 50 behaviors, five frameworks

The UI SDK brings together more than 50 behaviors, including keyboard navigation, focus, selection, popups, drag and drop, resizing, pan-and-zoom canvases, virtualized lists and screen reader support. They work in React, Vue, Svelte, Solid and Web Components, with adapters in the @ui-sdk/core package. The project also ships a starter component library, all built from the same behaviors. To use it, install the packages and add the UI SDK skill to your agent.

Agents that also operate the interface

Beyond building, agents learn to use what they build: an agent bridge lets them read the page and operate the controls directly, without screenshots. According to Vercel, this makes the agent more than twice as fast at less than half the cost — the company's own figures, without independent verification. The repository passed 1,000 stars on GitHub on launch day.

Getting started

To use the UI SDK, install the packages for your framework — for example, npm install @ui-sdk/react @ui-sdk/core — and add the skill to your agent with npx skills add vercel-labs/ui --skill ui-sdk. From there, the agent picks the behaviors it needs and assembles the component in the project's framework, with keyboard navigation and screen reader support already included.

Image: the UI SDK's official identity. Credit: Vercel (ui-sdk.dev).

Sources

This text was produced with the help of artificial intelligence, cross-checked against public posts on X and sources on the internet. Please confirm the information in the original sources.

By Muse