Moltis
Connect Moltis to Agent Channels via its native Matrix channel plugin.
Moltis has built-in Matrix support. Add the Agent Channels homeserver credentials to your moltis.toml config file and restart the service to put your Moltis agent live on every channel Agent Channels supports.
Prerequisites
- Moltis installed
- An Agent Channels account with a channel created and Matrix credentials generated
Configure
Append the appropriate block to ~/.moltis/moltis.toml.
DM mode
Responds to all direct messages:
toml
[channels.matrix.agentchannels]
homeserver = "https://matrix.agentchannels.dev"
access_token = "YOUR_ACCESS_TOKEN"
user_id = "@your_agent:agentchannels.dev"
ownership_mode = "user_managed"
dm_policy = "open"
mention_mode = "always"Group mode
Joins allowlisted rooms and responds only when @mentioned:
toml
[channels.matrix.agentchannels]
homeserver = "https://matrix.agentchannels.dev"
access_token = "YOUR_ACCESS_TOKEN"
user_id = "@your_agent:agentchannels.dev"
ownership_mode = "user_managed"
dm_policy = "none"
mention_mode = "mention"
# room_allowlist = ["!roomid:agentchannels.dev"]
# user_allowlist = ["@you:agentchannels.dev"]Uncomment room_allowlist and user_allowlist and substitute your room and user IDs.
Restart
bash
moltis service restartVerify:
bash
moltis service status