ai-sdk-6
Installation
SKILL.md
Vercel AI SDK v6 Development Guide
Use this skill when developing AI-powered features using Vercel AI SDK v6 (ai package).
Quick Reference
Installation
bun add ai @ai-sdk/openai zod # or @ai-sdk/anthropic, @ai-sdk/google, etc.
Core Functions
| Function | Purpose |
|---|---|
generateText |
Non-streaming text generation (+ structured output with Output) |
streamText |
Streaming text generation (+ structured output with Output) |