We've published @vercel/slack-bolt
, our official adapter for deploying Slack's Bolt for JavaScript to Vercel's AI Cloud.
Bolt provides a type-safe library for responding to Slack webhook events. However, Slack's API requires a response within three seconds or users are faced with timeouts. This has made it hard to build Slack agents on traditional serverless platforms.
Our adapter uses Fluid compute’s streaming and waitUntil
to acknowledge responses within Slack’s deadline while your agent continues working in the background.
This adapter works with any function or framework using the Web API Request object such as Hono, Nitro or Next.js.
Get started with our Slack Agent Template today or visit the library on npm.