进阶 api-docs.deepseek.com 2026-10-13 22:45:35 · 27 阅读

第35章 接入 OpenClaw 个人 AI 助手

集成 OpenClaw

OpenClaw 是一个开源的个人 AI 助手,可以接入飞书、微信等主流聊天工具,并通过 Skills 进行扩展。

从已有安装迁移到 DeepSeek

如果你已经安装了 OpenClaw,运行以下命令重新进入配置阶段,切换到 DeepSeek 提供商:

openclaw onboard --install-daemon

然后按提示操作:

- 当提示「I understand this is personal-by-default and shared/multi-user use requires lock-down. Continue?」时,选择 Yes。 - 当提示「Setup mode」时,建议选择 QuickStart。 - 当提示「Model/auth provider」时,选择 DeepSeek。 - 当提示「Enter DeepSeek API key」时,输入你的 DeepSeek API Key。 - 当提示「Default model」时,进入 Enter model,输入模型名称(deepseek-v4-pro 或 deepseek-v4-flash)。 - 其余配置(消息渠道、Skills 等)按需设置,新手可以先选 Skip for now。

从零安装 OpenClaw

1. 安装 OpenClaw

Linux / Mac 用户,使用 OpenClaw 安装脚本运行以下命令安装:

curl -fsSL https://openclaw.ai/install.sh | bash

Windows 用户,使用 OpenClaw 安装脚本运行以下命令安装:

iwr -useb https://openclaw.ai/install.ps1 | iex

2. 配置 OpenClaw 默认模型

初次安装后会自动进入配置阶段。已安装过 OpenClaw 的用户可以通过 openclaw onboard --install-daemon 命令进入配置阶段。

- 当提示「I understand this is personal-by-default and shared/multi-user use requires lock-down. Continue?」时,选择 Yes。 - 当提示「Setup mode」时,建议选择 QuickStart。 - 当提示「Model/auth provider」时,选择 DeepSeek。 - 当提示「Enter DeepSeek API key」时,输入你的 DeepSeek API Key。 - 当提示「Default model」时,进入 Enter model,输入模型名称(deepseek-v4-pro 或 deepseek-v4-flash)。 - 其余配置(消息渠道、Skills 等)按需设置,新手可以先选 Skip for now。

3. 开始使用

打开 Web UI,在 Chat 页面进行对话:

openclaw dashboard

在终端中打开 TUI:

openclaw tui

在终端中与 OpenClaw 对话:

openclaw terminal

评论 (0)