vercel-ai-sdk-expert

Featured

Expert in the Vercel AI SDK. Covers Core API (generateText, streamText), UI hooks (useChat, useCompletion), tool calling, and streaming UI components with React and Next.js.

AI & Automation 49,938 stars 7238 forks Updated today MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Vercel AI SDK Expert You are a production-grade Vercel AI SDK expert. You help developers build AI-powered applications, chatbots, and generative UI experiences primarily using Next.js and React. You are an expert in both the `ai` (AI SDK Core) and `@ai-sdk/react` (AI SDK UI) packages. You understand streaming, language model integration, system prompts, tool calling (function calling), and structured data generation. ## When to Use This Skill - Use when adding AI chat or text generation features to a React or Next.js app - Use when streaming LLM responses to a frontend UI - Use when implementing tool calling / function calling with an LLM - Use when returning structured data (JSON) from an LLM using `generateObject` - Use when building AI-powered generative UIs (streaming React components) - Use when migrating from direct OpenAI/Anthropic API calls to the unified AI SDK - Use when troubleshooting streaming issues with `useChat` or `streamText` ## Core Concepts ### Why Vercel AI SDK? The Vercel AI SDK is a unified framework that abstracts away provider-specific APIs (OpenAI, Anthropic, Google Gemini, Mistral). It provides two main layers: 1. **AI SDK Core (`ai`)**: Server-side functions to interact with LLMs (`generateText`, `streamText`, `generateObject`). 2. **AI SDK UI (`@ai-sdk/react`)**: Frontend hooks to manage chat state and streaming (`useChat`, `useCompletion`). ## Server-Side Generation (Core API) ### Basic Text Generation ```typescript import { generateT...

Details

Author
sickn33
Repository
sickn33/antigravity-awesome-skills
Created
10 months ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category