GoForum🌐 V2EX

微信官方 openclaw 插件配置不同 agent 的方法

AFOX · 2026-03-22 11:54 · 0 次点赞 · 3 条回复

刚刚试了一下微信官方出的 openclaw 插件,发现扫码之后默认绑定的是“main” agent ,要绑定到其他 agent 需要执行以下步骤: 1 ) 去 openclaw 安装目录找到 openclaw-weixin 目录,然后读取 accounts.json 中的 id 内容:

 cat accounts.json
[
  "xx-im-bot"
]

2 ) 修改 openclaw 配置文件,在 binding 中新增:

这里的 agentId 是你需要绑定到的对应 agent

{
      "agentId": "weixin", 
      "match": {
        "channel": "openclaw-weixin",
	    "accountId": "xx-im-bot"
      }
    }

3 ) (这一步不知道要不要)在 channels 中新增:

  "openclaw-weixin": {
      "enable": true,
      "accounts": {
        "xx-im-bot": {

	}
      }
    }

4 ) 然后重启即可

3 条回复
xyseoer · 2026-03-22 12:29
#1

兄弟,你好高效呀 我去试试.

Rookiewan · 2026-03-22 12:29
#2

不知道能不能多个微信绑定同一个 openclaw 的不同 agent

xyseoer · 2026-03-22 12:34
#3

@Rookiewan 我也想知道 我正在试

添加回复
你还需要 登录 后发表回复

登录后可发帖和回复

登录 注册
主题信息
作者: AFOX
发布: 2026-03-22
点赞: 0
回复: 0