What problem does it solve? The Vercel AI SDK evolves rapidly, and LLM training data contains deprecated APIs like maxTokens, generateObject, and managed useChat input state. This Skill forces verification against bundled package docs and source code so generated code compiles and runs against the installed SDK version. ## Core Features & Use Cases - Verified API Usage: Searches node_modules/ai/docs/ and node_modules/ai/src/ before writing code, falling back to ai-sdk.dev documentation search. - Migration Error Reference: Maps deprecated patterns to current APIs, including parameters to inputSchema, maxSteps to stopWhen, and typed tool parts in useChat. - Agents and Providers: Guides ToolLoopAgent creation, type-safe useChat consumption via InferAgentUIMessage, Vercel AI Gateway setup, and DevTools debugging. - Use Case: When building a Next.js chat route with tool calling, the Skill checks the installed SDK version, fetches current model IDs from the AI Gateway, and applies the correct streaming response pattern. ## Quick Start Ask the AI to build a streaming chat endpoint with tool calling using the Vercel AI SDK and let it verify the current APIs from the installed package.