Skip to content

Application server

Slack

To serve the Slack app, run:

python -m hygroup.scripts.server --gateway slack

To enable manual approval of agent actions via ephemeral messages, use the --user-channel slack option:

python -m hygroup.scripts.server --gateway slack --user-channel slack

GitHub

To serve the GitHub app, run:

python -m hygroup.scripts.server --gateway github

The GitHub app server additionally requires a smee.io channel for webhook payload delivery to the local server. A channel is generated during the GitHub app setup and stored in the .env file as GITHUB_APP_WEBHOOK_URL. To connect to the channel, install the smee client and run:

source .env \
&& smee -u $GITHUB_APP_WEBHOOK_URL -t http://127.0.0.1:8000/api/v1/github-webhook