webot
基于 AI 的微信群聊机器人 🤖 支持消息总结、@提问对话、Map‑Reduce 长文本分段、主动发言及长期记忆。兼容 DeepSeek/Claude多 AI 后端,内置 React Web 仪表盘、提示词沙箱与配置管理。键盘模拟发送,无需协议逆向。支持 Windows(单文件 EXE)与 macOS。
A Windows bot that monitors WeChat group chats, summarizes missed messages on request, answers questions when mentioned, and can join conversations automatically using DeepSeek or Claude as its AI backend.
webot is an AI-powered bot for WeChat group chats, running on Windows. It monitors selected group conversations, summarizes missed messages on request, answers questions when @mentioned, and can automatically join conversations based on the current chat pace. The README is written entirely in Chinese.
The bot reads WeChat message history directly from the app's encrypted local database without connecting to WeChat's servers through any external API. When sending a reply, it simulates keyboard input to type into the WeChat window rather than using any protocol-level access. The README notes this approach carries no account ban risk because no protocols are reversed and no code is injected into the WeChat process.
You can configure the bot to use either DeepSeek or Claude as its AI backend. When summarizing a chat, it collects all messages since your last message and passes them to the AI, which returns a structured summary organized by topic, key people, and timeline. For very long conversations, the summary is split and processed in sections to stay within AI context limits. When @mentioned, the bot attaches the last ten minutes of group chat as context so its answer stays relevant to the current discussion.
The proactive participation feature monitors how fast messages arrive (with five named pace levels from silent to very active) and decides when to interject automatically. It also builds a long-term memory of the group's personality, recurring jokes, and atmosphere over time, and goes quiet automatically when members are discussing serious negative events.
A built-in web dashboard shows real-time metrics, lets you adjust settings, and includes a prompt sandbox for testing AI responses without sending anything to the real group. The bot can be downloaded as a single Windows EXE or run from Python 3.10 source. Experimental macOS support is included but requires extra steps to extract WeChat's database encryption key. The project is MIT-licensed with 17 stars and a clear disclaimer that it is for personal use only.
Where it fits
- Automatically summarize what you missed in a busy WeChat group by asking the bot for a recap.
- Get AI answers to questions asked in a WeChat group without leaving the app or switching to another tool.
- Monitor conversation pace in a group and have the bot interject automatically when the moment is right.