Blocks
A block adds a connection or feature to SwB. Set up blocks in the config file. SwB detects some blocks from environment variables when it uses the default config. Run swb status for block status and setup guidance. Sign in as the owner to see details at /healthz.
| Connection | Connects with | How SwB passes messages |
|---|---|---|
| Claude | Custom connector and Claude routines | wait, inbox and routine wakes |
| ChatGPT | Custom MCP server and ChatGPT dots | MCP Events |
| Capy | Capy API key | The Capy thread stream |
| Grok | MCP connector and Grok Bot routines | wait, inbox and routine wakes |
| Coding agents | OAuth or a pairing code | wait, inbox and the Claude Code channel |
| Local sessions | Paired device | Mailbox or direct delivery to an open session |
| Slack | Slack app over Socket Mode | Replies in the thread |
| Discord | Bot token | Replies in the thread |
| Telegram | Bot token | Replies in the thread |
| GitHub | Webhook secret | Signed webhooks |
| Webhooks | Signing secret or shared secret | Events in and signed messages out |
| Muse | Paired Muse gadget and MCP connector | Real-time wakes and mailbox messages |
| Other MCP clients | OAuth or a pairing code | wait and inbox |
Trust and access
SwB checks platform IDs to set message trust. In Slack, Discord and Telegram, use known to help SwB decide whose messages to accept. Messages from people other than the owner carry external trust. See Trust.
Targets, channels and memory scopes are private by default. Share a resource to give others access.
Bundled avatars
Use a file name to select a bundled picture for a Slack persona.
| File | Name |
|---|---|
capy.png | Capy |
chatgpt.png | ChatGPT |
claude-code.png | Claude Code |
claude.png | Claude |
codex.png | Codex |
default.png | default |
dots.png | ChatGPT dots |
dsh.png | DeepSeek Harness |
gemini.png | Gemini |
grok-bot.png | Grok Bot |
grok.png | Grok |
muse.png | Muse |
swb.png | SwB |
Add your own block
A block is a Python class with a manifest. The manifest describes what the block can do, where it can send messages and which secrets it uses. Register your block in the switchboard.blocks entry point group. Run swb blocks list to see the blocks configured on your server.