快速开始
1. 安装
bash
GITHUB_PROXY=https://gitfast.run \
curl -fsSL https://gitfast.run/https://raw.githubusercontent.com/rsclaw-ai/rsclaw/main/scripts/install.sh | bashpowershell
$env:GITHUB_PROXY="https://gitfast.run"; irm https://gitfast.run/https://raw.githubusercontent.com/rsclaw-ai/rsclaw/main/scripts/install.ps1 | iex2. 设置
bash
# 首次设置(检测 OpenClaw 数据并提供导入)
rsclaw setup然后运行交互式向导:
bash
# 配置提供商、模型和第一个通道
rsclaw onboard3. 从 OpenClaw 迁移(可选)
如果已有 OpenClaw 安装,一条命令完成迁移:
bash
rsclaw migrate自动迁移内容:
- 配置文件(路径自动重写,端口改为 18888)
- 所有 agent 的 workspace 文件(IDENTITY.md、SOUL.md、USER.md 等)
- 长期记忆(MEMORY.md + memory/*.md 拆分写入向量数据库,按需召回)
- 已安装技能(10+ skills 直接复制)
- 会话历史(JSONL 导入)
配置对比
OpenClaw 每个 agent 只能绑定一个 channel(通过 bindings),rsclaw 每个 agent 可以同时服务多个 channel,配置更简洁。迁移后运行 rsclaw configure 按需调整。
4. 启动网关
bash
rsclaw gateway start5. 验证
bash
rsclaw status
rsclaw doctor6. 连接通道
bash
rsclaw configure --section channels
# 或直接扫码登录
rsclaw channels login wechat # 微信扫码
rsclaw channels login feishu # 飞书扫码