A picker can look finished in a screenshot and still leave a keyboard user unable to select a teammate. An agent that changes it directly adds another path to verify.
UI SDK is Vercel Labs’ beta library for composing interface behaviors and exposing component actions to agents. It separates interactions such as focus, selection, and popup dismissal from a finished visual design. The official repository provides adapters for React, Vue, Svelte, Solid, and Web Components under an Apache-2.0 license.
For a builder, the interesting question is whether the human interface and the agent’s actions produce the same valid application state. I would evaluate one small control against that question before choosing the library for a larger product. This is a documentation-based implementation guide; MustHave.ai has not run the SDK benchmark or tested a production integration.
Behaviors give the component a job beyond its appearance
The UI SDK overview breaks a selector into reusable pieces, including a popup, selection, and typeahead. Other documented behaviors cover resizing, reordering, and viewport interactions. The project’s design lets an agent combine these pieces into a component that fits the application.
That approach makes a component’s interaction contract worth writing down. For an assignee picker, decide what opens it, where focus goes, and how a person cancels. Decide whether moving through the choices immediately changes the assignee or only highlights a possible selection. The visible label and the stored value must agree after a choice.
A design prompt such as “make a beautiful dropdown” leaves those decisions unresolved. A better brief names the data, the allowed action, and the expected keyboard behavior. It also tells the coding agent to use the product’s existing styles, so a new interaction library does not become an accidental redesign.
Start with the installed version’s documentation
The current setup guide says the React path needs React 19 or newer. It installs the framework adapter alongside @ui-sdk/core and directs agents to documentation included in the installed package. The beta notice warns that APIs can change.
In an existing application, first check the framework version and package policy. A dependency with a matching name is not enough evidence that an older snippet remains compatible. Save the exact installed versions with the trial, including the lockfile. Give the agent the documentation for those versions before asking it to compose a custom control.
Keep the first change easy to remove. A low-risk settings picker is a better evaluation target than a billing screen or a form that handles sensitive records. Review the generated primitive and its framework adapter as application code. Library-provided behavior still needs a valid connection to your own state and save operation.
Writing an interface and operating it are separate features
The agent documentation describes two roles. A coding agent can build a component from behaviors. An agent bridge can then expose rendered components, their state, and supported actions. That second capability needs its own product decision.
A team might adopt the behaviors while leaving runtime agent access out of the application. Another might let a support assistant change a preference, but require a person to submit the resulting form. Choose the useful scope before exposing actions. There is no benefit in giving an assistant a larger set merely because the bridge can discover it.
Use labels that make the intended target unambiguous. Two controls both called “Status” may be understandable in separate visual cards, yet confusing when an assistant receives a list of available components. Test the actual labels and returned state in the finished screen, with realistic repeated content.
Specify permissions before enabling the bridge
UI SDK’s permissions documentation says supported actions are accepted when no allow callback is provided. It also documents confirmation markers and callbacks for restricting actions. A refusal stops the requested sequence, while earlier steps remain applied.
That last detail affects how a settings workflow should recover. Suppose an assistant changes the project name, changes the assignee, then reaches a visibility change that is refused. The application should show the changes already made. A generic failure message would leave the person guessing whether the form still contains their original values.
For an initial trial, I would allow only a harmless local preference. Keep publication, deletion, and charges outside the trial. The server must continue checking who may perform each operation. A control’s agent permission is an interface rule; it does not replace authorization in the service that stores the change.
The same permissions page warns that a value callback can reject a change even when an action returns an overall success status. Read the returned changes and the actual value before telling a user that a task is complete. Give the assistant a way to report a refusal accurately.
A proposed picker acceptance test
The following is a test plan for a disposable application. It is not a set of observed UI SDK results. Use three fictional teammates, one disabled choice, and a selected value that remains visible after the popup closes. The fixture avoids personal data and external side effects.
| Path | Action to try | Evidence to keep |
|---|---|---|
| Keyboard | Open the picker, move through choices, then select. | Focused item, selected label and stored identifier agree. |
| Cancellation | Open, move to another choice, then press Escape. | The documented cancellation behavior and resulting focus. |
| Agent | Request an allowed choice through the bridge. | The returned change and the value shown to the person. |
| Refusal | Request a disallowed action after an allowed local change. | The refusal plus any earlier change still present. |
| Save | Submit the selected identifier, then reload. | The server accepts the authorized value and returns it. |
Repeat the useful paths with touch input and the product’s supported assistive technology. Check the visible focus indicator against the actual theme. A component can retain its internal state correctly while custom styling hides the only clue that a keyboard user has moved.
Use the testing kit without confusing it with a full audit
The official testing guide provides helpers for interactions, focus, accessibility attributes, and server output. It distinguishes DOM-based interaction tests from checks that can run without a DOM. Those tools can support repeatable component tests.
An application still needs to verify what surrounds the control. A required field needs an understandable error. A dialog needs an escape path. Saving needs feedback that persists long enough to read. If a team tests only the primitive, it can miss a failure introduced by the form or page that contains it.
Keep test expectations tied to the product requirement. A test that repeats the implementation’s own chosen state value proves little. A useful test checks whether a person can complete the task and whether the stored result matches the decision they made.
Read the performance claim with its test conditions
UI SDK publishes a benchmark comparing its agent bridge with browser-tool operation on a project settings task. The documentation reports medians from three runs per column and says every run completed the task. It also says the same UI SDK screen, operated through browser tools, took roughly as long as the other libraries.
The evidence therefore concerns a particular interaction route and workload. It does not establish that switching component libraries automatically speeds up a product. A team should measure its own completed task, including permission prompts and error recovery.
For a useful internal comparison, keep the model, task, and acceptance rule constant. Count failed attempts as well as successful ones. Include the reviewer’s time when the assistant needs help. Publish the fixture with any claimed result so another developer can understand what changed.
Adopt it around one verifiable task
UI SDK is worth a small trial when a product needs custom interactions or deliberate agent access to component actions. Keep a working control as the comparison point. Expand only after the new path meets the human interaction requirements and returns the correct saved state.
Start with the bridge setup guide if runtime access is the goal. Otherwise, begin with component behaviors and leave that integration decision for later. Which control in your product would make the most revealing first test?



