Slack bot powered by PraisonAI multi-agent framework
Project description
slack-praisonai-bot
Slack bot powered by PraisonAI multi-agent framework.
Installation
pip install slack-praisonai-bot
Quick Start
-
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
-
Start PraisonAI Server
pip install praisonai praisonai serve agents.yaml --port 8080
-
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file slack_praisonai_bot-0.1.0.tar.gz.
File metadata
- Download URL: slack_praisonai_bot-0.1.0.tar.gz
- Upload date:
- Size: 5.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6f892ba26e3010277678de84e5e701d9a0a483bafda889852d40d3a5609af5b3
|
|
| MD5 |
b7b3b272a0557cd3bfd257a4871b29c6
|
|
| BLAKE2b-256 |
13a4a64864a58b73cf80c5894d6a34d1a01b6466a2048d430120558c973e83ee
|
File details
Details for the file slack_praisonai_bot-0.1.0-py3-none-any.whl.
File metadata
- Download URL: slack_praisonai_bot-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e0a00e7f40f4ed61afaae2ff5207e4b56f6f7602c4db7042883cd83a9ffb1751
|
|
| MD5 |
7562e3d68c1a642edbd851c0d7a406b7
|
|
| BLAKE2b-256 |
249274e0e8b13b28f41e6d55a2c12e92aa407bb23262d1fe859527a032829edd
|