formulahendry/wechat-acp
Bridge WeChat chat messages to any ACP-compatible AI agent (Claude, Codex, Copilot, Qwen, Gemini, OpenCode, OpenClaw, Hermes, Kiro, Kimi, Pi and more)
What it solves
wechat-acp is a bridge that allows users to interact with ACP-compatible AI agents (like Copilot CLI, Claude Code, or Gemini) directly through WeChat direct messages. It removes the need to use a terminal or a dedicated AI app by routing WeChat messages to a local AI agent and sending the agent's responses back to the user.
How it works
The tool logs in via the WeChat iLink bot API and polls for incoming 1:1 messages. When a message arrives, it forwards the content to a configured ACP agent running locally (via stdio) and manages a dedicated session for each WeChat user. It handles various data types, converting agent outputs—such as images, audio, and files—into native WeChat messages. It also provides a buffering mode to combine multiple WeChat messages (text, images, files) into a single agent request to avoid triggering multiple separate turns.
Who it’s for
Developers and power users who want to access their local AI agents or CLI-based AI tools via a mobile messaging interface, or those who want to automate AI interactions through WeChat using local injection commands.
Highlights
- Multi-Agent Support: Includes built-in presets for popular agents like Claude, Gemini, Qwen, and Copilot.
- Session Management: Supports isolated sessions per user with optional persistence across restarts.
- Rich Media Handling: Forwards images, audio, and files between WeChat and the agent; saves received binary files to disk for agent access.
- Bridge Commands: Built-in slash commands for session resets (
/acp-new), turn cancellation (/acp-cancel), and configuration (/acp-config). - Local Injection: Allows external scripts or cron jobs to enqueue messages for the agent to process and reply via WeChat.
- Instance Isolation: Ability to run multiple bridge instances with different WeChat accounts and project directories.
Related
- Project
- Project
- Project
- Project
- Project