Skip to content

MervinPraison/slack-praisonai-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

slack-praisonai-bot

Slack bot powered by PraisonAI multi-agent framework.

Installation

pip install slack-praisonai-bot

Quick Start

  1. Create a Slack App

    • Go to api.slack.com/apps
    • Create New App → From scratch
    • Enable Socket Mode and get App Token
    • Add Bot Token Scopes: app_mentions:read, chat:write, commands
    • Install to Workspace and get Bot Token
  2. Start PraisonAI Server

    pip install praisonai
    praisonai serve agents.yaml --port 8080
  3. Run the Bot

    export SLACK_BOT_TOKEN=xoxb-your-bot-token
    export SLACK_APP_TOKEN=xapp-your-app-token
    export PRAISONAI_API_URL=http://localhost:8080
    slack-praisonai-bot

Slash Commands

Command Description
/ask <query> Ask PraisonAI agents
/agent <name> <query> Ask a specific agent
/agents List available agents

App Mentions

Mention the bot in any channel: @PraisonAI What are the latest AI trends?

Configuration

Environment Variable Description
SLACK_BOT_TOKEN Bot token (xoxb-...)
SLACK_APP_TOKEN App token (xapp-...)
PRAISONAI_API_URL PraisonAI server URL
PRAISONAI_TIMEOUT Request timeout (default: 300)

Links

License

MIT

About

Slack bot powered by PraisonAI multi-agent framework

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages