Quickstart
Docker
As an alternative to a local environment setup, use our Docker container to install and run the Slack and GitHub apps:
-
Configure the app type to install and run,
slack
orgithub
: -
Setup the app (prints the setup URL to follow in the output) - only required once per app:
Important: when running the container on a remote host, supply the hostname or IP address via thedocker run --rm -it \ -v "$(pwd)/.data-docker":/app/.data \ -p 8801:8801 \ ghcr.io/gradion-ai/hybrid-groups:latest \ setup $APP_TYPE
--host
parameter. After setting up the Slack app, add it to any Slack channels you want it to be active in. You can do this from the channel's menu underOpen channel details
->Integrations
->Add apps
. -
Run the server:
To enable user channels in Slack, append thedocker run --rm -it \ -v "$(pwd)/.data-docker":/app/.data \ ghcr.io/gradion-ai/hybrid-groups:latest \ server $APP_TYPE
--user-channel slack
option. -
Verify with a usage example that your installation works.
App installation
Follow the installation instructions for setting up a development environment and installing the Slack and GitHub apps.
Gemini API key
A GEMINI_API_KEY is required for background reasoning and by demo agents. Place it in a .env
file in the project's root directory.
Agent registration
Register example agents by running the following command. Without any additional API keys, this will add agents general
and weather
to the agent registry.
Hint
Other agents in the demo/register_agents.py script require additional API keys for running their MCP servers. These can be added to .env
if sharing API keys among users is acceptable. For running MCP servers with user-specific API keys, users need to add them as user secrets in the Slack app's home view or via user registration.
App server
To serve the Slack app, run:
To serve the GitHub app, run:
The GitHub app server additionally requires a smee.io channel for webhook payload delivery. 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:
Usage example
Activate the weather
agent via background reasoning by entering e.g.
in the channel where the Slack app was added
or in the description of a new GitHub issue:
For directly mentioning the weather
agent in Slack, use @weather
at the beginning of a message, in GitHub use @hybrid-groups/weather
(and replace hybrid-groups
with the GitHub app name you've chosen).