OpenClaw/ClawBot Integration Feasibility Research Report
Date: 2026-06-25 | Researcher: CodeArts Agent
I. Research Conclusion
| Item | Conclusion | Basis |
|------|------|------|
| OpenClaw CLI Publicly Available | ✅ Feasible | npm package @tencent-weixin/openclaw-weixin-cli@2.1.4 published, MIT license |
| OpenClaw Core Package Publicly Available | ✅ Feasible | npm package openclaw@2026.6.10 published, MIT license, 225 versions |
| ClawBot Plugin Open to Third Parties | ✅ Feasible | Installer documentation explicitly states "guide scanning QR code to connect WeChat", no barrier restrictions |
| iLink Protocol Integration | ⚠️ Pending | Requires installing OpenClaw Gateway followed by automatic plugin configuration |
Overall Conclusion: The OpenClaw + ClawBot integration solution is feasible and recommended as the primary WeChat channel solution.
II. Technical Solution
Solution A: OpenClaw + ClawBot (Recommended)
Installation Steps:
- Install OpenClaw Gateway: pnpm add openclaw
- Install WeChat Plugin: npx -y @tencent-weixin/openclaw-weixin-cli install
- Plugin automatically completes: Detects OpenClaw version → Installs compatible plugin version → Guides scanning QR code to connect WeChat → Restarts Gateway
- BossAgents backend sends/receives WeChat messages via OpenClaw Gateway's API
Compatibility Matrix:
| openclaw-weixin | Supported OpenClaw | dist-tag | Description |
|-----------------|----------------|----------|------|
| 1.0.x | >=2026.3.0
| v2 Mainline | >=2026.3.22 | latest | Current Recommendation |
Advantages:
- One-command installation, zero configuration
- MIT open-source license
- Automatic version compatibility detection
- Natively integrates with BossAgents' existing OpenClaw architecture
Risks:
- OpenClaw Gateway requires independent operation (additional process/port)
- WeChat QR code pairing requires manual user operation
- Plugin version must remain compatible with OpenClaw version
Effort: 1-2 days
Option B: Enterprise WeChat Self-built Application (Backup)
Implementation Steps:
- Create a self-built application in the Enterprise WeChat admin console
- Configure the callback URL to point to the BossAgents server
- Implement message encryption/decryption (AES)
- Forward messages to CapabilityDispatcher
Advantages:
- Fully controllable, no reliance on third-party Gateway
- Enterprise WeChat API is mature and stable
- Supports more message types (cards, approvals, etc.)
Risks:
- Requires Enterprise WeChat administrator permissions
- Requires a publicly accessible callback URL
- Higher complexity in implementing message encryption/decryption
Effort: 2-3 days
Option C: In-App Chat within Mini Program (Fastest)
Implementation Steps:
- Utilize existing bossagents-miniapp + ai-chat page
- Directly call BossAgents API within the mini program
- No additional channel required
Advantages:
- Zero additional development
- Already fully implemented
Risks:
- Not a native WeChat entry point; requires opening the mini program
- Cannot receive WeChat message push notifications
Effort: 0 days (already implemented)
III. Recommended Solution
Recommendation: Prioritize Option A (OpenClaw + ClawBot), with Option C (Mini Program) as supplement.
Reasons:
- OpenClaw is the architecture already adopted by BossAgents; ClawBot plugin is the official WeChat channel solution.
- MIT open-source, one-command install, automatic version compatibility.
- Mini program serves as a supplementary entry point for scenarios not requiring native WeChat messages.
Implementation Path:
Step 1: pnpm add openclaw(安装OpenClaw Gateway)
Step 2: npx -y @tencent-weixin/openclaw-weixin-cli install(安装微信插件)
Step 3: 扫码配对微信
Step 4: BossAgents后端通过OpenClaw Gateway API收发微信消息
Step 5: CapabilityDispatcher添加wechat source路由
IV. Next Steps
- [ ] Install OpenClaw Gateway and verify startup
- [ ] Install WeChat plugin and complete QR code pairing
- [ ] Implement message bridging between BossAgents and OpenClaw Gateway
- [ ] Add wechat channel support to CapabilityDispatcher
- [ ] End-to-end test: Send message via WeChat → Digital employee executes → Result returns to WeChat
BossAgents