--- name: olore-ai-sdk-latest description: Local ai-sdk documentation reference (latest). Vercel AI SDK documentation. Use for AI chat interfaces, text generation, structured output, tool calling, agents, MCP, streaming, embeddings, and multi-provider support. --- # ai-sdk Documentation Vercel AI SDK documentation. Use for AI chat interfaces, text generation, structured output, tool calling, agents, MCP, streaming, embeddings, and multi-provider support. ## Quick Reference | Task | Entry Point | |------|-------------| | Getting started | `contents/02-getting-started/` | | Core (generateText, streamText, tools) | `contents/03-ai-sdk-core/` | | Agents | `contents/03-agents/` | | UI hooks (useChat) | `contents/04-ai-sdk-ui/` | | API reference | `contents/07-reference/` | | Troubleshooting | `contents/09-troubleshooting/` | ## When to use Use this skill when the user asks about: - Text generation, streaming, and structured output with the AI SDK - Tool calling, MCP, and agents - Chat UIs (useChat), RSC, and stream protocols - Providers, embeddings, middleware, and migration guides ## How to find information 1. **First**, read `TOC.md` for complete file listing organized by directory 2. Identify relevant section based on user's question 3. Read specific files for details **TOC.md contains all files organized by directory - always check it first.**