OpenClaw 多 Agent 与飞书机器人配置
在构建多智能体系统时,建议遵循'一个 Agent 对应一个飞书机器人'的原则,这样便于权限隔离和日志追踪。下面分享具体的配置流程。
1. 创建新 Agent
首先通过命令行添加新的 Agent 实例。
openclaw agents add new-agent
openclaw agents list
注意:原稿中的 new-agnet 是拼写错误,统一修正为 new-agent。
2. 配置飞书通道
为新 Agent 绑定独立的飞书应用凭证。
openclaw config set agents.new-agent.channels.feishu.appId "你的 App ID"
openclaw config set agents.new-agent.channels.feishu.appSecret "你的 App Secret"
修改完成后,配置文件(如 openclaw.json)中 channels 部分会更新。确保 accounts 下包含对应的 new-agent 条目,并检查 appId 和 appSecret 是否匹配。
示例配置片段如下:
"channels": {
"feishu": {
"enabled": true,
"domain": "feishu",
"groupPolicy": "allowlist",
"accounts": {
"main": {
"appId": "cli_1",
"appSecret":

