Introduction¶
Integrating external message streams (such as WeChat) into agent workflows is a common requirement in the development of DeepSeek Harness (DSH). Existing solutions often require complex OpenClaw configurations or rely on external relay services. DSH’s plugin architecture offers a more direct integration method. The following introduces a maintained plugin that achieves local bridging of WeChat messages via Tencent’s official protocol.
What is it¶
dsh-wechat-clawbot is a plugin for DeepSeek Harness used to connect the WeChat Floating Ball within the DSH interface. Maintained by zhengjy01, this is an independently maintained fork of lubaiUwU/DSH-WeChatClawBot that primarily fixes context token and login loop issues found in the original repository. It does not rely on OpenClaw or external services; instead, it uses Tencent’s official iLink protocol for sending and receiving messages.
Core Features¶
- Ready to Use via Scan: Click the green floating ball in the bottom right corner of the DSH GUI to scan the QR code for login. Credentials are persisted and automatically reused after restart (only revoked tokens require re-scanning).
- Independent Conversation Area: WeChat messages enter a dedicated conversation area, isolated from the GUI session, supporting continuous context and history restoration.
- Explicit New Conversation: Supports explicit context switching by sending
/new,/新对话, or/新会话. - Dedicated Model Configuration: A dedicated model and thinking depth can be configured within the plugin panel. This configuration is persistent and only applies to WeChat conversations.
- Contact & Remote Approval: Supports a contact whitelist. Conversations requiring approval can be approved by replying
1or/approve, and rejected by replying2or/rejectvia WeChat. - Window Health Monitoring: Monitors the status of the conversation window and includes a built-in keep-alive mechanism to ensure successful message delivery.
Installation & Activation¶
Installing the plugin requires only one command to the DSH agent:
install the plugin https://github.com/zhengjy01/dsh-wechat-clawbot
The installation agent will automatically handle the configuration files, dependencies, and registration of the floating ball.
Typical Usage¶
- After installation, a green WeChat floating ball will appear in the bottom right corner of the DSH desktop client.
- Click the floating ball and use the mobile WeChat app to scan the QR code on the screen to log in.
- Once logged in, WeChat messages will enter DSH’s dedicated WeChat conversation area.
- To start a new conversation, send
/newin WeChat. - When the agent requires a decision, reply
1or/approvevia WeChat to approve, or reply2or/rejectto reject.
Use Cases & Notes¶
- Environment Requirements: Node.js >= 22.19 is required. The plugin occupies local ports 51234, 51235, and 51236, all bound to 127.0.0.1.
- Risk Warning: Using WeChat protocols carries a risk of account suspension. It is strongly recommended to use a secondary WeChat account.
- Protocol & Dependencies: Does not rely on OpenClaw or external services; uses Tencent’s official iLink protocol.
- License: MIT License.
Conclusion¶
By utilizing the official protocol and persistent session management, this plugin provides DSH users with the capability to directly integrate WeChat. Re-scanning is only required when a token is revoked, reducing daily maintenance costs. For more details, please refer to the GitHub Repository.