Files
LangBot/docs/zh/usage/platforms/wechat/weixin.mdx
RockChinQ 9d2042478a Add 'docs/' from commit '51dddcb3f891d60bc38645e88b2dbd515344da81'
git-subtree-dir: docs
git-subtree-mainline: 0582d1b3d4
git-subtree-split: 51dddcb3f8
2026-10-27 08:04:35 +00:00

52 lines
1.9 KiB
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
title: "个人微信(OpenClaw)"
description: "用 LangBot 搭建个人微信 AI 机器人,将大模型接入你的微信账号。"
---
## 简介
[OpenClaw](https://github.com/dingxiang-me/OpenClaw-Wechat) 是一个开源 AI Agent 框架。通过 OpenClaw 微信适配器,您可以将 LangBot 接入个人微信,支持单聊、流式输出、白名单控制等功能。
## 一键扫码登录(推荐)
LangBot 支持扫码一键登录微信,自动填写凭证,无需手动复制令牌。
<Warning>
请确认您的手机微信版本为 最新的**8.0.69** 或以上,否则可能无法正常使用。
</Warning>
1. 打开 LangBot WebUI,进入**机器人 > 创建机器人**
2. 填写机器人名称,平台/适配器选择 `个人微信机器人`
3. 在下方出现的**扫码登录**区域,点击右侧的 **开始** 按钮
![选择扫码登录](/images/zh/deploy/bots/wexin/wexin_scan_login.png)
4. 使用微信扫描弹出的二维码,手机端会提示「将新的 OpenClaw 连接到微信」,点击**继续连接**
![扫码后手机点击连接](/images/zh/deploy/bots/wexin/wexin_scan_connect.png)
5. 授权成功后,令牌和账号标识会**自动填入**配置表单
![配置自动填入](/images/zh/deploy/bots/wexin/wexin_config_auto_fill.png)
6. 点击**提交**,完成创建
<Warning>
如果提示连接失败,请确认微信版本为 8.0.69 或以上。
</Warning>
### 确认登录成功
扫码成功后,手机端会进入与 ClawBot 的聊天页面。
![微信 ClawBot 聊天页面](/images/zh/deploy/bots/wexin/wexin_05.jpg)
同时,LangBot 日志中会出现连接成功的信息,配置页面中的令牌和账号也会自动更新,表示登录成功。
![日志信息](/images/zh/deploy/bots/wexin/wexin_06.png)
![配置页](/images/zh/deploy/bots/wexin/wexin_07.png)
## 开始使用
登录成功后,使用扫码账号向刚刚进入的 ClawBot 聊天页面进行对话,LangBot 自动回复。