This is a simple template for a Slack bot that uses A2A to connect to kagent.
Follow along with the Integrating kagent with Slack article for a complete walkthrough.
- Clone the repository
git clone https://github.com/kagent-dev/a2a-slack-template.git
- Create a virtual environment
uv venv
- Install the dependencies
uv sync
The bot is configured using environment variables. Make a copy of the .env.example
file and fill in the values.
cp .env.example .env
uv run main.py