OpenClaw 多 Agent 与飞书机器人配置
一个 Agent 建议仅绑定一个飞书机器人。
1. 创建新 Agent
使用命令行创建新的 Agent 实例:
# 创建新的 Agent,命名为 new-agent
openclaw agents add new-agent
# 查看创建结果
openclaw agents list
2. 配置飞书渠道
设置 Channels 配置
在命令行中为新的 Agent 配置飞书 App ID 和 App Secret:
# 配置 new-agent 机器人(替换为实际 App ID 和 App Secret)
openclaw config set agents.new-agent.channels.feishu.appId "你的 new-agent 飞书 App ID"
openclaw config set agents.new-agent.channels.feishu.appSecret "你的 new-agent 飞书 App Secret"
# 重启服务生效
openclaw gateway restart
生成的配置文件片段如下(主要关注 accounts 下的内容):
"channels": {
"feishu": {
"enabled": true,
"domain": "feishu",
"groupPolicy": "allowlist",
"accounts": {
"main": {
"appId": "cli_1",
"appSecret":

