We now support Hono and Nitro

So you can ship ai agents anywhere

AI SDK Agents
You can copy & paste.

Like shadcn for the AI SDK. Blocks for memory, human-in-the-loop, workflows, and artifacts you can drop into your app with v0, Next.js, or Hono or .

Install, copy, or remix 151 AI SDK blocks.

Full-stack apps. Five ways to consume. Headless, themeable, and interactive.

DownloadDownload as a Next.js app, or export verified blocks as a Hono API server.

CSS
TSX
ZIP
PKG
Shadcn Icon

Shadcn RegistryInstall using shadcn/ui CLI or MCP to add blocks to your existing project.

CLI
Fast
npx shadcn..
MCP
AI
@shadcn-mcp
Shadcn Icon
UI
Ready
ui/button

Full Source CodeEvery block ships its full source code. Read it, change it, own it.

component.tsx
import{ Button }from"@/components/ui/button"
import{ useState }from"react"
Empty line
exportdefaultfunctionComponent(){
const[count, setCount]=useState(0)
return(
<ButtononClick={() => setCount(count + 1)}>
Click me(3)
</Button>
)
}
Ready
10 lines

Open in v0Edit and customize full stack AI Agent blocks directly in the v0 editor.

v0 interface

Copy for a coding agentCopy the selected block’s implementation as AI-ready context for Cursor, Claude Code, or Codex.

Copy for a coding agent
Claude
Cursor

Explore

Find the block for what you’re building.

Start with what your app needs to do. Open a use case to find the blocks that solve it.

Start from a complete agent app

4 use cases · 18 blocks

Analyze and plan a business task5 options
Create brand assets6 options
Research a market3 options
Audit a website4 options

Build the chat interface

4 use cases · 15 blocks

Show reasoning and tool calls4 options
Render generative UI4 options
Build a familiar chat UI5 options
Cite the answer’s sources2 options

Orchestrate multi-agent workflows

3 use cases · 17 blocks

Route to sub-agents6 options
Remember and follow up4 options
Run a multi-step workflow7 options

Add evals and guardrails

2 use cases · 13 blocks

Verify and improve answers5 options
Constrain the model’s choices8 options

Generate documents and artifacts

5 use cases · 19 blocks

Create docs and presentations6 options
Work with tables and sheets6 options
Create diagrams and maps3 options
Generate code1 options
Convert file formats3 options

Stream text and structured output

3 use cases · 11 blocks

Generate structured output6 options
Generate and stream text3 options
Cache repeated prompts2 options

Add human-in-the-loop

3 use cases · 9 blocks

Approve tool calls4 options
Review a plan2 options
Ask for missing context3 options

Generate images, voice, and video

3 use cases · 15 blocks

Create or edit images9 options

Generate, combine, or transform visual content.

Create video and 3D scenes2 options
Add speech and transcription4 options

Give agents tools

4 use cases · 14 blocks

Act with tools6 options
Pass user context to tools3 options
Control an agent’s loop3 options
Give an agent instructions and skills2 options

Ground answers with RAG and search

4 use cases · 20 blocks

Chat with your docs (RAG)4 options
Find answers on the web7 options
Scrape a URL for the model7 options
Search an image collection2 options

35 use cases. 151 blocks. Find your next building block.

Browse all blocks

Overview

What is AI SDK Agents?

Patterns for common and niche AI agent problems, built on the Vercel AI SDK. From sub-agents to memory, each one solves a single problem.

Browse 151 blocks

Patterns

AI SDK agent patterns by problem

AI SDK Agents covers the problems that show up once an agent app gets complex: multi-step tool calling, tool-call repair, human approval, memory, sub-agents, loop control, and durable workflows. Each pattern ships the React UI, the API route, and the tools as source you own.

Compare

AI SDK vs AI SDK Agents

The Vercel AI SDK is the open-source TypeScript toolkit that provides the primitives: streaming, tool calling, and agent loops. AI SDK Agents is a catalog of complete patterns built on those primitives, so you start from working code instead of wiring the UI, route, and tools together yourself.

shadcn

Built for shadcn/ui

AI SDK Agents patterns install with the shadcn CLI and use your Tailwind tokens, so they inherit your existing theme instead of shipping their own. When you only need the interface, use the AI components for shadcn/ui.

Frequently Asked Questions

AI SDK Agents is copy-paste agent patterns on the Vercel AI SDK: typed tools, streaming UI, and multi-step workflows. Each pattern includes React UI on shadcn/ui plus API routes for OpenAI, Anthropic, Google, and other AI SDK providers.

From $149

One license. 1,800+ files.

shadcn
shadcn
Verified account

@shadcn

aisdkagents Looks amazing. A registry of agents makes so much sense. I like this distribution method.