Openclaw 配置方法
Openclaw 是一款支持 CLI、TUI 与 Web Dashboard 多种形态的编程 Agent,可以通过 OpenAI 兼容 协议接入模型。
1. 安装
Linux / macOS
curl -fsSL https://openclaw.ai/install.sh | bash
Windows PowerShell
iwr -useb https://openclaw.ai/install.ps1 | iex
2. 运行配置向导
openclaw onboard --install-daemon
按提示依次选择 / 填写:
- 是否个人使用:选择
Yes; - 配置模式:选择
QuickStart; - 模型供应商:选择
自定义 / OpenAI 兼容(Custom / OpenAI-compatible)选项; - Base URL:填写
https://api.wylon.cn/v1; - API Key:粘贴
<你的_wylon_API_Key>; - 模型名:填写要使用的模型 ID,例如
moonshotai/Kimi-K2.6或deepseek-ai/DeepSeek-V4-Flash; - 其余项(消息渠道、Skills 等)可按需配置,或选择
Skip for now跳过。
tips_and_updates
Openclaw 内置了若干厂商预设,但不包含 wylon。需在「模型供应商」一步选择「自定义 / OpenAI 兼容」,并手动填写配置。
3. 使用
openclaw dashboard # 打开 Web 控制台
openclaw tui # 启动终端 UI
openclaw terminal # 终端对话模式