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.

Configuration: Put your credentials in .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

  1. Register a Matrix account for the bot on your homeserver (e.g. @huskies:example.com).
  2. Invite the bot account to the rooms you want it to monitor.
  3. Add the fields below to .huskies/bot.toml.

bot.toml fields

KeyDescription
homeserverYour Matrix homeserver URL (e.g. https://matrix.example.com).
usernameBot account Matrix ID (e.g. @huskies:example.com).
passwordBot account password.
room_idsList of room IDs to listen in (e.g. ["!roomid:example.com"]).
allowed_usersMatrix IDs allowed to interact. Empty list means nobody — always set this.
ambient_roomsRooms 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

  1. Create a Slack App at api.slack.com/apps.
  2. 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:read let the bot list who is in a public/private channel bound to a project, and users:read is how a workspace admin is recognised as a board admin.
  3. Subscribe to bot events: message.channels, message.groups, message.im.
  4. Install the app to your workspace and copy the bot token.
  5. Set your webhook URL in Event Subscriptions: https://your-server/webhook/slack
  6. Add the fields below to .huskies/bot.toml.

bot.toml fields

KeyDescription
slack_bot_tokenOAuth bot token starting with xoxb-.
slack_signing_secretSigning secret from the app's Basic Information page.
slack_channel_idsList 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

  1. Create a Discord Application at discord.com/developers/applications.
  2. Go to Bot, create a bot, and copy the token.
  3. Enable Message Content Intent under Privileged Gateway Intents.
  4. Go to OAuth2 → URL Generator, select the bot scope with permissions: Send Messages, Read Message History, Manage Messages.
  5. Use the generated URL to invite the bot to your server.
  6. Right-click target channels → Copy Channel ID (requires Developer Mode enabled in Discord settings).
  7. Add the fields below to .huskies/bot.toml.

bot.toml fields

KeyDescription
discord_bot_tokenBot token from the Discord developer portal.
discord_channel_idsList of channel IDs to listen in (e.g. ["123456789012345678"]).
discord_allowed_usersOptional. 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.