Executive Summary

Vercel Labs has released UI SDK, a library of interface components built with AI agents in mind, as an Apache-2.0 beta. MarkTechPost reported the launch on November 13. The library packages screen behaviors such as focus, keyboard navigation, selection and popups as components that work the same way in React, Vue, Svelte, Solid and Web Components. It ships with Agent Bridge (createAgent). Once a page adds it, a coding agent no longer has to scan the page. It receives each component's state and the actions it allows, and works on them through three tools: snapshot, act and query.

In a measurement Vercel published in its docs, an agent editing one project-settings page made 2 tool calls instead of 17. When the agent drove the same UI SDK page with ordinary browser tools, it still needed 17 calls, the same as a page built with another library. Vercel's explanation is that the savings come from Agent Bridge rather than from switching components.

Some points need checking. Every figure comes from a single task that Vercel ran itself, and no independent replication has appeared yet. The launch-day comparison (16 calls down to 5, a 69% cut) set UI SDK against a page built with a different library, and the table has been revised twice since, on November 15 and November 24. Unless an allow callback is supplied, the bridge accepts every action it supports. Sections 1 to 5 report facts we checked in Vercel's repository, its docs and press coverage, along with Vercel's own claims. Section 6 is Pebblous's interpretation.

Key Figures

The first two figures come from Vercel's benchmark, the third from how its headline reduction changed after launch, and the fourth from an outside developer's measurement.

Sources: vercel-labs/ui agent benchmark, gabs.app.

17→2

Tool calls on the settings-page task

React, browser tools vs. Agent Bridge. Vercel, Nov 24, median of 3 runs

17 = 17

Same task, browser tools only

Base UI and UI SDK pages tied. Swapping components alone saved nothing

69%→88%

Tool-call reduction in Vercel's docs

Launch day vs. Nov 24. Both the baseline and the bridge changed in between

64.2KB

UI SDK Select component (gzipped)

Base UI: 45.5KB. Measured by an outside developer

1

Vercel Labs Releases UI SDK, a Beta Library of Screen Behaviors

In its GitHub repository, vercel-labs/ui, Vercel Labs describes UI SDK as a behavior library for agents to build and operate the next generation of user interfaces. The repository was created on October 26. MarkTechPost covered the release on November 13 and reported that it contains more than 50 behaviors. The examples it named include popups (createPopup), selection (createSelection), type-to-search (createTypeahead), focus recovery (createFocusRecovery) and virtualization of long lists (createVirtualizer).

According to the README, keyboard navigation, focus, selection, dismissal, popups, drag and drop, and the accessibility attributes (ARIA) they need all live in the @ui-sdk/core package. Five adapters sit on top of it, for React, Vue, Svelte, Solid and Web Components. The library does not hand you styled buttons or menus. You decide how things look, and the library handles behavior and state.

1.1Agents Are Expected to Write the Components Too

A component is defined once with definePrimitive. Its state, the actions that change that state (api) and its pieces of markup (slots) go into one object, and createParts renders the same structure in any of the five frameworks. The official docs use a mute button as the example: pressing it flips the muted value, and the aria-pressed attribute follows.

The README says people do not need to learn this code. In its words: "Don't worry, you don't need to learn how to write this. Your agents will." Vercel has agents install a set of working instructions with npx skills@latest add vercel-labs/ui --skill ui-sdk. Each package also ships Markdown docs matched to its version and testing utilities that check keyboard, focus and ARIA behavior. The whole setup assumes an agent writes the components and then tests them.

2

Agent Bridge's snapshot, act and query Pass Component State Instead of the Page

Today an agent usually handles a web page through browser tools. Vercel's benchmark docs describe them as tools that read the page's accessibility tree, then click, type and press keys. The benchmark's browser tools follow the approach of the Playwright MCP server. The agent receives an accessibility tree with a number on each element. After every action, it gets the whole updated tree back.

Agents handle web pages in one of two broad ways. Some take a screenshot and pick coordinates to click. Others receive the page's structure as text and read it. The browser tools Vercel chose as its baseline belong to the second group. So the numbers in Section 3 do not compare Agent Bridge with agents that read pixels. They compare it with agents that were already reading the page's structure, and the difference lies in whether the agent gets the tree for the whole page or only the state of the components.

Agent Bridge is created with createAgent() before the page renders. Once the page is up, calling agent.snapshot() returns a list of the components on screen, each component's state and the actions currently available. Here is the entry the official docs give for a project-name field.

{
  "ref": "c1",
  "component": "input",
  "label": "Project name",
  "value": "Apollo",
  "actions": ["setValue", "clear"]
}

The agent uses that label to change the value. A single call, agent.act({ steps: [{ ref: "Project name", action: "setValue", args: ["Atlas"] }] }), renames the project to Atlas. The agent does not have to pick coordinates to click or reread the tree to find the field. query finds and reads specific components. Since the November 24 update, it can also read components inside closed tabs or collapsed sections in one call.

Changes go through the component's actions (api) and its change callbacks, the same path a person's typing takes. The app can approve or reject an agent's request with an allow callback. Change callbacks also receive a source: "agent" marker, so an app can block changes that come only from the agent. The three tools can be handed to your own agent or registered with a browser that supports WebMCP.

Browser tools Agent Bridge Agent Agent Read the whole page's accessibility tree snapshot() component state list ↻ repeats each step Compute click coords → simulate input act() calls the action directly Save confirmed on the 17th call Save confirmed on the 2nd call
▲ Pebblous original diagram — browser tools re-read the whole page tree after every action, while Agent Bridge receives only component state and calls actions directly (per Vercel's Nov. 24 measurement)

The table below sets the two approaches side by side. The last row is the biggest constraint. Agent Bridge works only on screens built from UI SDK components, so the people running agents cannot turn it on themselves. The team building the site has to adopt it.

Aspect Browser tools Agent Bridge
What the agent receives The accessibility tree for the whole page A list of components, their values and available actions
How it points at a target Element numbers in the tree Component labels (e.g. "Project name")
How it changes a value Simulates clicks, typing and key presses in sequence Calls the component's action directly (setValue etc.)
App-side control Hard to tell apart from human input allow callback, source: "agent" marker
Where it works Any web page Only screens built from UI SDK components
3

Vercel's Benchmark Table Changed Twice After Launch

Vercel's task takes place on a single project-settings page. The page has three tabs, a list of 24 members with a menu on each row, a confirmation dialog and a collapsible list of switches. The agent has to rename the project to Atlas, set visibility to Internal, promote Priya Shah to admin, remove Tom Becker and confirm, toggle two email notifications, and then save. The run counts as a success only if the page saves exactly once, with exactly those changes.

Every run used Sonnet driven by Claude Code, and each row is the median of three runs. The exact Sonnet version is not given. The table in Vercel's docs has changed twice since launch. Here are the React results from the three versions, checked against the repository's commit history.

Version Page and tools compared Tool calls Time Cost
Launch Other-library page + browser tools 16 41s $0.073
UI SDK page + Agent Bridge 5 16s $0.032
Nov 15 Base UI page + browser tools 17 53s $0.139
UI SDK page + browser tools 17 56s $0.140
UI SDK page + Agent Bridge 7 31s $0.044
Nov 24 Base UI page + browser tools 17 56s $0.138
UI SDK page + browser tools 17 59s $0.140
UI SDK page + Agent Bridge 2 13s $0.021

Source: vercel-labs/ui docs agents/index.mdx at commits dd8ae353 (launch), 16501822 (Nov 15) and cede51f3 (Nov 24), and benchmarks/agent/README.md. The launch version did not name the comparison library.

3.1The Conditions Behind the First 69% Figure

The widely quoted "69% fewer tool calls" comes from the first version. It compared an agent using browser tools on a page built with another library against an agent using Agent Bridge on a UI SDK page. Both the page and the tools changed at once, so that table alone could not show where the savings came from. The same version also reported 83% fewer characters read, 61% less time and 56% lower cost.

The November 15 version filled that gap. Vercel added a run of the UI SDK page with browser tools, and it took 17 calls, the same as the Base UI page. The characters read were nearly identical as well, 41.0k and 41.3k. Below the table, Vercel wrote that with browser tools the UI SDK page costs as much as any other page, and the difference comes from the agent tools.

3.2November 24: Down to 2 After a Bridge Update

In the November 24 version, Agent Bridge's tool calls fell from 7 to 2. A change merged that day (#1106) reworked the bridge itself. According to its description, when no component with a matching name is on screen, the bridge now looks inside closed collapsible sections, other tabs and further down lists, and runs the action there. The tool descriptions were also rewritten to put act first and steer the agent toward doing the whole task in one call. On the strength of this version, the docs claim 88% fewer tool calls, 92% fewer tokens, 77% less time and 85% lower cost.

Between the two versions, what changed was the bridge and its tool descriptions. The browser-tool numbers stayed almost the same. Vercel took every measurement, and the task covers a single page. Vercel has published the benchmark code in benchmarks/agent so anyone can rerun it, but as of November 29 we found no third party that had rerun the task and reported results.

4

gabs.app's Review and GitHub Issues on Bundle Size, Permission Defaults and a Modal Bug

On November 25, developer Gabriel Espinheira posted a review on his blog, gabs.app, asking whether UI SDK is ready to replace Radix or Base UI. His answer was "Not yet." For the agent benchmark he quoted Vercel's November 15 table. Bundle size and accessibility he measured himself.

  • Bundle size. Gzipped, with React excluded, the Select component came to 64.2KB for UI SDK and 45.5KB for Base UI. UI SDK's own budget table puts the initial load at 47.6KB. Radix failed to bundle, so it has no figure.
  • Accessibility. The automated checker axe reported zero violations for all three libraries. The only keyboard difference was the Tab key. He tested in Chromium only and did not use a screen reader.

The problems the review raised can be confirmed in the repository's issues and docs. Issue #1097 reported that when an agent changed a slider, the bridge returned ok: true and the thumb moved, but the onValueCommit callback that saves the value never fired. Number fields behaved the same way. The issue was closed on November 24, and #1106, merged the same day, notes that a set whose value does not take effect now fails that step. Issue #1047 reports that while a second modal dialog is open on top of another, the one underneath stays clickable. It is still open as of November 29.

The default permission setting is written in the official docs. The permissions page says: "Without an allow callback, the bridge accepts supported actions." To narrow what is allowed, you pass a callback to createAgent. Buttons that must have a human's approval, such as payment, get a data-agent-confirm attribute with an explanation. If nobody answers the confirmation prompt within five minutes, the step fails. Espinheira advised writing the allow callback before turning the bridge on.

5

UI SDK's Terms: Apache-2.0 Code, Vercel Beta Terms, React 19 and Up

The code is published under the Apache-2.0 licence, a permissive licence that allows commercial use, modification and redistribution. The component behaviors, the five framework adapters, Agent Bridge, the agent instructions and the benchmark code all sit in the same repository. As of November 29 the repository had about 8,000 stars, 289 forks and 183 open issues.

One more condition applies on top of the licence. The README says UI SDK is in beta, falls under Vercel's Public Beta terms, and that frameworks, APIs, docs and behavior may change before general availability. The release out on November 29 is 0.1.0-beta.20. The React adapter requires React 19 or later in its package settings.

The repository's topic tags include mcp and webmcp. The docs separately explain how to register the bridge's three tools with a browser that supports WebMCP and how to run an agent on the server. The bridge is not tied to any one company's agent. Teams choose how to connect their own.

6

Why Pebblous Is Watching This Shift

The row in Vercel's table that caught our eye is "UI SDK page + browser tools." The components on screen were the same. Only the format handed to the agent differed. Given the accessibility tree, the agent read 41.3k characters and made 17 calls. Given the list of component states, in the November 24 version, it read 2.3k characters and made 2 calls. How the same information was packaged decided the agent's cost and speed.

This is familiar ground on the data side. When a company opens its internal data to an agent, letting it scrape whole tables gives different results from handing it records that spell out names, values and permitted operations. What Pebblous calls AI-Ready Data is data organized so a model can use it directly, and Agent Bridge's snapshot applies that principle to the screen.

That makes the quality of those records the quality of the agent. The agent points at components by labels like "Project name", so duplicate labels leave it unsure which component is meant. In #1106 Vercel added a notation such as "Email > Deploy failures" that prefixes a location to tell similar names apart. The now-closed #1097 is a more direct example: the bridge answered "success," but nothing was saved. An agent trusts the state it receives and moves to the next step. When the state record drifts from reality, the agent gets things wrong without knowing it.

6.1What to Check Before Opening a Screen or Data to Agents

Whether or not they use UI SDK, organizations that want agents to use their services can check three things first. Each follows from facts covered in the earlier sections.

  • Are labels unique? If one screen has two fields called "Email," or the name on screen differs from the database field name, the agent will edit the wrong thing.
  • Do the agent's changes take the same save path as a person's? If, as in #1097, only the on-screen value changes and the save is skipped, what the agent reports and what is actually stored will diverge.
  • Is the allowed scope written down? By default Agent Bridge accepts every supported action. The team running the service has to decide what an agent may change and what needs a human's sign-off.

A note on scope. All benchmark figures come from Vercel, and Pebblous did not rerun them. The MarkTechPost article was blocked when we tried to open it, so its content was confirmed through search summaries. The bundle-size and accessibility results come from one developer testing in Chromium. UI SDK is in beta, so the APIs and defaults described here may change in the next release.

6.2Earlier Articles in This Series

This article belongs to the AG-1 strand of the AI Agents series. The earlier article in the same strand covered a standard for handing agents tools along with instructions for using them. An article from another strand asked whether an agent can trust the input it receives. The component state list here connects to the first, and the allow callback to the second.

R

References

Official Repository and Docs

Press and Outside Review