> ## Documentation Index
> Fetch the complete documentation index at: https://docs.vecbase.com/llms.txt
> Use this file to discover all available pages before exploring further.

# 通道概览

> 将 Agent 连接到消息平台

# 通道

通道让你的 Vecbase Agent 通过消息平台与用户沟通。用户可以直接在 Telegram、飞书、Discord 或 Slack 中与 Agent 对话 — Agent 自动回复。

## 工作原理

1. 你将消息平台连接到 Agent（一次性设置）
2. 用户在该平台给机器人发消息
3. Agent 读取消息、思考、自动回复
4. 回复直接出现在对话中

## 支持的平台

<CardGroup cols={2}>
  <Card title="Telegram" icon="paper-plane" href="/v1/agents/telegram">
    通过 BotFather 创建机器人连接
  </Card>

  <Card title="飞书" icon="comment-dots" href="/v1/agents/feishu">
    通过开放平台创建应用连接
  </Card>

  <Card title="Discord" icon="discord" href="/v1/agents/discord">
    通过 Developer Portal 创建机器人连接
  </Card>

  <Card title="Slack" icon="slack" href="/v1/agents/slack">
    通过 Slack API 创建应用连接
  </Card>
</CardGroup>

## 添加通道

1. 打开你的 Agent，点击右上角的 **设置**
2. 点击 **通道** 标签页
3. 在想要的平台旁点击 **添加通道**
4. 按照平台教程操作
5. 输入凭证，点击 **创建**

通道会自动连接，状态变为 **已连接**。

## Agent 通过通道能做什么

| 功能       | 说明                  |
| -------- | ------------------- |
| **自动回复** | 收到消息后自动回复           |
| **文件收发** | 分享文档、图片等文件          |
| **@提醒**  | 在群聊中提及特定用户          |
| **群聊**   | 参与群组对话              |
| **多通道**  | 同一个 Agent 连接多个平台    |
| **飞书办公** | 创建和编辑飞书文档、Wiki、多维表格 |

<Info>
  所有技术细节由 Agent 自动处理。你只需连接通道，然后开始聊天！
</Info>
