Matrix
SwB exchanges text messages through a Matrix bot account. It replies in the same room or thread. Mention the bot in a group room to send it a message.
Set room encryption to Off when you create a room for SwB. The bot accepts invites only from the owner accounts you set in SwB.
Block settings
A SwB space groups Matrix rooms that share settings. A Matrix user ID looks like @alex:matrix.example.org. A room ID looks like !team:matrix.example.org.
| Key | Use |
|---|---|
blocks.matrix | Matrix connection settings |
blocks.matrix.use | Set to matrix |
blocks.matrix.enabled | Set to true to load the block |
blocks.matrix.homeserver | HTTPS address of the server that hosts the bot account |
blocks.matrix.token_env | Name of the environment variable for the access token |
blocks.matrix.project | SwB project for messages from Matrix |
blocks.matrix.default_target | Default agent address, such as agent:claude |
blocks.matrix.agents | Spaces where each agent can post and receive events |
blocks.matrix.spaces | Sets of rooms that share settings |
blocks.matrix.spaces.*.rooms | Matrix room IDs for this space |
blocks.matrix.spaces.*.owner_ids | Matrix user IDs that SwB treats as owners |
blocks.matrix.spaces.*.known | Matrix user IDs and names for known people |
blocks.matrix.spaces.*.project | Project for this space |
blocks.matrix.spaces.*.default_target | Default agent address for this space |