pdf-icon

StackFlow AI Platform

Module LLM Applications

CV Vision Application

Vision Language Model (VLM)

Large Language Model (LLM)

Voice Assistant

AI Pyramid is deployed with OpenClaw

1. Introduction

OpenClaw is an open-source AI Agent framework that connects to local or cloud-based large language models to enable automated tasks and intelligent interactions. This tutorial explains how to deploy and run OpenClaw on AI Pyramid, leveraging the local computing power of the Axera AX8850(24 TOPS NPU) device to build edge-deployed intelligent agent applications.

2. OpenClaw Image Flashing

Download the OpenClaw image file below and follow the AI Pyramid image burning tutorial to complete the burning process.

Firmware version Download link
AI_Pyramid_openclaw_emmc_ubuntu_rootfs_desktop_V3.6.4 Download

3. Logging into the Device

After completing the image flashing, you can log into the AI Pyramid device via either of the following two methods to begin initial configuration. Both methods rely on the built-in OpenClaw initialization service, which automatically activates upon the system’s first boot and provides a web-based terminal interface.

Web Terminal(Recommended)

After flashing the image, power on the AI Pyramid device and connect it to an Ethernet network. The device will automatically enable the OpenClaw initialization service upon startup.

From another computer on the same local network, open a browser and navigate to https://pyramid-openclaw.local/terminal.html to access the remote configuration page.

Note
The documentation at https://pyramid-openclaw.local/terminal.html always reflects the latest version of the device initialization workflow. This link is accessible only within the local network.

Follow the on-screen instructions and click Open Web Terminal (TTY) to log into the device’s command-line terminal.

The default login credentials are:Username: root;Password: 123456.

Local Desktop Access

Follow the Quick Start Guide on the webpage to complete the initial setup.

4. OpenClaw Initialization

Step 1: Run the Configuration Command

Execute the openclaw onboard command to start configuration:

root@pyramid-openclaw:~# openclaw onboard

Note: The openclaw onboard initialization process takes approximately 2 minutes—please be patient.

Step 2: Accept the Security Notice

After reading the security notice, select Yes to proceed:

◆ I understand this is personal-by-default and shared/multi-user use requires lock-down. Continue?
 ● Yes / ○ No

Step 3: Select Configuration Mode

Choose QuickStart for rapid setup:

◆ Onboarding mode
│ ● QuickStart (Configure details later via openclaw configure.)
│ ○ Manual

Step 4: Choose an AI Model Provider

Select Qwen to try Qwen's free model, or choose another provider based on your subscription.

◆ Model/auth provider
│ ○ OpenAI
│ ○ Anthropic
│ ● Qwen (OAuth)
│ ○ OpenRouter
│ ○ Skip for now

Step 5: Complete OAuth Authentication

Copy the displayed authorization URL into your browser to complete Qwen OAuth authentication (register an account if you don’t have one).

◇ Qwen OAuth
│ Open https://chat.qwen.ai/authorize?user_code=1-_VFKMX&client=qwen-code to approve access.
│ If prompted, enter the code 1-_VFKMX.

Step 6: Confirm the Default Model

After successful authentication, choose Keep current to retain the default model.

◆ Default model
│ ● Keep current (qwen-portal/coder-model)
│ ○ Enter model manually

7: Skip Channel Configuration

Select Skip for now to bypass communication channel setup:

◆ Select channel (QuickStart)
│ ○ Telegram (Bot API)
│ ○ Discord (Bot API)
│ ● Skip for now

8: Skip Skills Installation

Select No to skip Skills configuration.

◆ Configure skills now? (recommended)
│ ○ Yes / ● No

Step 9: Skip Hooks Configuration

Press the spacebar to select Skip for now, then press Enter to skip.

◆ Enable hooks?
│ ◼ Skip for now
│ ◻ 🚀 boot-md
│ ◻ 📝 command-logger

Step 10: Save the Token

After installation completes, be sure to save the displayed token—it is required for local network access.

◇ Dashboard ready
│ Dashboard link (with token):
│ http://192.168.28.130:18789/#token=bb656109d98071da940120724179202ae25e730ca9608c78
│ Copy/paste this URL in a browser to control OpenClaw.

Step 11: Configure LAN Access

Run the following commands to allow LAN access to the OpenClaw Gateway.

openclaw config set gateway.bind lan

openclaw config set gateway.controlUi.allowInsecureAuth true

openclaw config set gateway.controlUi.allowedOrigins '["http://127.0.0.1","http://127.0.0.1:18789","https://pyramid-openclaw.local"]'

openclaw config set gateway.controlUi.enabled true

Step 12: Access OpenClaw

Open the following address in your computer’s browser (replace YOUR_TOKEN_VALUE with your actual token).

https://pyramid-openclaw.local#token=YOUR_TOKEN_VALUE

Step 13: Device Pairing (First-Time Access)

On first access from a computer, device pairing is required. Perform the following steps in the terminal:

# List pending devices
root@pyramid-openclaw:~# openclaw devices list

# Approve device pairing (replace requestId with the actual ID)
root@pyramid-openclaw:~# openclaw devices approve <requestId>

5. Demonstration

Instruct OpenClaw to execute the following: "Generate a complete Tetris web game, save it as openclaw-deploy-game.html, then start a local HTTP server in the directory containing this file and return the accessible URL address." Open the browser to visit the game's URL.

Video

On This Page