|
1 | | -# Channels — 37-Platform Deployment Guide |
| 1 | +# Channels — multi-platform deployment guide |
2 | 2 |
|
3 | | -> Connect your agent to any messaging platform with a unified adapter interface. |
| 3 | +The agents people actually use don't live in one window. A useful research assistant gets pinged on Slack during the workday, on Telegram on the weekend, and over email when someone forwards a thread for it to summarise. Each platform has its own ergonomics, its own rate limits, its own message-shape quirks, its own auth model. The work of integrating each one is real, and writing it once per agent is the thing that stops most projects at "demo on Discord." |
4 | 4 |
|
5 | | ---- |
6 | | - |
7 | | -## Table of Contents |
| 5 | +The channel layer is the boundary that makes this someone else's problem. Every external platform sits behind a single [`IChannelAdapter`](https://github.com/framersai/agentos/blob/master/src/channels/IChannelAdapter.ts) interface; your agent code emits and receives `ChannelMessage` objects, and the adapter handles serialization, auth, reconnection, and platform-specific edge cases. Twelve adapters ship in-tree (`src/channels/adapters/`); 37 curated extension packs cover the rest of the messaging, social, and publishing surface. Same shape on either side of the boundary — same `ChannelMessage` envelope, same `ChannelRouter` for routing inbound traffic to the right agent, same code path for sending replies back out. |
8 | 6 |
|
9 | | -1. [Overview](#overview) |
10 | | -2. [All 37 Channels](#all-37-channels) |
11 | | -3. [Setup Guides](#setup-guides) |
12 | | - - [Discord](#discord) |
13 | | - - [Slack](#slack) |
14 | | - - [Telegram](#telegram) |
15 | | - - [Twitter / X](#twitter--x) |
16 | | - - [WhatsApp](#whatsapp) |
17 | | -4. [Custom Channel Adapter](#custom-channel-adapter) |
18 | | -5. [Message Routing](#message-routing) |
19 | | -6. [Broadcast to Multiple Channels](#broadcast-to-multiple-channels) |
20 | | - |
21 | | ---- |
22 | | - |
23 | | -## Overview |
| 7 | +``` |
| 8 | +User (Discord / Telegram / etc.) |
| 9 | + ↕ platform SDK |
| 10 | +IChannelAdapter |
| 11 | + ↕ ChannelRouter |
| 12 | +Your Agent (AgentOS) |
| 13 | +``` |
24 | 14 |
|
25 | | -The AgentOS Channel System normalizes every external messaging platform behind |
26 | | -a single `IChannelAdapter` interface. Your agent code never speaks platform |
27 | | -APIs directly — it emits and receives `ChannelMessage` objects, and the adapter |
28 | | -handles all platform-specific serialization, authentication, and reconnection. |
| 15 | +Channels are registered as `messaging-channel` extensions and managed by the |
| 16 | +`ChannelRouter`, which handles load balancing, health checks, and fallback. |
29 | 17 |
|
30 | 18 | ``` |
31 | 19 | User (Discord / Telegram / etc.) |
|
0 commit comments