ai-sdk
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
More from skillrecordings/support
vercel-cli
Deploy and manage Vercel projects via CLI. Use when deploying apps, managing environment variables, configuring domains, or pushing secrets to Vercel. Triggers on deploy, vercel, env vars, production.
4lesson-content-question
Answer lesson-specific content questions. Use when a customer asks about a lesson, code example, or concept in a course.
2vector-search
Implement vector search for knowledge retrieval. Use when adding RAG, semantic search, knowledge base features, or context building for the agent.
2ops-setup
Guide user through support platform setup. Use when user says "set up", "configure", "I'm on step X", or provides API keys/credentials.
2email-change
Transfer licenses to a new email address. Use when a customer wants to change account email, move a license, or update access after a job change.
2front-api
Reference for Front REST API integration. Use when working with Front API schemas, nullable fields, webhooks, or debugging Front SDK issues.
2