slack-agents

Installation
SKILL.md

Slack Agents on Vercel with the AI SDK

Companion skill for the Slack Agents on Vercel with the AI SDK course. Build a production Slack agent with Bolt, Nitro, and the AI SDK, deploy it to Vercel, and give it the logs and runbook someone else needs to operate it.

Commands

/slack-agents learn

Start the guided learning loop. Fetches lessons from Academy and drives you through the course.

/slack-agents new

Scaffold and run a new Slack agent. Five-stage wizard, following lesson 1.1:

  1. Project setup: create your own repo from the Slack Agent template with the Deploy button in lesson 1.1 (copies vercel/academy-starters/slack-agents/starter), clone it, pnpm install
  2. Slack app creation: create the app from manifest.json at api.slack.com/apps (From an app manifest), install it to a Slack Developer Sandbox
  3. Environment configuration: .env with SLACK_SIGNING_SECRET, SLACK_BOT_TOKEN, AI_GATEWAY_API_KEY, and NGROK_AUTH_TOKEN; slack login, slack app link, and "source": "local" in .slack/config.json
  4. Local testing: slack run (starts the ngrok tunnel and the Nitro dev server through scripts/dev.tunnel.ts); answer y to apply manifest changes; DM the bot "ping"
  5. Production deployment: pnpm dlx vercel --prod, add env vars with vercel env add, point the Slack Events Request URL at https://<your-app-domain>.vercel.app/api/slack/events
Installs
2
GitHub Stars
9
First Seen
2 days ago