What problem does it solve? Developers working with the Vercel AI SDK often rely on outdated training knowledge, leading to deprecated API usage, type errors, and broken implementations. This Skill forces verification against current documentation and source code, ensuring correct usage of functions like generateText, streamText, ToolLoopAgent, and useChat. ## Core Features & Use Cases - Up-to-date API guidance: Searches bundled docs in node_modules/ai/docs/ and ai-sdk.dev instead of relying on stale internal knowledge. - Common error resolution: Maps deprecated patterns (maxTokens, maxSteps, parameters, generateObject) to their current replacements with corrected code examples. - Type-safe agent patterns: Provides end-to-end type safety between ToolLoopAgent definitions and useChat via InferAgentUIMessage. - Use Case: A developer building a chatbot with React asks how to stream responses; the Skill checks the installed ai package docs, applies the current useChat transport pattern, and avoids deprecated handleSubmit APIs. ## Quick Start Ask the assistant to build a streaming chat endpoint using the AI SDK with the latest Anthropic model via the Vercel AI Gateway.