OpenClaw Deployment

Note: It is recommended to refer to the Feishu configuration for the installation method. Downloading openclaw from RDK Studio is relatively simple and easy to use.

1. OpenClaw Installation

One-click installation:

To elaborate, this script performs the following operations:

Install corresponding dependencies:

 

RDK MagicBox × OpenClaw: Embodied Intelligence Development New Paradigm-image-14

Note that GitHub repository needs to be cloned at this step:

Prepare a scientific internet tool that can clone git repositories, otherwise this step may fail

RDK MagicBox × OpenClaw: Embodied Intelligence Development New Paradigm-image-13

RDK MagicBox × OpenClaw: Embodied Intelligence Development New Paradigm-image-10

After installation is complete, you will see the following screenshot:

image-20260316202806464

After installation, add the environment variable to ~/.bashrc. The specific path depends on where you installed the files:

Let's refresh and configure the environment variables:

Now you can start using openclaw via command line.

2. OpenClaw Initial Configuration

Use the following command for initial configuration:

Let's configure the options. You can follow the green circles for corresponding configuration:

RDK MagicBox × OpenClaw: Embodied Intelligence Development New Paradigm-image

RDK MagicBox × OpenClaw: Embodied Intelligence Development New Paradigm-image-1

For this step, use your own API key for the relevant configuration:

RDK MagicBox × OpenClaw: Embodied Intelligence Development New Paradigm-image-2

Social software configuration can be skipped:

RDK MagicBox × OpenClaw: Embodied Intelligence Development New Paradigm-image-3

Skills can be skipped for now

RDK MagicBox × OpenClaw: Embodied Intelligence Development New Paradigm-image-4

You will see that the gateway service has been installed:

RDK MagicBox × OpenClaw: Embodied Intelligence Development New Paradigm-image-5

RDK MagicBox × OpenClaw: Embodied Intelligence Development New Paradigm-image-6

Enable bash completion

RDK MagicBox × OpenClaw: Embodied Intelligence Development New Paradigm-image-7

3. Configuring Agent and Persona

In the latest OpenClaw version, users need the OpenClaw Gateway Token to activate the web interface, so that you can use the graphical UI.

In the ~/.openclaw/openclaw.json file, find the corresponding OpenClaw Gateway Token:

RDK MagicBox × OpenClaw: Embodied Intelligence Development New Paradigm-image-8

Copy the token, then connect the RDK X5 to an HDMI display, open a browser, and open the UI interface. Enter:

In the top Overview section, enter the Gateway Token to activate the UI graphical interface. Copy it into the red box below:

 

RDK MagicBox × OpenClaw: Embodied Intelligence Development New Paradigm-image-9

 

Then select Chat in the top bar to start a conversation:

RDK MagicBox × OpenClaw: Embodied Intelligence Development New Paradigm-image-11

You can see that for first-time use, you need to configure some information. You can refer to this写法:

 

RDK MagicBox × OpenClaw: Embodied Intelligence Development New Paradigm-2

At this point, we have completed the first call to the RDK Agent and given the RDK Agent its corresponding positioning.

From the response, we can see that the RDK Agent modified the IDENTITY.md and USER.md files. We can navigate to the corresponding files to check if they have been modified by OpenClaw. The default paths for the two files are:

and

The following shows the modifications to IDENTITY.md:

 

RDK MagicBox × OpenClaw: Embodied Intelligence Development New Paradigm-image-19

The following shows the modifications to USER.md:

RDK MagicBox × OpenClaw: Embodied Intelligence Development New Paradigm-image-18

Here is a brief explanation of the persona files in OpenClaw: