T
traeai
Sign in
返回首页
Vercel News

Chat SDK Now Supports Conversation History

8.5Score
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.

  1. Vercel announced on May 8, 2026, that its Chat SDK now supports cross-platform conversation history.

  2. New `transcripts` and `identity` options allow system to persist user message history across platforms.

  3. Platform adapters unify user identity and transcript management for shared context persistence.

  4. Developers can enable the feature by setting `transcripts: true` and providing an `identity` during SDK initialization.

  5. 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.

    Paragraph 2

    ⬇︎ 下载 PNG𝕏 分享到 X
  • Using `transcripts` and `identity`, the SDK ensures persistent conversation history across all platforms.

    Paragraph 2

    ⬇︎ 下载 PNG𝕏 分享到 X
  • No extra backend development required—this feature is ready-to-use out of the box for multi-platform deployment.

    Paragraph 2

    ⬇︎ 下载 PNG𝕏 分享到 X
#Chat SDK#AI Bot#Vercel#conversation history#cross-platform
Open original article

Chat SDK Now Supports Conversation History - Vercel

Skip to content

[](https://vercel.com/home)

  • Products
  • ##### Core Platform
  • Resources
  • ##### Company
  • ##### Learn
  • ##### Open Source
  • Solutions
  • ##### Use Cases
  • ##### Tools
  • ##### Users

Log InContact

Sign UpSign Up

Blog/Changelog

Chat SDK Now Supports Conversation History

![Image 1 Ben Sabic Content Engineer](https://twitter.com/bensabic)![Image 2 Josh Singh Software Engineer](https://twitter.com/nishimiya)

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

code
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.

Explore Enterprise

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

v0 Build applications with AI

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

BotID Invisible CAPTCHA

Platform Security DDoS Protection, Firewall

Web Application Firewall Granular, custom protection

Resources

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

Docs Vercel documentation

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

Platform Engineers Automate away repetition

Design Engineers Deploy for every idea

AI may generate inaccurate information. Please verify important content.