Skills DirectorySearch all skills ↗

AI agent skill · by @olorehq

Olore Ai Sdk Latest

Local Vercel AI SDK documentation reference (latest). Use for AI chat interfaces, text generation, structured output, tool calling, agents, MCP, streaming, embeddings, and multi-provider support.

Archived 2026-10-23 · Source updated 2026-09-18 · License: MIT. Check the original repository for the latest version.

SKILL.md instructions

# AI SDK Documentation

The Vercel AI SDK is the TypeScript toolkit for building AI-powered applications and agents with React, Next.js, Vue, Svelte, Node.js, and more. It standardizes integration across model providers and provides a unified API for text generation, structured output, tool calling, streaming, and agent workflows.

## Quick Reference

| Task | Entry Point |
|------|-------------|
| SDK overview | `contents/00-introduction/index.mdx` |
| Getting started (Next.js) | `contents/02-getting-started/02-nextjs-app-router.mdx` |
| Generate text | `contents/03-ai-sdk-core/05-generating-text.mdx` |
| Structured output | `contents/03-ai-sdk-core/10-generating-structured-data.mdx` |
| Tool calling | `contents/03-ai-sdk-core/15-tools-and-tool-calling.mdx` |
| Build a chatbot | `contents/04-ai-sdk-ui/02-chatbot.mdx` |
| Build agents | `contents/03-agents/02-building-agents.mdx` |
| API reference | `contents/07-reference/01-ai-sdk-core/` |
| Error reference | `contents/07-reference/05-ai-sdk-errors/` |
| Troubleshooting | `contents/09-troubleshooting/` |

## When to use

Use this skill when the user asks about:
- Generating text, streaming, or structured output with LLMs
- Building chatbots or generative UIs (useChat, useCompletion, useObject)
- Tool calling, MCP tools, or agent workflows
- Embeddings, reranking, image/audio/video generation
- Multi-provider support (OpenAI, Anthropic, Google, etc.)
- AI SDK UI hooks, RSC streaming, or transport layer
- Agent memory, subagents, tool approvals, WorkflowAgent
- AI SDK harnesses (Claude Code, Codex, Pi via HarnessAgent)
- Middleware, telemetry, testing, or error handling
- Migrating between AI SDK versions

## 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 248 files organized by directory - always check it first.**

Related skills