channels.
Global Channel Settings
Stream agent’s text progress to the channel in real-time.
Stream tool-call hints (e.g.
read_file("...")) to show what the agent is doing.Channel Configurations
Telegram
Uses long polling — no webhook or public IP required.Enable Telegram channel.
Bot token from @BotFather.
Allowed user IDs or usernames. Empty = allow all (v0.1.4.post3 and earlier); newer versions require
["*"] for all.HTTP/SOCKS5 proxy URL (e.g.
"http://127.0.0.1:7890" or "socks5://127.0.0.1:1080").If true, bot replies quote the original user message.
Discord
Requires Message Content intent enabled in Discord Developer Portal.Enable Discord channel.
Bot token from Discord Developer Portal.
Allowed user IDs. Empty = allow all users.
Discord Gateway WebSocket URL.
Gateway intents bitmask. Default includes: GUILDS + GUILD_MESSAGES + DIRECT_MESSAGES + MESSAGE_CONTENT.
How to respond in group channels:
"mention"— Only respond when @mentioned"open"— Respond to all messages
Enable WhatsApp channel.
WebSocket URL for WhatsApp bridge.
Shared token for bridge authentication (optional but recommended).
Allowed phone numbers (e.g.
["+1234567890"]).WhatsApp Configuration
Slack
Uses Socket Mode — no public URL required.Enable Slack channel.
Connection mode (only
"socket" supported currently).Bot token (
xoxb-...) from OAuth & Permissions.App-Level token (
xapp-...) from Socket Mode settings.Use user token for read-only operations.
Reply in threads instead of channel root.
Emoji reaction to acknowledge messages (e.g.
"eyes", "robot_face").Allowed Slack user IDs (sender-level access control).
Group/channel response policy:
"mention"— Only respond when @mentioned"open"— Respond to all messages"allowlist"— Only respond in allowed channels
Allowed channel IDs (used when
groupPolicy is "allowlist").Enable DM responses.
DM response policy:
"open" or "allowlist".Allowed user IDs for DMs (used when policy is
"allowlist").Feishu (飞书)
Uses WebSocket long connection — no public IP required.Enable Feishu channel.
App ID from Feishu Open Platform.
App Secret from Feishu Open Platform.
Encrypt Key for event subscription (optional for WebSocket mode).
Verification Token for event subscription (optional for WebSocket mode).
Allowed user open_ids. Use
["*"] to allow all users.Emoji type for message reactions (e.g.
THUMBSUP, OK, DONE, SMILE).Feishu Configuration
DingTalk (钉钉)
Uses Stream Mode — no public IP required.Enable DingTalk channel.
AppKey (Client ID) from DingTalk Open Platform.
AppSecret (Client Secret) from DingTalk Open Platform.
Allowed staff IDs. Use
["*"] to allow all users.DingTalk Configuration
QQ (QQ单聊)
Uses botpy SDK with WebSocket — no public IP required. Currently supports private messages only.Enable QQ channel.
App ID from QQ Open Platform (q.qq.com).
App Secret from QQ Open Platform.
Allowed user openids. Empty = public access,
["*"] = explicit public access.QQ Configuration
Matrix (Element)
Requirespip install nanobot-ai[matrix] for E2EE support.
Enable Matrix channel.
Matrix homeserver URL.
Access token for bot account.
Matrix user ID (e.g.
@bot:matrix.org).Device ID (needed to persist E2EE state across restarts).
Enable end-to-end encryption support.
Max seconds to wait for sync loop to stop gracefully before cancellation.
Max attachment size in bytes (default: 20MB).
Allowed user IDs. Empty = all senders allowed.
Group/room response policy:
"open"— Respond to all messages"mention"— Only respond when mentioned"allowlist"— Only respond in allowed rooms
Allowed room IDs (used when
groupPolicy is "allowlist").Accept
@room mentions in mention mode.Matrix Configuration
Enable Email channel.
Explicit permission to access mailbox data. Must be
true to enable.IMAP server hostname (e.g.
imap.gmail.com).IMAP server port.
IMAP username (usually your email address).
IMAP password or app password.
IMAP mailbox to monitor.
Use SSL for IMAP connection.
SMTP server hostname (e.g.
smtp.gmail.com).SMTP server port.
SMTP username (usually your email address).
SMTP password or app password.
Use STARTTLS for SMTP connection.
Use SSL/TLS for SMTP connection (port 465).
Email address to send from.
If false, read emails but don’t send automatic replies.
How often to check for new emails (seconds).
Mark processed emails as seen.
Maximum email body characters to process.
Subject line prefix for replies.
Allowed sender email addresses.
Mochat
Uses Socket.IO WebSocket by default, with HTTP polling fallback.Enable Mochat channel.
Mochat API base URL.
Socket.IO server URL (defaults to
baseUrl if empty).Socket.IO endpoint path.
Claw API token for authentication.
Agent’s user ID in Mochat.
Session IDs to monitor. Use
["*"] for all sessions.Panel IDs to monitor. Use
["*"] for all panels.Allowed user IDs.
Reply delay mode:
"off" or "non-mention".Reply delay in milliseconds (default: 2 minutes).
Mochat Configuration
Running Multiple Channels
You can enable multiple channels simultaneously:Multiple Channels
Next Steps
MCP Servers
Connect external tools via Model Context Protocol
Security
Configure access controls and sandboxing