Skip to main content

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)

License

MIT

Metadata

Release files for slack-praisonai-bot 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for slack-praisonai-bot 0.1.0
File Size Uploaded
slack_praisonai_bot-0.1.0.tar.gz 5.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for slack-praisonai-bot 0.1.0
File Interpreter ABI Platform
slack_praisonai_bot-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 10.7 kB

Release files / slack_praisonai_bot-0.1.0.tar.gz

Download URL slack_praisonai_bot-0.1.0.tar.gz
Size 5.2 kB
Tags Source
SHA-256 checksum
How to use checksums
6f892ba26e3010277678de84e5e701d9a0a483bafda889852d40d3a5609af5b3
BLAKE2b-256 checksum
How to use checksums
13a4a64864a58b73cf80c5894d6a34d1a01b6466a2048d430120558c973e83ee
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.11

Release files / slack_praisonai_bot-0.1.0-py3-none-any.whl

Download URL slack_praisonai_bot-0.1.0-py3-none-any.whl
Size 5.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e0a00e7f40f4ed61afaae2ff5207e4b56f6f7602c4db7042883cd83a9ffb1751
BLAKE2b-256 checksum
How to use checksums
249274e0e8b13b28f41e6d55a2c12e92aa407bb23262d1fe859527a032829edd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.11

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page