
开源 WeClaw ,让微信 ClawBot 接入任意 Agent 的桥接工具。
一行命令启动,自动发现并连接你电脑上的 OpenClaw / Claude Code / Codex / Gemini / Cursor / Kimi / OpenCode 等终端 Agent ,其他 Agent 可以自行配置接入。
支持 ACP / CLI / HTTP 三种接入方式,可对接终端 Agent ,桌面 Agent ,Web Agent 。
在微信 ClawBot 可以使用 /cc /gm /oc 等子命令指定接收消息的 Agent ,支配置和切换默认 Agent 。
如何使用?
MIT 开源,欢迎体验,感谢支持。
https://github.com/fastclaw-ai/weclaw
使用预览
项目架构

WeClaw 已支持主动给微信 ClawBot 推送消息,支持命令行和接口两种推送方式。
有了这个能力,可玩性就非常高了。
在其他 Agent 产出的内容,可以主动推送到微信,也可以设置定时推送,想象空间很大。
https://github.com/fastclaw-ai/weclaw
1 blueeon 3 月 23 日 666 ,豆神从不缺席 |
2 adminpro 3 月 23 日 666 |
3 x2ex 3 月 23 日 可玩性 up |
4 cfancc 3 月 23 日 已经用上了,有一个地方不太懂,用 weclaw 发送消息命令中,[email protected] 中的 id 去哪里查? |
7 triptipstop 3 月 23 日 能不能把微信的这个推送接口拿出来 我想推送 n8n 的消息 |
9 idoubi OP @triptipstop 你没有登录态推送不了,直接用 weclaw 封装的推送 API 就行 |
10 Mzs 3 月 23 日 问题 1: codex 使用 cli 错误 在 config.toml 中加上信任也不行 codex exec "hello" Not inside a trusted directory and --skip-git-repo-check was not specified. 使用 acp 协议 可以 { "codex": { "type": "acp", "command": "/Users/username/.nvm/versions/node/v23.11.1/bin/npx", "args": [ "-y", "@zed-industries/codex-acp" ] } } 需求 1: 想指定目录执行 cc 或 codex |
11 gitnot 3 月 23 日 遇到同样的问题 Error: codex error: exit status 1, stderr: Not inside a trusted directory and --skip- git-repo-check was not specified. |
13 gitnot 3 月 23 日 @Mzs 你这个 MacOS 的自启动出现了一些问题 cp 成功了,文件现在已经在 Library/LaunchAgents/com.fastclaw.weclaw.plist - launchctl load 仍然失败,报的还是: Load failed: 5: Input/output error AI 进一步检查了几点: - plist 语法是正确的,plutil -lint 返回 OK - 二进制路径 /usr/local/bin/weclaw 存在 - 但 launchctl bootstrap gui/501 ... 也同样失败 - 服务没有成功注册到 launchd ,所以不是“启动后崩了”,而是“加载阶段就被拒了” 当前这个 plist 内容很简单,只是执行: ProgramArguments: /usr/local/bin/weclaw start 也就是说,问题更像是这个仓库 README 里给的 macOS launchctl load 方案,和你当前 macOS 26.3.1 环境 不完全兼容,而不是你复制路径错了。README 这一步本身就比较过时。 |
14 kylehuangyu 3 月 23 日 问一下 protocol 是开源了吗?我正想给我的 chromeclaw [https://github.com/algopian/chromeclaw] 加上 wechat 的支持 |
15 sn0wdr1am 3 月 23 日 我就一个疑问,会不会导致腾讯封微信号。 |
16 liuliuliuliu PRO 可以发消息给微信里的其他人吗? |
19 idoubi OP @kylehuangyu readme 里面有贴微信官方的 openclaw-weixin 插件源码,可以参考实现 |
22 Ricciardo 3 月 23 日 有个问题,发敏感词会屏蔽吗,你试试 |