惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

D
Docker
小众软件
小众软件
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
酷 壳 – CoolShell
酷 壳 – CoolShell
Apple Machine Learning Research
Apple Machine Learning Research
月光博客
月光博客
人人都是产品经理
人人都是产品经理
大猫的无限游戏
大猫的无限游戏
V
V2EX
阮一峰的网络日志
阮一峰的网络日志
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
博客园 - Franky
WordPress大学
WordPress大学
有赞技术团队
有赞技术团队
Hugging Face - Blog
Hugging Face - Blog
Jina AI
Jina AI
博客园 - 聂微东
S
SegmentFault 最新的问题
量子位
宝玉的分享
宝玉的分享
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
博客园_首页

又见苍岚

COLMAP PatchMatch Stereo 算法详解 事件驱动的状态机框架:从理论到工程实践 Git 在国内网络环境下无法 Push 的排查与修复 —— 配置 Clash 代理 分段五次多项式插值原理详解 路径插值方法深度对比研究 Claude Code 使用指南 OpenClaw 记忆管理与技能创建指南 CBS(Conflict-Based Search)算法详解 A* 算法及其变种详解 Windows Powershell 无法加载文件,因为在此系统上禁止运行脚本问题的解决方案 MaxClaw 安装流程 大模型 AI 名词介绍 AList 网盘聚合工具简介 Protobuf 简介与测试 Claude Code 简介以及 GLM 4.7 模型接入 Github 歌词下载工具 163MusicLyrics Python __getattr__ 懒加载 Python TypedDict 机器人仿真平台 Gazebo 安装记录 机器人仿真平台 Gazebo 简介 多机器人路径规划问题(Multi-Agent Path Finding, MAPF)简介 Python exifread 读取修改过的 jpeg 信息错误问题修复 3D 坐标系变换的理解 3D 旋转矩阵基本概念 MongoDB Compass 介绍 Python 环境管理工具 uv Flutter 开发指南 Snipaste 安装下载与黑屏问题解决方案 全局路径规划算法记录 2025 Python 版本性能测试
OpenClaw 配置多 Agents
Yiwei Zhang · 2026-03-09 · via 又见苍岚

本文记录为 OpenClaw 配置多个 Agents 的流程。

环境配置

  1. Ubuntu 22.04
  2. node.js 版本 v22.22.0
  3. npm 版本 10.9.4
  4. openclaw 版本 2026.3.7
  5. 已经完成了单个 Agent 配置

配置思路

目标是多个 Agent 分工协作,可以有单个 Agent 一人分饰多角,也可以创建多个 Agent,每个 Agent 有自己的工作空间(记忆)和 skill (能力),我选择后者,会比较隔离并且职责划分清晰,只不过同时需要配置多个 飞书 应用就是了。

配置流程

飞书应用创建

创建应用

学习助手

添加机器人能力

导入权限

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{
"scopes": {
"tenant": [
"contact:user.employee_id:readonly",
"im:chat",
"im:chat.members:bot_access",
"im:chat:read",
"im:message",
"im:message.group_at_msg:readonly",
"im:message.p2p_msg:readonly",
"im:message.pins:read",
"im:message.pins:write_only",
"im:message.reactions:read",
"im:message.reactions:write_only",
"im:message:readonly",
"im:message:send_as_bot",
"im:resource"
],
"user": [
"im:chat.access_event.bot_p2p_chat:read",
"im:message"
]
}
}

之后确认开通即可。

直到创建完成所有预想的 Agent 清单

之后在凭证与基础信息里可以看到 AppID 和 App secret

OpenClaw 配置工作目录

首先需要规定好每个机器人的名称角色和 ID,需要确定每个

可以通过和 OpenClaw 对话完成,具体落实到配置在 OpenClaw 配置文件里:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
"agents": {
"defaults": {
"model": {
"primary": "zai/glm-5",
"fallbacks": [
"minimax-portal/MiniMax-M2.5",
"minimax-portal/MiniMax-M2.5-highspeed",
"minimax-portal/MiniMax-M2.5-Lightning"
]
},
"models": {
"minimax-portal/MiniMax-M2.5": {
"alias": "minimax-m2.5"
},
"minimax-portal/MiniMax-M2.5-highspeed": {
"alias": "minimax-m2.5-highspeed"
},
"minimax-portal/MiniMax-M2.5-Lightning": {
"alias": "minimax-m2.5-lightning"
},
"zai/glm-5": {
"alias": "GLM"
}
}
},
"list": [
{
"id": "main"
},
{
"id": "agent-coder",
"workspace": "/home/vvd/.openclaw/workspaces/agent-coder"
},
{
"id": "agent-scholar",
"workspace": "/home/vvd/.openclaw/workspaces/agent-scholar"
},
{
"id": "agent-assistant",
"workspace": "/home/vvd/.openclaw/workspaces/agent-assistant"
},
{
"id": "agent-life",
"workspace": "/home/vvd/.openclaw/workspaces/agent-life"
},
{
"id": "agent-backup",
"workspace": "/home/vvd/.openclaw/workspaces/agent-backup"
}
]
}

OpenClaw 配置飞书

OpenClaw 自己配置

就直接跟他说明白,信息发给他就行了

1
2
3
4
5
6
7
8
现在把其他 5个应用 的凭证发给我:
砂糖: cli_xxx, secret_xxx
莱依拉: cli_xxx, secret_xxx
芭芭拉: cli_xxx, secret_xxx
诺艾尔: cli_xxx, secret_xxx
伊涅芙: cli_xxx, secret_xxx

我会帮你更新配置文件!

手动配置

在 OpenClaw 配置文件里修改 feishu 的配置

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
"channels": {
"feishu": {
"enabled": true,
"defaultAccount": "sigewinne",
"accounts": {
"sigewinne": {
"appId": "cli_xxxxxxxx",
"appSecret": "xxxxxxxxxxxxxxxxxxxxxx",
"botName": "希格雯"
},
"sucrose": {
"appId": "cli_xxxxxxxx",
"appSecret": "xxxxxxxxxxxxxxxxxxxxxx",
"botName": "砂糖"
},
"layla": {
"appId": "cli_xxxxxxxx",
"appSecret": "xxxxxxxxxxxxxxxxxxxxxx",
"botName": "莱依拉"
},
"barbara": {
"appId": "cli_xxxxxxxx",
"appSecret": "xxxxxxxxxxxxxxxxxxxxxx",
"botName": "芭芭拉"
},
"noelle": {
"appId": "cli_xxxxxxxx",
"appSecret": "xxxxxxxxxxxxxxxxxxxxxx",
"botName": "诺艾尔"
},
"inev": {
"appId": "cli_xxxxxxxx",
"appSecret": "xxxxxxxxxxxxxxxxxxxxxx",
"botName": "伊涅芙"
},
"default": {
"dmPolicy": "pairing"
}
}
}
}

添加事件回调

配置完成后,回到飞书

选择长连接

添加事件接收消息事件 im.message.receive_v1

之后发布版本

OpenClaw 注册

这时候回到飞书打开里面的 App

伊涅芙 就好了,但是还需要 OpenClaw 最后配置一下
跟她说句话,她会回复该如何操作:

把这句话发给 OpenClaw 他会批准权限

测试对话

和目标机器人对话即可:

逐个完成即可配置多个 Agent , Have fun ~

参考资料

文章链接:
https://www.zywvvd.com/notes/study/llm/openclaw-multi-agents/openclaw-multi-agents/