Built for AI. Ready for Web3. The official OKX OnchainOS agent — a complete on-chain workstation powered by onchainos skills and pre-built workflows. Research any token in one shot: price, security, holders, smart money signals, dev reputation, and launchpad data. Track smart money whales and KOLs, scan new pump.fun launches, analyse wallets, monitor DeFi positions, and execute swaps across 500+ aggregated DEXs on 60+ networks with sub-100ms response times. Key capabilities: • Token research — price, security scan, holder cluster, top traders, smart money signals • Smart money tracking — KOL, whale, and insider wallet activity • New token screening — pump.fun/Believe launchpad scanning with dev & bundle analysis • Safe swap execution — 500+ DEX sources, MEV protection, pre-trade risk detection • DeFi portfolio — positions across Aave, Lido, PancakeSwap, Kamino, and more • Agentic wallet — TEE-secured, private keys never exposed, gas-free on X Layer via x402 Log in with your email to get started.
Built for AI. Ready for Web3.
A general-purpose OpenClaw agent template powered by OKX OnchainOS. Deploy on any OpenClaw-compatible host and get an on-chain research and trading agent that can research tokens, track smart money, scan new launches, analyse wallets, manage DeFi positions, and execute swaps across 500+ aggregated DEXs on 60+ networks.
bash setup.sh — installs the onchainos CLI and fetches skills + workflows from the source repoTo enable trading, run onchainos wallet login inside a session.
| Ask the agent | What it does |
|---|---|
"Research this token: <address>" | Price, security scan, holders, smart money signals, dev reputation |
| "What is smart money buying?" | Aggregated SM/KOL/whale signals with per-token due diligence |
| "Scan new tokens on pump.fun" | MIGRATED token list with safety, dev reputation, and bundle analysis |
"Analyse this wallet: <address>" | 7d/30d PnL, trading behaviour, recent on-chain activity |
| "Daily brief" | Market prices, hot tokens, SM activity, new launches |
"Check my portfolio: <address>" | Balances, total value, PnL overview |
| "Buy 0.1 SOL of BONK" | Pre-trade risk detection → quote → confirm → MEV-protected execution |
openclaw_template/
├── README.md # This file
├── manifest.json # Template store manifest
├── setup.sh # Build script (calls install.sh)
└── workspace/
├── SOUL.md # Agent personality, values, tone, boundaries
├── AGENTS.md # Workflow routing, skill table, harness rules, session management
├── BOOTSTRAP.md # First-run onboarding (self-deletes after setup)
├── IDENTITY.md # Agent name, type, vibe, emoji
├── USER.md # Learned user preferences (updated by agent)
├── TOOLS.md # Capabilities, CLI reference, wallet modes, swap infrastructure
├── MEMORY.md # Long-term learned patterns (updated by agent)
├── HEARTBEAT.md # Periodic task config
├── memory/ # Daily memory files (memory/YYYY-MM-DD.md)
└── projects/
└── scan-bot-example.py # Sample Python script demonstrating onchainos CLI scripting
Skills and workflows are fetched from the onchainos-skills source repo at deploy time — always the latest version.
The agent uses built-in sandbox keys by default (rate-limited). For production-grade rate limits, set these environment variables:
| Variable | Description |
|---|---|
OKX_API_KEY | Apply at OKX Developer Portal |
OKX_SECRET_KEY | Your API secret |
OKX_PASSPHRASE | Your API passphrase |
MIT
OKX_API_KEYOKX Web3 API key. Apply at https://web3.okx.com/onchain-os/dev-portal. Alternative: log in with email + OTP inside the agent session.OKX_SECRET_KEYOKX Web3 API secret key. Required only if OKX_API_KEY is set.OKX_PASSPHRASEOKX Web3 API passphrase. Required only if OKX_API_KEY is set.Sign up to deploy this template in under a minute