Channels
MushroomAgent connects to various chat platforms through channels. All channels support text messages; some channels also support media and interactive features.
Supported channels
Feishu
Connects to Feishu servers via WebSocket long connection. No public IP required to receive bot events and send replies.
Config:
channels:
feishu:
enabled: true
app_id: "cli_xxx"
app_secret: "xxx"
verification_token: "xxx"
encrypt_key: "xxx"
Good fit for:
- Feishu group bots
- Feishu DM assistants
- internal knowledge Q&A and workflow bots
Environment variables:
FEISHU_APP_IDFEISHU_APP_SECRETFEISHU_VERIFICATION_TOKENFEISHU_ENCRYPT_KEY
Discord
Connects to Discord Gateway via WebSocket to receive messages, and sends replies through REST API.
Config:
channels:
discord:
enabled: true
bot_token: "xxx"
Good fit for:
- community bots
- developer support channels
- agent assistants in Discord DMs or channels
Environment variable:
DISCORD_BOT_TOKEN
Notes
- Channels can run simultaneously; when multiple channels are configured, MushroomAgent routes by conversation
- group behavior varies by channel