Scaffold chat apps with create-chat-sdk
Create-chat-sdk is a new CLI tool that scaffolds complete chat bot projects in a single command, with configurable platform adapters (Slack, Discord, etc.), state adapters (Redis, etc.), and pre-configured webhook routes. All prompts can be skipped with flags for scriptable, CI-friendly automation.
Creating a new bot now takes a single command.Chat SDK
scaffolds a complete project with your chosen platform adapters, a state adapter, environment variables, and a webhook route.create-chat-sdkNext.js
The CLI walks you through selecting your (e.g., Slack and Discord) and a (e.g., Redis), then installs the dependencies for you.platform adaptersstate adapter
For example, scaffold a Slack and Discord bot with Redis in one command:
Read the to get started.documentation
with and handlers, a populated , and a pre-configured .Everything wired up:
src/lib/bot.tsonNewMentiononSubscribedMessage.env.examplenext.config.tscombine any of the official or vendor-official platform and state adapters into a single project. The CLI installs only what you select.Pick your stack:
every prompt can be skipped with flags, so works with your AI agents and in CI. Coding agents are automatically detected, so the CLI runs non-interactively when they scaffold your application.Fully scriptable:
create-chat-sdk
Source: original entry ↗
More from Vercel
Follow Vercel to get its new changes in your feed and email digest.
OpenAI Decisions API now available on AI Gateway
OpenAI's Decisions API is now accessible through Vercel's AI Gateway with an OpenAI-compatible endpoint, enabling decision models to answer typed questions and return probabilities, choices, and scores for routing, triage, and guardrails use cases. Support is available across the OpenAI SDK, AI SDK, HTTP API, and CLI with the latest versions.
Timestamp attributes now supported in Vercel Flags
Vercel Flags now supports timestamp attributes for entities, allowing you to create time-based targeting rules. Use this feature to run limited-time campaigns, show content between specific dates, or target users based on registration date.
Glyph Cluster now available in stealth on AI Gateway
Glyph Cluster, a reasoning model for coding and long-context analysis, is now available as a stealth model on Vercel's AI Gateway for Pro and Enterprise plan teams with purchased AI Gateway credits at no cost during the stealth period. The model supports function calling, streams responses, and can be accessed via AI SDK, OpenAI-compatible APIs, and coding agents.