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
- 1Install OpenClaw
Open your terminal and run the install script for your system:
macOS / LinuxWindows PowerShellbashcurl -fsSL https://openclaw.ai/install.sh | bashWindows users: If Node 24 is not installed on your system, please run PowerShell as Administrator. - 2Prepare 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.
- 3Configure a Channel (Telegram Bot Example)
OpenClaw supports chatting with the Agent via Telegram:
- Search for
@BotFatherin Telegram and open a conversation - Send
/newbotand 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. - Search for
- 4Complete 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
- 5Launch OpenClaw
OpenClaw does not start automatically on boot. After each restart, run it manually in the terminal:
bashopenclawAfter launching, choose one of the following interaction modes:
bashopenclaw tui # Terminal chat window openclaw dashboard # Web console - 6Complete 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.
- 7Connect to Onchain OS
Enter the following command in the OpenClaw chat window to install the Onchain OS skill pack:
bashnpx skills add okx/onchainos-skills --yes -gOnce 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.
