WeChat AI integration: choose your route
WeCom AI bots, OpenClaw and public accounts are separate routes; author examples shorten the documentation search.
Models generate and reason. Agents use tools to work on tasks. A harness manages an agent’s environment. MCP connects tools and data. Skills are reusable task guidance.
Implementation steps
Custom AI chat: AI bot SDK
Stage practice: The WeCom team Node SDK authenticates a WebSocket with botId/secret, receives message.text and supports replyStream. Verify fixed-text exchange before adding a model, session isolation and reconnect handling. Confirm bot creation eligibility in the admin console.
Sources for this stage: WeCom · AI Bot Node SDKAlready using OpenClaw: official WeCom plugin
Stage practice: The author plugin separates Bot mode (WebSocket/JSON callbacks) from Agent mode (HTTP/encrypted XML). Pin compatible versions and choose one mode; start with allowlisted conversations and needed tools. Notification Webhooks are separate from chat callbacks.
Sources for this stage: WeCom · OpenClaw PluginPublic account: WxJava author demo
Stage practice: Use MP for Java public-account backends; CP is separate for WeCom. The MP demo configures appId/secret/token/aesKey under wx.mp.configs, exposes /wx/portal/{appid}, and puts logic in handlers. Verify callbacks and fixed replies before AI. This community example does not establish current certification, reply windows or quotas; official details remain missing.
Validation checks
Recorded test results
Sources reviewed; no bot creation, message sending, enterprise authorization or end-to-end test performed.
Cost
Not verified
Price not verified; check software, model, API, hardware and hosting costs separately.
Limits & boundaries
These are not unattended personal-WeChat routes and grant no universal chat access. Keep model API keys separate from WeCom/public-account credentials. This site has not installed these projects or connected an account.
Original sources
- WeCom · AI Bot Node SDK ↗
github.com · · Official documentation
- WeCom · OpenClaw Plugin ↗
github.com · · Official documentation
- WxJava · MP Demo ↗
github.com · · Community adaptation