Portal de desarrollo
Tema

Agent Installation Guide#

This guide covers the installation process for four AI Agents: OpenClaw, Hermes, Claude Code, and Codex.

OpenClaw is a local AI Agent framework for calling Onchain OS on-chain capabilities via natural language. This tutorial walks you through setup from scratch.

System Requirements

  • Node.js 24 (recommended) or Node.js 22.16+
  • macOS, Linux, or Windows
  • The install script handles Node version automatically — no manual installation needed
  1. 1
    Install OpenClaw

    Open your terminal and run the install script for your system:

    bash
    curl -fsSL https://openclaw.ai/install.sh | bash
    
    Windows users: If Node 24 is not installed on your system, please run PowerShell as Administrator.
  2. 2
    Prepare Your AI Model API Key

    OpenClaw requires a large language model to power Agent reasoning. Using DeepSeek as an example:

    • Go to the DeepSeek website and log in
    • Navigate to the top-up page and complete the payment
    • Generate an API Key on the API management page (format: sk-...)
    Keep your API Key safe and never share it.

    Other major model providers such as OpenAI, Anthropic, and Gemini are also supported.

  3. 3
    Configure a Channel (Telegram Bot Example)

    OpenClaw supports chatting with the Agent via Telegram:

    • Search for @BotFather in Telegram and open a conversation
    • Send /newbot and follow the prompts to set a Bot name and Bot ID
    • Once created, save the API Token shown in the conversation
    The API Token is only shown once upon creation — do not share it.

  4. 4
    Complete OpenClaw Initialization

    After installation, OpenClaw will launch an onboarding wizard. Complete the following steps in order.

    1. Select installation mode: QuickStart

    2. Select your LLM provider (e.g. DeepSeek) and paste the API Key from Step 2

    3. Select your chat channel (e.g. Telegram) and paste the Bot Token from Step 3

    4. Select and install Skills as needed (optional)

    5. Once configuration is complete, you can start chatting via the terminal TUI or Web console

  5. 5
    Launch OpenClaw

    OpenClaw does not start automatically on boot. After each restart, run it manually in the terminal:

    bash
    openclaw
    

    After launching, choose one of the following interaction modes:

    bash
    openclaw tui       # Terminal chat window
    openclaw dashboard # Web console
    
  6. 6
    Complete Telegram Authorization

    Open your Telegram Bot and send any message. The Bot will reply with a pairing code. Paste the pairing code into the TUI or Web console to complete binding. Once bound, you can freely use OpenClaw via Telegram.

  7. 7
    Connect to Onchain OS

    Enter the following command in the OpenClaw chat window to install the Onchain OS skill pack:

    bash
    npx skills add okx/onchainos-skills --yes -g
    

    Once installed, log in to your Agentic Wallet. Your Agent will be able to perform balance queries, token swaps, market data lookups, and more through natural language — unlocking the full capabilities of Onchain OS.