vercel/ai · Official

ai-sdk

Answer questions about the AI SDK and help build AI-powered features. Use when developers: (1) Ask about AI SDK functions like generateText, streamText, ToolLoopAgent, embed, or tools, (2) Want to build AI agents, chatbots, RAG systems, or text generation features, (3) Have questions about AI providers (OpenAI, Anthropic, Google, etc.), streaming, tool calling, structured output, or embeddings, (4) Use React hooks like useChat or useCompletion. Triggers on: "AI SDK", "Vercel AI SDK", "generateText", "streamText", "add AI to my app", "build an agent", "tool calling", "structured output", "useChat".

All-time #544 Trending #1025 First seen Jan 23, 2026
8-week activity · all time api

Installation

$ npx skills add https://github.com/vercel/ai
Feature your product here Skill page unit · reach builders installing agent skills View pricing →

Summary

  • AI SDK documentation and guidance for building AI-powered features with Vercel's framework.
  • Covers core APIs including generateText , streamText , ToolLoopAgent , embed , and tool calling across multiple AI providers (OpenAI, Anthropic, Google, etc.) Supports building agents, chatbots, RAG systems, and text generation with structured output and streaming capabilities Includes React hooks ( useChat , useCompletion ) and framework-specific patterns for Next.js, SvelteKit, and other platforms Provides type-safe agent consumption with InferAgentUIMessage for end-to-end type safety and local DevTools for debugging

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Security audits

Partner security reviews for this skill.

agent-trust-hub Reviewed

Analyzed Sep 23, 2026

snyk Reviewed

Analyzed Sep 23, 2026

socket Score 0.9000 · 0 alerts

Analyzed Sep 23, 2026

  • license 1
  • maintenance 1
  • quality 0.9
  • supply chain 1
  • vulnerability 1

0 alerts

Also in this package

Other skills from vercel/ai.

npx skills add https://github.com/vercel/ai

Browse all from vercel/ai

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Repository health

Stars 26.6K
License LICENSE
Default branch main
Open issues 586
Status Active

History

  1. First seen on skills.sh
  2. First recorded snapshot · 53,632 installs