Chat SDK adds native Slack agent support
By Steven Van ·
Chat SDK's Slack adapter now supports agent-style messaging, with per-thread suggested prompts, token-by-token streaming, and feedback buttons.
Vercel's Chat SDK has a Slack adapter that now supports the full native Slack agent messaging experience, not just standard bot messages. Agents can run inside the Messages tab with suggested prompts, rotating status messages while a reply is generating, token-by-token streaming, and feedback buttons.
- Suggested prompts can be a static list or an async resolver that reads thread context, including what the user is currently viewing under agent_view; they're pinned automatically whenever an agent thread opens.
- Streamed replies render token-by-token via Slack's streaming API, including task and plan cards. Workspaces that don't support streaming, such as GovSlack, fall back to Post+Edit.
- Setting feedbackButtons: true adds thumbs-up/down buttons to every streamed reply, with clicks handled through the bot.onAction flow.
One caveat: under agent_view, Slack threads each user message individually, so channel history only returns the user's side of a DM. Vercel says to use Chat SDK transcripts instead to build AI conversation history. Details are in the Chat SDK resources page.
