Chat Transports
Huskies can be controlled via bot commands in Matrix, Slack or Discord. Only one external transport can be active at a time. The web UI is always available regardless.
.huskies/bot.toml, or ask Claude to set the bot up for you. The file is gitignored. Restart huskies after changes.
Web UI
The built-in web interface is always available at your project's board address. No configuration required. It provides:
- Pipeline board showing all work items and their stages
- Agent status panel with live output streaming
- Chat interface for running commands and talking to Claude
- Coverage and cost dashboards
No bot.toml is required for the web UI. If no transport is configured, huskies runs in web-only mode.
Matrix
Matrix uses the Matrix Client-Server API with long-polling sync. No public webhook URL is required — the bot connects outbound to your homeserver.
Setup
- Register a Matrix account for the bot on your homeserver (e.g.
@huskies:example.com). - Invite the bot account to the rooms you want it to monitor.
-
Add the fields below to
.huskies/bot.toml.
bot.toml fields
| Key | Description |
|---|---|
| homeserver | Your Matrix homeserver URL (e.g. https://matrix.example.com). |
| username | Bot account Matrix ID (e.g. @huskies:example.com). |
| password | Bot account password. |
| room_ids | List of room IDs to listen in (e.g. ["!roomid:example.com"]). |
| allowed_users | Matrix IDs allowed to interact. Empty list means nobody — always set this. |
| ambient_rooms | Rooms where the bot responds to all messages (not just addressed ones). Updated automatically by ambient on/off. |
Slack
Slack uses event subscriptions over a webhook. You'll need a public HTTPS URL pointing to your huskies server.
Setup
- Create a Slack App at api.slack.com/apps.
- Add OAuth scopes:
chat:write,commands,channels:history,groups:history,im:history,channels:read,groups:read,users:read. The last three are for Sign in with Slack (board membership mirrors channel membership):channels:read/groups:readlet the bot list who is in a public/private channel bound to a project, andusers:readis how a workspace admin is recognised as a board admin. - Subscribe to bot events:
message.channels,message.groups,message.im. - Install the app to your workspace and copy the bot token.
-
Set your webhook URL in Event Subscriptions:
https://your-server/webhook/slack -
Add the fields below to
.huskies/bot.toml.
bot.toml fields
| Key | Description |
|---|---|
| slack_bot_token | OAuth bot token starting with xoxb-. |
| slack_signing_secret | Signing secret from the app's Basic Information page. |
| slack_channel_ids | List of channel IDs to listen in (e.g. ["C01ABCDEF"]). |
Discord
Connects huskies to Discord using the Discord Gateway WebSocket. No public webhook URL required — the bot connects outbound.
Setup
- Create a Discord Application at discord.com/developers/applications.
- Go to Bot, create a bot, and copy the token.
- Enable Message Content Intent under Privileged Gateway Intents.
- Go to OAuth2 → URL Generator, select the
botscope with permissions: Send Messages, Read Message History, Manage Messages. - Use the generated URL to invite the bot to your server.
- Right-click target channels → Copy Channel ID (requires Developer Mode enabled in Discord settings).
-
Add the fields below to
.huskies/bot.toml.
bot.toml fields
| Key | Description |
|---|---|
| discord_bot_token | Bot token from the Discord developer portal. |
| discord_channel_ids | List of channel IDs to listen in (e.g. ["123456789012345678"]). |
| discord_allowed_users | Optional. Discord user IDs allowed to interact. When absent, all users in configured channels can interact. |
One channel for the whole org
Your gateway runs its own bot, configured the same way in the gateway's bot.toml. Bind a room to one project with bind <project>, or make it the org channel with bind gateway. See Configuration → One channel for the whole org.