Docs
Resources
AI Gateway
Gateway
Resources
/ Templates
Templates
Start from official app templates, examples, and framework integrations built with the AI SDK.
Starter Kits
View all
Chatbot Starter Template
Uses the AI SDK and Next.js. Features persistence, multi-modal chat, and more.
Internal Knowledge Base (RAG)
Uses AI SDK Language Model Middleware for RAG and enforcing guardrails.
Multi-Modal Chat
Uses Next.js and AI SDK useChat hook for multi-modal message chat interface.
Semantic Image Search
An AI semantic image search app template built with Next.js, AI SDK, and Postgres.
Natural Language PostgreSQL
Query PostgreSQL using natural language with AI SDK and GPT-4o.
Feature Exploration
Feature Flags Example
AI SDK with Next.js, Feature Flags, and Edge Config for dynamic model switching.
Chatbot with Telemetry
AI SDK chatbot with OpenTelemetry support.
Structured Object Streaming
Uses AI SDK useObject hook to stream structured object generation.
Multi-Step Tools
Uses AI SDK streamText function to handle multiple tool steps automatically.
Frameworks
Next.js OpenAI Starter
Uses OpenAI GPT-4, AI SDK, and Next.js.
Nuxt OpenAI Starter
Uses OpenAI GPT-4, AI SDK, and Nuxt.js.
SvelteKit OpenAI Starter
Uses OpenAI GPT-4, AI SDK, and SvelteKit.
Solid OpenAI Starter
Uses OpenAI GPT-4, AI SDK, and Solid.
Generative UI
Gemini Chatbot
Uses Google Gemini, AI SDK, and Next.js.
Generative UI with RSC (experimental)
Uses Next.js, AI SDK, and streamUI to create generative UIs with React Server Components.
Security
Bot Protection
Uses Kasada, OpenAI GPT-4, AI SDK, and Next.js.
Rate Limiting
Uses Vercel KV, OpenAI GPT-4, AI SDK, and Next.js.