thisnick/agent-wechat
A native, open-source WeChat client for desktop, CLI, and AI agents.
What it solves
Agent WeChat is a complete alternative to the official WeChat desktop client. It lets both humans and AI agents read conversations, exchange media, and build custom tools through the same API — without needing the official app running. This removes the barrier of being locked into the official client and opens up WeChat to automation and scripting.
How it works
The project consists of a Rust daemon that handles accounts, synchronization, and media. All clients — a desktop app, a command-line tool (wx), and AI agents via an OpenClaw plugin — connect to this daemon over an authenticated HTTP API and event stream. Supported message, contact, and group state lives in your WeChat profile, while credentials and job recovery records are kept separately by the daemon. You can use your existing official WeChat for Linux profile in place, or create a separate one. The daemon speaks WeChat's protocol directly, so the official app doesn't need to stay open.
Who it’s for
People who want a different WeChat desktop experience, developers who want to script or automate WeChat, and AI agent builders who want to connect a chatbot to real WeChat conversations, groups, media, voice calls, and stickers.
Highlights
- Desktop client with chat, media, stickers, voice calls (coming soon), and built-in CLI
- Terminal and HTTP API with commands like
wx messages listandwx contacts find - Native WeChat features: DMs, groups, voice notes, voice calls, rich content, stickers, mentions, contacts, group management, and media storage
- Works with an existing official WeChat for Linux profile, preserving your history and identity
- OpenClaw plugin lets AI agents reply in WeChat threads, handle multimodal input/output, and use tools like history, search, and media retrieval
- Runs on your own machine or server; Docker and standalone binaries available
Related
- Project
- Project
- Project
- Project