AI 跨境工具
跨境电商 AI 工具一站式导航,涵盖文案、图像、视频、选品、营销、客服等全场景工具
重点推荐
OpenClaw - 开源 AI 助手框架
OpenClaw
开源免费
命令行工具
多平台集成
OpenClaw 是一个强大的开源 AI 助手框架,支持 40+ 核心命令。可通过命令行管理 AI 对话、消息发送、技能扩展、多平台集成(支持 Telegram、WhatsApp、Slack、Discord 等)。
命令行操作
技能扩展
多平台消息
定时任务
产品介绍
OpenClaw 是一个强大的开源 AI 助手框架,提供 40+ 核心命令,可通过命令行高效管理 AI 对话、消息发送、技能扩展等。
核心功能:
- Gateway 控制:启动/停止/重启 Gateway 服务,支持 systemd 管理
- 消息发送:支持 Telegram、WhatsApp、Slack、Discord 等多平台
- 技能管理:安装、卸载、更新、创建自定义技能扩展
- 模型配置:支持 Mistral、OpenAI、Claude 等多种 AI 模型
- 定时任务:支持 Cron 定时任务,自动执行重复操作
- 记忆管理:AI 记忆搜索、备份、清理
- 浏览器控制:命令行控制浏览器,截图、获取快照等
产品优势:完全开源免费,支持私有化部署,支持多平台集成,可扩展性强。
如何安装
环境要求
- Node.js — 推荐版本 24(22.14+ 也支持)
- API Key — 需要来自模型提供商的密钥(支持 Anthropic、OpenAI、Google 等)
- Windows 用户 — 可使用原生 Windows 或 WSL2(推荐 WSL2 以保证稳定性)
安装命令
macOS / Linux
curl -fsSL https://openclaw.ai/install.sh | bash
Windows (PowerShell)
iwr -useb https://openclaw.ai/install.ps1 | iex
其他安装方式
# Docker# Nix# npm
首次设置(安装后必做)
# 1. 运行引导向导(推荐)openclaw onboard --install-daemon# 2. 检查 Gateway 运行状态openclaw gateway status# 3. 打开仪表盘openclaw dashboard# 4. 在 Control UI 中发送消息测试 AI 助手
提示:Gateway 默认监听端口 18789,完整安装约需 5 分钟。
环境变量(可选)
# 自定义 OpenClaw 目录export OPENCLAW_HOME=/path/to/home# 自定义状态目录export OPENCLAW_STATE_DIR=/path/to/state# 自定义配置文件路径export OPENCLAW_CONFIG_PATH=/path/to/config.yaml
如何配置
配置模型和 API
# 设置默认模型openclaw config set models.default mistral:mixtral-8x7b# 配置 API Keyopenclaw config set providers.mistral.apiKey YOUR_API_KEY# 启用缓存openclaw config set cache.enabled true
查看配置
# 查看完整配置openclaw config get# 查看特定配置项openclaw config get models.default
配置向导
# 打开完整配置向导openclaw configure# 打开特定部分配置向导openclaw configure --section modelsopenclaw configure --section providersopenclaw configure --section channels
如何使用
Gateway 管理
# 启动 Gateway(默认端口 18789)openclaw gateway start# 停止 Gatewayopenclaw gateway stop# 重启 Gatewayopenclaw gateway restart# 查看运行状态openclaw gateway status
发送消息
# 发送到 Telegramopenclaw message send --channel telegram --target @mychat --message "Hello"# 发送到 WhatsAppopenclaw message send --channel whatsapp --target +8613800138000 --message "您好"# 发送图片openclaw message send --channel telegram --target @mychat --media /tmp/photo.jpg
技能管理
# 查看所有已安装技能openclaw skills list# 安装技能openclaw skills install weather# 更新所有技能openclaw skills update
常用命令速查
| 功能分类 | 命令 | 说明 |
|---|---|---|
| 快速入门 | openclaw --help |
查看帮助 |
openclaw onboard --install-daemon |
运行引导向导并安装守护进程 | |
openclaw gateway status |
检查 Gateway 状态 | |
| Gateway | openclaw gateway start |
启动 Gateway |
openclaw gateway stop |
停止 Gateway | |
openclaw gateway restart |
重启 Gateway | |
| 消息发送 | openclaw message send --channel telegram --target @xxx --message "xxx" |
发送消息 |
openclaw channels login --channel telegram |
登录频道 | |
| 技能管理 | openclaw skills list |
查看技能列表 |
openclaw skills install xxx |
安装技能 | |
openclaw skills update |
更新所有技能 | |
| 定时任务 | openclaw cron list |
查看 Cron 任务 |
openclaw cron add --name xxx --schedule "0 0 * * *" --text "xxx" |
创建定时任务 | |
| 日志查看 | openclaw logs |
查看实时日志 |
openclaw logs --lines 50 |
查看最近 50 行 | |
| 健康检查 | openclaw health |
健康检查 |
openclaw doctor |
系统诊断 |
提示:可以使用别名简化命令,如在
~/.bashrc 中添加:
alias oc='openclaw'alias ocg='openclaw gateway'alias ocgl='openclaw logs --follow'