Vercel Labs released the open-source UI SDK and Agent Bridge on Friday to enable AI coding agents to manipulate web interfaces programmatically.
The toolkit provides more than 50 headless accessibility and interaction behaviors, allowing autonomous systems to assemble and inspect interfaces without relying on brittle DOM screen-scraping techniques, according to CASRAI.
“Agents are becoming both the builders and the users of interfaces,” shadcn wrote in a post on X, as noted by CellCog.
The UI SDK functions as a headless library, meaning it delivers specific interaction logic rather than finished, styled components. Developers or agents use a core package, @ui-sdk/core, to define a component’s state, API, and slots through a function called definePrimitive, MarkTechPost reported.
Introducing the UI SDK. pic.twitter.com/3rd2dDTYNz
— Post by @vercel on X
Guillermo Rauch, the Chief Executive Officer of Vercel, characterized the release as providing an x86 instruction set for agents, which offers a dependable, lower-level contract that allows automated systems to safely build custom UI components, CASRAI reported.
These primitives are then rendered across different environments using framework-specific adapters. The library currently supports five major runtimes: React 19+, Vue 3.5+, Svelte 5.33+, Solid 2.0 (from 2.0.0-rc.14), and standard Web Components, InfoQ reported.
Today we’re introducing UI SDK. Agents are becoming both the builders and the users of interfaces. So we asked ourselves: where should the abstraction live? Take a Select. There’s a popup, selection logic, keyboard navigation and focus management. Those same behaviors are… https://t.co/boBhs2pspu
— Post by @shadcn on X
“The behavior stays the same, whichever framework, renderer you build with or the harness generating the UI,” the CellCog report said, citing the README’s claim that the parts remain identical across all five adapters.
The library includes a variety of behaviors such as popups, selection, typeahead, focus, drag and drop, and roving focus. Chris Tate of Vercel Labs noted there are more than 50 such behaviors available, CellCog reported. Specific prebuilt components mentioned include Select, Combobox, Date Picker, Menu, Tree, and Color Picker, MarkTechPost reported. Other supported features include multi-selection, virtual lists, resizing, gestures, inline editing, and various accessibility features, according to CellCog.
UI SDK: a library of behaviors for agents to build the next generation of UIs → 50+ behaviors: popups, selection, typeahead, focus → Components for React, Vue, Svelte, Solid, Web Components → Easy for agents to build with, and for any agent to use What agents made with it ↓ https://t.co/qL3f3slMzl pic.twitter.com/9O2ZuuJSft
— Post by @ctatedev on X
A central feature of the release is the Agent Bridge, a bidirectional communication layer that allows agents to interact with the UI state directly. The Agent Bridge specifically provides snapshot(), query(), and act() operations, allowing agents to find elements, read values, and perform actions more directly, according to CellCog.
By using this bridge, agents can read component states and trigger actions through native APIs instead of taking visual screenshots. This method bypasses the latency and “pixel-drift” errors often associated with vision-driven click models, according to CASRAI. To assist agents, the toolkit includes a skill that can be installed via npx commands to point an agent toward the Markdown documentation included in the packages, as noted by MarkTechPost.

Vercel Labs conducted internal evaluations comparing the UI SDK and Agent Bridge against standard DOM-inspection approaches. On a single project-settings task, the bridge demonstrated significant performance improvements, MarkTechPost reported.
| Metric | Browser tools | UI SDK + bridge | Change |
|---|---|---|---|
| Tool calls | 165 | 69 | -69% |
| Text read (characters) | 39.8k | 6.8k | -83% |
| Time | 41 s | 16 s | -61% |
| Cost | $0.073 | $0.032 | -56% |
Self-reported metrics indicate that the system can be 61% faster and 56% cheaper on a single task, according to CellCog.
The UI SDK is currently in public beta as version 0.1.0-beta.1. It is licensed under the Apache License 2.0 and is subject to Vercel’s public beta terms, which means APIs, documentation, and behaviors may change before general availability, InfoQ reported.
This is so genuinely cool. I love how it's been packaged up. So elegant @shadcn and @shuding! I'll be studying this for a while. 1. createAgent is an "agent bridge" which gives a snapshot, act, and query tool. It allows agents to interact with the actual UI components directly… https://t.co/ISuVyxQFPX
— Post by @mihar_22 on X
Limitations of the beta include the fact that it does not contain a complete visual design system and the Agent Bridge is only supported for registered UI SDK components, according to CellCog.
Formal stability releases, specifically version 1.0 for the React and Vue adapters, are planned for early 2027, CASRAI reported.
I tried looking at the repo a bit but I’m not sure I quite understand the value prop of this versus something like Base UI. Is the thought process that we should be thinking about UIs/components as combinations of behaviours?
— Post by @builtbystef on X