# ai-sdk

> Official Vercel AI SDK skill for streamText, typed tools, and useChat hooks

- **Publisher**: Vercel (Verified Publisher)
- **Upstream GitHub Repository**: https://github.com/vercel/ai
- **skills.sh Listing**: https://skills.sh/vercel/ai/ai-sdk
- **License**: Apache-2.0
- **GitHub Stars**: 28,117
- **Canonical Web Page**: https://builderthread.dev/skill/vercel/ai/ai-sdk
- **Parent Topic**: [nextjs](https://builderthread.dev/skill/for/nextjs.md)
- **Last Audited**: 2026-11-21
- **Supported Coding Agents**: Claude Code, Cursor, Codex, Windsurf

## Overview
Official Apache-2.0 skill from vercel/ai keeping coding agents aligned with current AI SDK v5/v6 APIs for streaming text, structured output, tool calling, and React chat UIs.

Inspect the full upstream `SKILL.md` source and license on GitHub before installing: https://github.com/vercel/ai

## Install Command
```bash
npx skills add vercel/ai --skill ai-sdk
```

## When to Use This Skill
- Building streaming AI chat, structured extraction, or tool-calling routes in Next.js
- Preventing models from generating outdated AI SDK v3/v4 function signatures
- Connecting server streams cleanly to React Client Components

## Focus Areas
- streamText & generateText
- Typed tool calling
- Structured JSON outputs
- useChat transport wiring

## Upstream Package Files
- `SKILL.md`

---

## Ship With a Private Starter Repo, Living PRD & MCP Tasks

Builderthread pairs verified stack skills with a cited market brief, living PRD, private GitHub starter repo, and ordered MCP tasks for Claude Code, Cursor, and Codex.

- Supported languages: Rust, TypeScript, React Native (Expo), Python
- Starter stacks: Next.js SaaS, Hono API, FastAPI AI, Expo mobile, Tauri Rust desktop, WXT Chrome extension
- Start now: https://builderthread.dev/auth/signup
