Back to MD Exchange
    Agent Configurationsslackbotchatbotautomationintegrationai-agent

    Slack Bot Agent Framework

    Build intelligent Slack bots that answer questions from your docs, create tickets, run queries, and integrate with any API. Includes conversation memory and threading.

    K
    keygroup|March 25, 2026
    0 downloads0 stars

    Uploaded markdown content, not a verification of tool compatibility or results. Review the raw text, commands, and permissions before using it. Stars require an account.


    name: slack-bot-framework
    description: Framework for building AI-powered Slack bots


    Slack Bot Agent Framework

    Build smart Slack bots that actually get work done.

    Architecture

    Slack Event β†’ Bolt.js β†’ AI Router β†’ Tool Executor β†’ Response
                                       β†’ Memory Store
                                       β†’ Analytics
    

    Built-in Tools

    | Tool | Description |
    |------|-------------|
    | docs-search | Search company documentation |
    | ticket-create | Create Jira/Linear tickets |
    | db-query | Run read-only SQL queries |
    | api-call | Make authenticated API requests |
    | calendar | Check/create calendar events |
    | deploy | Trigger deployment pipelines |

    Features

    • Threaded conversations with memory
    • Mention-based activation (@bot)
    • Slash commands (/ask, /ticket, /deploy)
    • Channel-specific permissions
    • Rate limiting per user
    • Audit logging
    • Graceful error handling with retry

    Setup

    npm init slack-bot my-bot
    cd my-bot
    cp .env.example .env
    # Add SLACK_BOT_TOKEN, SLACK_SIGNING_SECRET, ANTHROPIC_API_KEY
    npm run dev
    

    Custom Tool Example

    bot.tool("check-status", {
      description: "Check service health status",
      parameters: { service: "string" },
      execute: async ({ service }) => {
        const res = await fetch(statusPageUrl);
        return { status: res.ok ? "healthy" : "degraded" };
      },
    });