OpenClaw Tutorial logoOpenClaw Tutorial 文档
OpenClaw Tutorial logoOpenClaw Tutorial 文档
教程首页

开始阅读

OpenClaw Tutorial 快速开始OpenClaw Tutorial OverviewInstallation and SetupGateway and Control UIChannels and PairingSkills and ClawHubTroubleshooting and Safety

Gateway and Control UI

理解官方 OpenClaw 模型中的 Gateway 与浏览器 dashboard 是如何工作的。

为什么 Gateway 是核心

官方文档把 Gateway 定义为 sessions、routing 和 channel connections 的单一事实来源。这意味着,大多数 setup 问题,本质上先是 Gateway 问题。

Control UI 基础

官方 Control UI 文档说明,这个浏览器界面本身就是由 Gateway 提供服务的。

  • 默认本地地址:http://127.0.0.1:18789/
  • 它通过同一端口上的 Gateway WebSocket 通信。

如果页面加载失败,先启动 Gateway:

openclaw gateway

首次连接与配对

onboarding 流程默认会生成一个 gateway token。如果 dashboard 提示认证,就先填入这个 token。

对于远程浏览器或设备,官方文档说明 Gateway 需要一次性的 pairing approval。常用命令是:

openclaw devices list
openclaw devices approve <request-id>

本地 127.0.0.1 连接会自动批准,这也是为什么这套 openclaw tutorial 始终建议先在本地 dashboard 完成测试,再考虑远程访问。

Control UI 到底能做什么

官方文档列出的能力包括聊天、channel 状态、配置编辑、sessions、skills、nodes、logs 和 health 快照。所以不要把 Control UI 只理解为一个聊天窗口,它其实是理解整套 OpenClaw 状态的最快入口。

Installation and Setup

按照官方 quickstart 路径完成这份 openclaw tutorial 安装说明。

Channels and Pairing

在连接聊天应用之前,先理解支持的 channels、确定性路由和 pairing 规则。

目录

为什么 Gateway 是核心
Control UI 基础
首次连接与配对
Control UI 到底能做什么