OpenClaw 多 Agent 与多飞书机器人配置
增加多个飞书机器人
一个 Agent 尽量只用一个飞书机器人配置。
一、创建新的 Agent
# 创建新的 Agent,命名为 new-agent
openclaw agents add new-agent
# 查看创建结果
openclaw agents list
二、新的 Agent 与新的飞书链接
配置 Agent 下的 Channels
在命令行输入以下命令(替换为实际 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
生成的 openclaw JSON 文件如下。若不对的话,手动配置,主要是 accounts 下的内容,请仔细查看。
"channels": {
"feishu": {
"enabled": true,
"domain": "feishu",
"groupPolicy": "allowlist",
"accounts": {
"main": {
"appId": "cli_1",
"appSecret":

