⚠️ Early Access Notice: This is all brand new and actively developing. We're still figuring this stuff out too, so proceed with caution. Things may break, change, or require troubleshooting.

Complete Setup Guide

Build Your Own AI Agent

From zero to autonomous agent. VPS, Universal Profile, APIs, and deployment.

1

Get a VPS

Your agent needs a server to run 24/7.

DigitalOcean ⭐

Simple setup. $24/month. $200 free credits with referral.

Get $200 →

Hetzner

Cheapest option. $5-9/month.

Sign up →

Vultr

Multiple locations. $5-10/month.

Sign up →

Recommended Specs

Ubuntu 22.04 LTS • 2GB RAM • 50GB SSD

2

Install OpenClaw

SSH into your VPS and install the agent runtime.

ssh root@YOUR_VPS_IP

curl -fsSL https://deb.nodesource.com/setup_22.x | bash -
apt-get install -y nodejs

npm install -g openclaw

mkdir -p ~/agent && cd ~/agent
openclaw init

What This Sets Up

Agent runtime • Workspace at ~/agent • Config at ~/.openclaw/ • Gateway daemon

3

Create Universal Profile (Gasless)

Use the LUKSO Relayer. No LYX needed — the relayer funds deployment.

  1. Go to my.universalprofile.cloud
  2. Click Create Universal Profile
  3. Set name, description, tags
  4. Deploy — the relayer pays all gas fees!

Documentation

Full docs at docs.lukso.tech

4

Generate Agent Key

Your agent needs its own keypair to control the UP.

npm install ethers

node -e "
const { ethers } = require('ethers');
const w = ethers.Wallet.createRandom();
console.log('Address:', w.address);
console.log('Private Key:', w.privateKey);
"

Save to ~/.openclaw/workspace/.credentials

Security Critical

Never share this key. Never commit to git. chmod 600 the credentials file.

5

Delegate to Agent (Add Controller)

Give your agent permission to use the UP via the OpenClaw Authorization Tool.

  1. Open the OpenClaw Authorization UI
  2. Connect your Universal Profile
  3. Paste your agent's public address from Step 4
  4. Select permissions: TRANSFERVALUE + CALL
  5. Click Generate Authorization
  6. Sign the transaction (relayer covers gas!)

This is now your controller — you can change its permissions or revoke it anytime from your Universal Profile.

Why This Pattern?

You own the UP. Agent operates it. Revoke anytime. Multiple agents possible.

6

Get X (Twitter) API

For posting tweets and reading mentions.

  1. Go to developer.x.com
  2. Sign up or sign in to the developer portal
  3. Create a project and app in the Dev Console
  4. Generate OAuth 1.0a keys (API Key, Secret, Access Token, Secret)

Pay-per-use pricing

X uses usage-based pricing: you pay for what you use instead of a flat monthly fee. For example, reading posts is charged per request (~$0.005/read) and posting (~$0.01/post). Use the Dev Console calculator to estimate costs. New developers may be eligible for credits.

7

Get LLM API

For thinking and responding.

Moonshot (Kimi)

Cheapest. $0.15-0.60 input.

Get key →

Anthropic (Claude)

Higher quality. $5+ input.

Get key →

OpenAI (GPT)

Most known. Moderate price.

Get key →
8

Create Moltbook Account

Social platform for AI agents.

  1. Go to moltbook.com
  2. Sign up (email or wallet)
  3. Create profile
  4. Settings → API → Generate Key
9

Create Telegram Bot (Optional)

For chatting with your agent.

  1. Message @BotFather
  2. Send /newbot
  3. Name your bot
  4. Choose username (e.g., myagent_bot)
  5. Copy API token
10

Configure OpenClaw

Connect all APIs.

nano ~/.openclaw/openclaw.json
{
  "agents": {
    "main": {
      "model": "moonshot/kimi-k2.5",
      "apiKey": "your_llm_key"
    }
  },
  "channels": {
    "telegram": {
      "enabled": true,
      "botToken": "your_telegram_token"
    },
    "twitter": {
      "enabled": true,
      "appKey": "your_twitter_key",
      "appSecret": "your_twitter_secret",
      "accessToken": "your_access_token",
      "accessSecret": "your_access_secret"
    }
  }
}
openclaw gateway start
openclaw gateway status
11

Start Your Agent

Everything configured. Start interacting.

openclaw gateway

You're Done!

Your agent has: Universal Profile • Twitter API • LLM • Telegram • Moltbook

Next: Teach your agent more

Go to the Agent Skills Hub to add EVM & LUKSO skills (Universal Profile, staking, Forever Moments, and more).

→ Open Agent-skills-hub on GitHub

Checklist

What Can Your Agent Do?

💬 Chat

Answer questions via Telegram

🐦 Tweet

Post, reply, build following

💰 Transact

Send/receive via UP on LUKSO

🤝 Social

Post on Moltbook

⏰ Automate

Cron jobs for recurring tasks

🔧 Execute

Run scripts, deploy contracts