Chat SDK Now Supports Conversation History

TL;DR · AI Summary
Vercel's Chat SDK now enables cross-platform conversation history via `transcripts` and `identity` options.
Key Takeaways
- Chat SDK supports `transcripts` and `identity` options for persistent cross-plat
- Users retain message history across platforms like Web and Mobile when interacti
- The feature requires only a simple config enablement—no additional backend work
Outline
Jump quickly between sections.
Vercel announced on May 8, 2026, that its Chat SDK now supports cross-platform conversation history.
New `transcripts` and `identity` options allow system to persist user message history across platforms.
Platform adapters unify user identity and transcript management for shared context persistence.
Developers can enable the feature by setting `transcripts: true` and providing an `identity` during SDK initialization.
Users can seamlessly continue conversations across web and mobile apps without losing context.
Mindmap
See how the topics connect at a glance.
查看大纲文本(无障碍 / 无 JS 友好)
- Vercel Chat SDK 跨平台对话历史支持
- 核心功能
- `transcripts` 选项启用历史记录
- `identity` 选项绑定用户身份
- 技术实现
- 平台适配器统一管理上下文
- 分布式存储对话转录
- 应用场景
- Web 与 Mobile 多端同步
- AI 客服上下文延续
Highlights
Key sentences worth saving and sharing.
Users retain their chat history across platforms—no need to re-establish context when switching devices.
Using `transcripts` and `identity`, the SDK ensures persistent conversation history across all platforms.
No extra backend development required—this feature is ready-to-use out of the box for multi-platform deployment.
Chat SDK Now Supports Conversation History - Vercel
[](https://vercel.com/home)
- Products
- ##### AI Cloud
- AI Gateway One endpoint, all your models
- Sandbox Isolated, safe code execution
- Vercel Agent An agent that knows your stack
- AI SDK The AI Toolkit for TypeScript
- v0 Build applications with AI
- ##### Core Platform
- CI/CD Helping teams ship 6× faster
- Content Delivery Fast, scalable, and reliable
- Fluid Compute Servers, in serverless form
- Workflow Long-running workflows at scale
- Observability Trace every step
- ##### Security
- Bot Management Scalable bot protection
- BotID Invisible CAPTCHA
- Platform Security DDoS Protection, Firewall
- Web Application Firewall Granular, custom protection
- Resources
- ##### Company
- Customers Trusted by the best teams
- Blog The latest posts and changes
- Changelog See what shipped
- Press Read the latest news
- Events Join us at an event
- ##### Learn
- Docs Vercel documentation
- Academy Linear courses to level up
- Knowledge Base Find help quickly
- Community Join the conversation
- ##### Open Source
- Next.js The native Next.js platform
- Nuxt The progressive web framework
- Svelte The web’s efficient UI framework
- Turborepo Speed with Enterprise scale
- Solutions
- ##### Use Cases
- AI Apps Deploy at the speed of AI
- Composable Commerce Power storefronts that convert
- Marketing Sites Launch campaigns fast
- Multi-tenant Platforms Scale apps with one codebase
- Web Apps Ship features, not infrastructure
- ##### Tools
- Marketplace Extend and automate workflows
- Templates Jumpstart app development
- Partner Finder Get help from solution partners
- ##### Users
Chat SDK Now Supports Conversation History

1 min read
Copy URL
Copied to clipboard!
May 8, 2026
The Chat SDK now supports cross-platform conversation history through the new transcripts and identity options. User transcripts persist across every platform adapter, allowing the same user to maintain their message history regardless of where they interact with your bot.
lib/bot.ts
1import { Chat } from "chat";2
3const bot = new Chat({4 userName: "mybot",5 identity: ({ author }) => author.email ?? null,6 transcripts: {7 retention: "30d",8 maxPerUser: 200,9 },10 // ...11});Identify users by email and retain up to 200 messages per user for 30 days
bot.transcripts exposes four methods, backed by your existing state adapter:
append: persist an inbound message or a bot reply
list: return entries chronologically with filters
count: total entries stored for a user
delete: wipe every entry for a user
Read the Chat SDK documentation to get started, or try one of the templates.
Ready to deploy? Start building with a free account. Speak to an expert for your _Pro_ or Enterprise needs.
Start DeployingTalk to an Expert
(Part 2 of 3 — please maintain consistent translation style)
Explore Vercel Enterprise with an interactive product tour, trial, or a personalized demo.
Get Started
Build
Scale
Secure
Resources
Learn
Frameworks
SDKs
Use Cases
Company
Community
[](https://vercel.com/home)
Loading status…Select a display theme:system light dark
Products
AI Gateway One endpoint, all your models
Sandbox Isolated, safe code execution
Vercel Agent An agent that knows your stack
AI SDK The AI Toolkit for TypeScript
CI/CD Helping teams ship 6× faster
Content Delivery Fast, scalable, and reliable
Fluid Compute Servers, in serverless form
Workflow Long-running workflows at scale
Observability Trace every step
Bot Management Scalable bot protection
Platform Security DDoS Protection, Firewall
Web Application Firewall Granular, custom protection
Resources
Customers Trusted by the best teams
Blog The latest posts and changes
Academy Linear courses to level up
Knowledge Base Find help quickly
Community Join the conversation
Next.js The native Next.js platform
Nuxt The progressive web framework
Svelte The web’s efficient UI framework
Turborepo Speed with Enterprise scale
Solutions
AI Apps Deploy at the speed of AI
Composable Commerce Power storefronts that convert
Marketing Sites Launch campaigns fast
Multi-tenant Platforms Scale apps with one codebase
Web Apps Ship features, not infrastructure
Marketplace Extend and automate workflows
Templates Jumpstart app development
Partner Finder Get help from solution partners