AI SDK
The unified TypeScript SDK for building AI apps with modern streaming, fallbacks, and multi-model support.
Back to Knowledge BaseUsing AI SDK
Build AI agents with AI Gateway and AI SDK
Build AI agents on Vercel with AI Gateway and AI SDK, then make them reliable, capable, and durable with Sandbox, Chat SDK, Vercel Connect, and Workflow.
Build a web research agent with Workflow SDK
Build a web research agent with Workflow SDK and AI SDK. Searches, reads, and findings become durable steps that survive crashes and mid-run deploys, then returns a cited report.
How to build an agent for Liveblocks with Chat SDK and AI SDK
Build an AI agent that replies to @-mentions in Liveblocks comment threads with streamed responses and tool calling, using Chat SDK, AI SDK, and Redis.
Ship a GitHub code review bot with Hono and Redis
This guide walks through building a GitHub bot that reviews pull requests on demand. When a user @mentions the bot on a PR, Chat SDK picks up the mention, spins up a Vercel Sandbox with the repo cloned, and uses AI SDK to analyze the diff.
How to build a Slack bot that manages files in Vercel Blob
Build a Slack bot using Chat SDK, AI SDK, and Files SDK that can list, read, upload, and delete files in Vercel Blob through tool calls.
Building a Slack agent with durable workflows
Build an AI-powered Slack bot that gathers team data, drafts a summary, and refines it through conversation.
Building stateful Slack bots with Vercel Workflow
Learn how to build Slack bots that maintain state and handle long-running processes without managing queues, databases, or background job infra.
How to build an AI agent for Slack with Chat SDK and AI SDK
Build a Slack AI agent using Chat SDK, AI SDK's ToolLoopAgent, and Vercel AI Gateway. Covers project setup, tool definitions, streaming responses, deployment to Vercel, and scaling tool selection with toolpick.
How to build a durable AI code agent on Vercel
Build an AI agent that generates code, writes its own tests, and executes them in an isolated microVM with automatic retries.
Build an agent with eve
Draft content in your voice from Slack with eve
Deploy the eve content agent template, a Slack bot that drafts blog posts, LinkedIn posts, release notes, and newsletters in your house voice from Notion, using Vercel Connect, Vercel Blob, and AI Gateway.
Build your first Slack agent with eve
Deploy the eve Slack agent template: a starter Slack bot built on the eve framework with an example tool and skill.
All AI SDK Guides
- Build a web research agent with Workflow SDK
- Cost-aware model routing through AI Gateway
- Build your own Slackbot with Vercel Connect
- Build AI agents with AI Gateway and AI SDK
- How to build an agent for Liveblocks with Chat SDK and AI SDK
- How to build a Slack bot that manages files in Vercel Blob
- How to build a durable AI code agent on Vercel
- Building an AI chatbot with Next.js, Langchain, and OpenAI