Skip to main content

Channels

MushroomAgent connects to chat platforms through channels. All channels support text messages; some channels also support media, voice, and interactive features.

Supported channels

ChannelConnectionPublic IP neededFeatures
FeishuWebSocket long connectionNoEvents, text replies
DiscordWebSocket + REST APINoMessages, text replies, slash commands

Feishu

Connects to Feishu servers via WebSocket long connection. No public IP required to receive bot events and send replies.

  • Connection: WebSocket long connection
  • Public IP: not required
  • Features: event receiving, text replies

See Feishu for detailed config.

Discord

Connects to Discord Gateway via WebSocket to receive messages, and sends replies through REST API.

  • Connection: WebSocket + REST API
  • Features: message receiving, text replies, slash commands

See Discord for detailed config.

General config

The template generated by mushroom-agent init includes this config:

channels:
feishu:
enabled: false
app_id: ""
app_secret: ""
verification_token: ""
encrypt_key: ""
discord:
enabled: false
bot_token: ""

Notes

  • Channels can run simultaneously; when multiple channels are configured, MushroomAgent routes by conversation
  • Group behavior varies by channel
  • Refer to each channel page for detailed configuration and environment variables