Back to AI News
MarkTechPost

Vercel Labs Releases UI SDK: Agent-Oriented UI Behavior Library

Vercel Labs released UI SDK at 0.1.0-beta.1, an open-source headless library of 50+ UI behaviors that coding agents assemble into accessible components across React, Vue, Svelte, Solid and Web Components. It ships a core package, thin framework adapters, an agent skill with bundled llms.txt docs, and a runtime bridge (createAgent, agent.snapshot, agent.act) that lets agents inspect and act on UI state instead of relying on screenshots. Vercel's self-reported test on a single project-settings task, with medians of three runs, showed 69% fewer tool calls and task time falling from 41s to 16s versus browser tools. The vendor notes the benchmark covers one task and that the baseline used a different component library, so the figures are directional and beta APIs may change.

AI Brief

It offers developers a concrete, open-source option for making UI primitives legible and operable by coding agents, with a documented agent skill and runtime bridge.

Vercel Labs has released UI SDK, an open-source beta library of interface behaviors built for coding agents. Vercel UI SDK is a headless library that ships behaviors, not finished components. Agents combine those behaviors into accessible components for React, Vue, Svelte, Solid and Web Components. You can check the deployment options and specs here through our GPULeaderboard.com chrome extension.

TL;DR

  • Size: 50+ behaviors, 51 component modules in the repo, 6 npm packages at 0.1.0-beta.1
  • Runs on: Any modern browser, no GPU. React 19+, Vue 3.5+, Svelte 5.33+, Solid 2 RC, or plain Web Components
  • Performance: In Vercel’s own test, an agent used 69% fewer tool calls on a settings task
  • Best: Task time fell 61%, from 41 s to 16 s, with the agent bridge (self-reported)
  • Worst: That benchmark covers 1 task and 3 runs, and beta APIs may still change

What is Vercel UI SDK?

UI SDK is a library of UI behaviors from Vercel Labs that agents assemble into components. The README lists keyboard navigation, focus, selection, dismissal, popups, drag and drop, and the ARIA they need. All of it lives in @ui-sdk/core. Thin adapters render it in each framework.

The project site explains the idea with a Select. You do not hand the agent a finished Select. You hand it a popup, a selection model and typeahead. Those same parts can produce an autocomplete, a combobox, or a component nobody has designed yet.

How does UI SDK work?

Components start as primitives defined with definePrimitive. A primitive declares state, an API and slots. Slots attach attributes, events and behaviors to DOM parts. The README example builds a search field with createFocusRecovery. Its Clear button appears only when there is text.

Each framework then renders the primitive with createParts. The README says the parts are the same in all 5 adapters. So 1 behavior definition can serve a React app and a Svelte app.

Which behaviors ship?

Behaviors shown on ui-sdk.dev include:

  • createRovingFocus: arrow keys move through a list with 1 Tab stop
  • createTypeahead: type a few letters to jump to an item
  • createPopup: opens next to its trigger and stays on screen
  • createSelection: select 1 or many, with Shift and Ctrl
  • createReorder, createResize, createViewport and createVirtualizer

The docs group behaviors into 10 categories, from Focus and Keys to Canvas. Prebuilt components include Select, Combobox, Date Picker, Menu, Tree and Color Picker.

How do agents learn it?

Setup is a prompt you paste into your agent. It installs the packages and adds a note to AGENTS.md. That note points the agent to the ui-sdk skill and to llms.txt inside the package docs. The skill installs with npx skills add vercel-labs/ui --skill ui-sdk. Pages without a build step can load web.js and web.css from ui-sdk.dev, per the skill listing.

Vercel Labs · Beta 0.1.0-beta.1

How Vercel UI SDK works

50+ behaviors, 1 core, 5 framework adapters, and a bridge that lets agents act on UI state.

STEP 1
Pick behaviors
createPopup, createSelection, createTypeahead
STEP 2
definePrimitive
Declare state, api and slots in @ui-sdk/core
STEP 3
createParts
Render the same parts in each framework
STEP 4
Ship anywhere
React, Vue, Svelte, Solid, Web Components

  

Behaviors shown on ui-sdk.dev. The docs group 50+ behaviors into 10 categories, from Focus and Keys to Canvas.
Project name
acme-web
Members
2 members
Email notifications
Status
Unsaved
API names from the UI SDK agent docs: createAgent(), agent.snapshot(), agent.act(), an allow callback, and change callbacks that receive source: "agent". Demo values are illustrative.
Browser toolsUI SDK + bridge
Self-reported by Vercel. 1 project-settings task, medians of 3 runs, both agents on Sonnet via Claude Code. The browser-tools run used a different component library.
UI SDKRadixReact AriaBase UIArk UI
Frameworks5ReactReactReact4
LicenseApache-2.0MITApache-2.0MITMIT
npm version0.1.0-beta.11.8.11.22.11.9.05.40.0
React peer19+16.8 to 1916.8 to 1917 to 1918+
Agent bridgeYesNot disclosedNot disclosedNot disclosedNot disclosed
npm data as of November 13, 2026. Ark UI frameworks: React, Vue, Solid, Svelte.
Sources: GitHub · Agent docs · npm© Marktechpost

Can agents operate the UI directly?

Yes, the agent docs describe a bridge created with createAgent() before the page renders. agent.snapshot() lists components, their state and available actions. agent.act() runs an action, such as renaming a project with setValue. Apps can pass an allow callback to approve or refuse actions. Change callbacks receive source: "agent" and can cancel the change. Tools can also be registered with supported browsers through WebMCP.

UI SDK benchmark: agent bridge vs browser tools

Vercel compared its bridge against browser tools on 1 project-settings task. The agent renamed a project, updated members and notification settings, then saved. Both agents used Sonnet through Claude Code, with the same task and system prompt. Figures are medians of 3 runs.

MetricBrowser toolsUI SDK + bridgeChange
Tool calls165-69%
Text read (characters)39.8k6.8k-83%
Time41 s16 s-61%
Cost$0.073$0.032-56%

Treat these as directional. The sample is 1 task, and the browser-tools run used a different component library. Vercel does not name the Sonnet version.

Deployment and availability

All 6 packages are on npm at 0.1.0-beta.1, published November 12, 2026, under Apache-2.0. Install with npm install @ui-sdk/react @ui-sdk/core, swapping the adapter per framework. Peer requirements are strict: React 19+, Vue 3.5+, Svelte 5.33+ and Solid 2.0.0-rc.14+. An optional web.css file gives components a default look.

How does UI SDK compare with Radix, React Aria, Base UI and Ark UI?

MetricsUI SDKRadix PrimitivesReact Aria ComponentsBase UIArk UI
ModelBehaviors composed by agentsUnstyled componentsHooks and componentsUnstyled componentsComponents on Zag.js state machines
FrameworksReact, Vue, Svelte, Solid, Web ComponentsReactReactReactReact, Vue, Solid, Svelte
LicenseApache-2.0MITApache-2.0MITMIT
Latest npm version0.1.0-beta.11.8.11.22.11.9.05.40.0
React peer range19+16.8 to 1916.8 to 1917 to 1918+
Agent skill and runtime bridgeYes (skill, llms.txt, createAgent, WebMCP)Not disclosedNot disclosedNot disclosedNot disclosed

Versions and peer ranges are from npm as of November 13, 2026. React Aria hooks and Ark UI’s Zag.js machines already separate behavior from markup. UI SDK’s difference is the agent layer: a skill, bundled llms.txt and a runtime bridge

Key Takeaways

  • 50+ behaviors, 1 core, 5 framework adapters.
  • Agents compose components from behaviors, not templates.
  • createAgent lets agents act on UI state without screenshots.
  • Self-reported: 61% faster and 56% cheaper on 1 task.
  • Beta at 0.1.0-beta.1, with React 19 as the minimum.


Check out the GitHub repo, docs and npm package. You can check the deployment options and specs here through our GPULeaderboard.com chrome extension.

Also, feel free to follow us on Twitter and don’t forget to join our 150k+ML SubReddit and Subscribe to our Newsletter. Wait! are you on telegram? now you can join us on telegram as well.

Need to partner with us for promoting your GitHub Repo OR Hugging Face Page OR Product Release OR Webinar etc.? Connect with us

The post Vercel Releases UI SDK: 50+ UI Behaviors for AI Coding Agents appeared first on MarkTechPost.

Be the first to rate this article.

Comments & Questions (0)

Captcha
Please be respectful — let's keep the conversation friendly.

No comments yet

Be the first to comment!