🛠️

Build X bots with Vercel Chat SDK

Use Vercel Chat SDK's new X adapter to handle public mentions and direct messages from one bot codebase.

Original
Jul 14, 2026
Status & Access
Current access and latest update details.
Access
Free
Updated
Jul 14, 2026, 06:12 AM

Vercel added an X adapter to Chat SDK on July 14, 2026. It lets teams build bots that reply to public mentions and direct messages through X API v2 and the X Activity API while keeping the same Chat SDK pattern used for Slack, Discord, GitHub, Teams, Telegram, and WhatsApp.

Best fit: teams already building multi-channel support, community, or workflow bots with Chat SDK.

Check before use:

  • The adapter handles CRC verification, webhook signature checks, and OAuth token refresh for long-running bots.
  • X supports likes as the only reaction in this adapter.
  • Responses post once after completion because X has no native streaming.
  • X automation rules still apply to automated messages, so review policy and rate limits before production use.
Discussion

Sign in to join the discussion and vote on comments.

No comments yet. Start the discussion.
Keep exploring

More from this topic

More in Tools & Apps