shadcn's agent-first UI SDK: ~50% fewer tool calls, ~75% fewer tokens, ~70% cheaper
shadcn · x · 2026-11-18
shadcn explains how the in-progress UI SDK (@uisdk) is built agent-first: first-class WebMCP support means UI built with the SDK ships with its own tools, so agents read component state and call actions directly—no screenshots, no click-simulating. Primitives via definePrimitive bundle tested behaviors (focus, keyboard nav, popups, drag-and-drop) that agents compose into components, renderable across React/Vue/Svelte/Solid/Web Components. A createAgent() bridge lets agents snapshot and operate live pages, with registerTools for confirmation gates. Benchmark: 50% fewer tool calls, 75% fewer tokens, 70% cheaper than existing libraries, reproducible via the published benchmark.
Related event: shadcn Details Agent-First UI SDK, Cutting Tool Calls 50% and Tokens 75%(2 posts)→
More from coding & agent
- Managing four Docker hosts with Komodo and GitHub in one dashboard — ruhanirabin · 2026-11-18
- Lily Ray's workflow: use ChatGPT to compile your past work into shareable links — lilyraynyc · 2026-11-18
- Drawing humanity's history with JavaScript: cave art to scientific revolution — prasenx · 2026-11-18
- One-line fix cuts training step time 40%: HSDP keeps all-gathers on NVLink — FerdinandMom · 2026-11-18
- After two years on Codex and Claude, dev says you simply can't quit — rachittshah · 2026-11-18
- Cursor teases Origin, 'a git forge for the agentic era' — himanshustwts · 2026-11-18