Architecture
Channel adapters are TypeScript workers that:- Register HTTP webhook endpoints to receive platform events
- Parse incoming messages and route them to appropriate agents
- Trigger agent chat functions with platform-specific session IDs
- Send agent responses back through platform APIs
- Emit security audit events for compliance tracking
Channel Categories
Messaging
15 messaging platforms including Telegram, Discord, Slack, WhatsApp, Teams
Social Media
9 social platforms including Bluesky, Reddit, Twitch, LinkedIn, Mastodon
Collaboration
12 team tools including Matrix, Mattermost, Rocket.Chat, Zulip, Discourse
Voice & Video
2 platforms: Mumble, Twitch
Notifications
2 platforms: Gotify, ntfy
Custom
Generic webhook adapter for any platform
Complete Channel List
Messaging Platforms (15)
| Channel | Platform | Use Case |
|---|---|---|
telegram | Telegram | Instant messaging, bot commands |
discord | Discord | Community chat, gaming servers |
slack | Slack | Enterprise team communication |
whatsapp | WhatsApp Business API | Customer support |
email | SMTP/IMAP | Email automation |
teams | Microsoft Teams | Enterprise collaboration |
google-chat | Google Chat | Workspace integration |
signal | Signal | Encrypted messaging |
messenger | Facebook Messenger | Social customer service |
viber | Viber | International messaging |
line | LINE | Asia-Pacific markets |
irc | IRC | Legacy chat networks |
xmpp | XMPP/Jabber | Open protocol messaging |
threema | Threema | Privacy-focused messaging |
feishu | Feishu/Lark | China enterprise market |
Social Media (9)
| Channel | Platform | Use Case |
|---|---|---|
bluesky | Bluesky | Decentralized social network |
mastodon | Mastodon | Federated social media |
reddit | Community engagement | |
twitch | Twitch | Live streaming chat |
linkedin | Professional networking | |
nostr | Nostr | Decentralized protocol |
discourse | Discourse | Forum discussions |
gitter | Gitter | Developer communities |
keybase | Keybase | Encrypted social |
Team Collaboration (12)
| Channel | Platform | Use Case |
|---|---|---|
matrix | Matrix | Decentralized chat |
mattermost | Mattermost | Self-hosted Slack alternative |
rocketchat | Rocket.Chat | Open-source team chat |
zulip | Zulip | Threaded conversations |
revolt | Revolt | Discord alternative |
guilded | Guilded | Gaming communities |
webex | Cisco Webex | Enterprise video/chat |
dingtalk | DingTalk | China enterprise market |
flock | Flock | Team productivity |
pumble | Pumble | Team messaging |
twist | Twist | Async communication |
nextcloud | Nextcloud Talk | Self-hosted collaboration |
Notifications & Other (3)
| Channel | Platform | Use Case |
|---|---|---|
gotify | Gotify | Self-hosted push notifications |
ntfy | ntfy | Simple HTTP notifications |
mumble | Mumble | Voice chat |
webhook | Generic Webhook | Any platform |
Common Configuration
All channel adapters use the AgentOS vault for secure credential storage:CLI Commands
Agent Resolution
Channels useresolveAgent() to map platform identifiers to AgentOS agents:
- Multiple agents per channel (e.g., different Telegram chats)
- Default agent fallback if no specific mapping exists
- Dynamic agent assignment based on context
Security Features
- Webhook Signature Verification: Telegram, Slack, and others validate request signatures
- Token Encryption: All API keys stored in AES-256-GCM vault
- Audit Logging: Every channel message emits
security::auditevent - SSRF Protection: Generic webhook adapter blocks private IP ranges
- Rate Limiting: Per-agent GCRA token bucket prevents abuse
Message Splitting
All adapters usesplitMessage() to handle platform character limits:
| Platform | Character Limit |
|---|---|
| Telegram | 4,096 |
| Slack | 4,000 |
| Discord | 2,000 |
| 4,096 | |
| Twitter/Bluesky | 300 |
| Mastodon | 500 |
Session Management
Each platform uses unique session identifiers for conversation continuity:- Conversation history recall
- Thread-aware responses
- Multi-user context separation
Next Steps
Messaging Platforms
Set up Telegram, Discord, Slack, and more
Social Media
Connect to Bluesky, Reddit, Twitch, LinkedIn
Custom Adapters
Build your own channel adapter
Security
Channel security and audit logging