Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
Deprecated Slack Agent template using Workflow DevKit, AI SDK, and Bolt for JavaScript to build AI agents with human-in-the-loop approvals.
The Slack Agent Template is a deprecated Boilerplate repository from Vercel Partner Solutions that demonstrates how to build an AI-powered Slack assistant on Nitro, Bolt for JavaScript, the Vercel AI SDK, and Workflow DevKit, with durable agent execution and human-in-the-loop approvals.
The Slack Agent Template is a complete starter for a Slack bot that responds to mentions and DMs through Slack's Assistant API. It takes a Slack user message as input and produces a streamed, tool-assisted answer in the thread, using agents that can read channel messages, read thread messages, search channels, and join channels (with approval). The template runs on Node.js via the Nitro server framework, is deployable to Vercel, and is written in TypeScript with Bolt for JavaScript handling Slack events. The repository is no longer maintained; Vercel now directs users to the official Eve Slack Agent template.
The Slack Agent Template ships with a durable execution layer, AI SDK tooling, Slack Assistant streaming, and an approval workflow for sensitive actions.
tool function and Zod schema validation; switching AI providers is a one-line change./api/slack/events, and the project uses Nitro's file-based routing.The Slack Agent Template is aimed at developers who need a working Slack AI agent and a reference for durable, approved-gated tool use.
The template can be used as a production baseline for several Slack agent scenarios beyond its default behavior.
When a user sends a message, the assistantUserMessage listener gathers thread context and starts a durable chat workflow. That workflow creates a DurableAgent from Workflow DevKit, calls agent.stream() with the messages, and streams response chunks back to Slack via chatStream(). For sensitive actions, the joinChannel tool creates a hook that posts Approve/Reject buttons; when the user clicks, the action handler resumes the workflow, and the agent continues with the approval decision.
These are common questions about the deprecated Slack Agent Template's status, stack, and local setup.
No. The repository is deprecated and no longer maintained. Vercel recommends using the official Eve Slack Agent template, which replaces it.
It uses Nitro as the server framework, Bolt for JavaScript (TypeScript) for Slack API interactions, the Vercel AI SDK for tool calling and model switching, Workflow DevKit for durable execution, and the Vercel AI Gateway for model access.
Yes. After cloning, installing dependencies with pnpm, creating a Slack app from the manifest, and setting SLACK_BOT_TOKEN, SLACK_SIGNING_SECRET, AI_GATEWAY_API_KEY, and NGROK_AUTH_TOKEN, you run slack run to start a local server.
