vercel-ai-sdk
Installation
SKILL.md
Vercel AI SDK - Build AI-Powered Apps
Stream AI responses, call functions, and build conversational interfaces
When to Use
Use Vercel AI SDK when you need:
- Streaming responses from LLMs with real-time UI updates
- React hooks (useChat, useCompletion) for chat/completion interfaces
- Function calling and tool use for AI agents
- Structured outputs with Zod schema validation
- Multi-provider support (OpenAI, Anthropic, Google, etc.)
- Edge runtime compatibility for fast global responses