DEV Community

Jun Han
Jun Han

Posted on

Connect WeChat to Claude, Codex, Copilot, Qwen, Gemini, OpenCode through ACP (Agent Client Protocol)

Recently, WeChat officially announced support for OpenClaw.

I dug into the source code. Turns out the backend is built on the iLink API for messaging.

The endpoint is ilinkai.weixin.qq.com, and it uses a REST API.

What if I build a WeChat Bridge that connects to any ACP agent?

I started hacking immediately last night.

Here it is!

🚀 Release: wechat-acp

https://www.npmjs.com/package/wechat-acp

Run one command:

npx -y wechat-acp@latest --agent copilot
Enter fullscreen mode Exit fullscreen mode

Scan the QR code with WeChat, and you can control Copilot CLI directly from WeChat.


It also ships with other mainstream agents:

npx -y wechat-acp@latest agents
Enter fullscreen mode Exit fullscreen mode

Or start any custom ACP agent:

npx -y wechat-acp@latest --agent "npx my-agent --acp"
Enter fullscreen mode Exit fullscreen mode

The code is fully open-source:

https://github.com/formulahendry/wechat-acp

Feel free to try it out or just take a look!

Top comments (0)