ai-sdk

Installation
SKILL.md

Vercel AI SDK v6 Patterns

Zod 4.x

This repo uses Zod 4.x (4.3.5+) directly:

// ✅ Standard Zod 4 import
import { z } from 'zod'

Zod 4's optimized types work well with AI SDK v6's recursive generics.


Comprehensive guide for Vercel AI SDK v6 (6.0+) patterns used in agent-first applications. Contains rules for provider setup, tool definitions, multi-step workflows, and result extraction.

When to Apply

Related skills
Installs
2
First Seen
Feb 28, 2026