Vercel AI Sdk

Guide for Vercel AI SDK v6 implementation patterns including generateText, streamText, ToolLoopAgent, structured output with Output helpers, useChat hook, tool calling, embeddings, middleware, and MCP integration. Use when implementing AI chat interfaces, streaming responses, agentic applications, tool/function calling, text embeddings, workflow patterns, or working with convertToModelMessages and toUIMessageStreamResponse. Activates for AI SDK integration, useChat hook usage, message streaming, agent development, or tool calling tasks.

op0ai a9aed6f 8 files · 120.9 KB Updated

File contents

op0ai/claude-skills/tree/main/skills/vercel-ai-sdk commit a9aed6fc9f

Frequently asked questions

npx skillmds@latest add op0ai/vercel-ai-sdk