granite3.3:8b
model pulledpip install beeai-framework
mkdir beeai-slack-agent && cd beeai-slack-agent
python -m venv venv && source venv/bin/activate
echo -e "SLACK_BOT_TOKEN=\nSLACK_TEAM_ID=" >> .env
mkdir my_agents && touch my_agents/slack_agent.py
Bee
) and select a workspace to develop your app inOAuth & Permissions
in the sidebarchat:write
scope.env
file as SLACK_BOT_TOKEN=xoxb-your-token
(https://app.slack.com/client/TXXXXXXX/...)
https://<your-workspace>.slack.com
, after redirect, your URL will change to https://app.slack.com/client/TXXXXXXX/CXXXXXXX
, pick the segment starting with TXXXXXXX
.env
file as SLACK_TEAM_ID=TXXXXXXX
bee-playground
in your Slack workspace/invite @Bee
in the channelslack_agent.py
module. Then, follow along with the comments for an explanation.
slack_post_message
tool to post to the #bee-playground Slack channel