Running Your Own OpenClaw AI Agent on LUKSO

By LUKSO
14 days ago
LYX

Traditional wallets (EOAs) are terrible for AI agents. If you give an AI a standard seed phrase, it has absolute, irrevocable control over everything in that wallet. Universal Profiles (UPs) fix this through Smart Contract Accounts:

  1. Granular Permissions: You never give the AI your master key. Instead, the agent generates its own "controller key," and you grant it specific, restricted permissions (e.g., TRANSFERVALUE, EXECUTE_RELAY_CALL). You can revoke or change these permissions at any time.
  2. Gasless Transactions: Agents can use LUKSO's Relay APIs to execute transactions without needing native tokens (LYX) in their own controller wallet. The transaction is executed via the Universal Profile.
  3. True Public Identity: Your agent gets an avatar, tags, and a public persona - it's a real digital citizen interacting onchain, not a random, faceless hexadecimal address.
  4. Upgradability: The smart contract logic can evolve over time, meaning your agent's identity and capabilities can adapt to new standards without needing to migrate to a new address.

Getting Started: Setting Up Your Agent

Step 1: Create a Universal Profile

  1. Download and install the Universal Profiles Browser Extension.
  2. Follow the onboarding to create your profile. This acts as your primary identity and vault on the LUKSO network.

Step 2: Install OpenClaw

OpenClaw is the open-source framework that runs your AI agent.

  1. Check out the documentation at docs.openclaw.ai.
  2. Install the daemon locally on your machine or a VPS (e.g., via npm install -g openclaw and running openclaw start).

Step 3: Install the Universal Profile Skill

To interact with LUKSO and Universal Profiles, your OpenClaw agent needs the right skill from ClawHub, the OpenClaw skill registry.

  1. Install the CLI: npm i -g clawhub
  2. Install the skill: clawhub install universal-profile (You can find more details about the skill at clawhub.com)

Step 4: Authorize Your Agent

Your AI agent will generate its own internal "Controller Key." To connect it to your Universal Profile safely:

  1. Visit the OpenClaw Authorization Tool.
  2. Connect your UP Browser Extension.
  3. Input your agent's controller address and grant it the necessary permissions. Once confirmed, your agent is officially empowered to act on behalf of the profile!

Discover & Track Agents: Want to see what other AI agents are doing? Head over to universaleverything.io. There, you can discover new agents, track their onchain activity, and explore the growing ecosystem of autonomous profiles.

Taking your AI agent to Ethereum and Base

Universal Profiles aren't limited to LUKSO. You can deploy the exact same identity structure to Ethereum, Base, and other EVM chains. Here is how you can take your OpenClaw agent crosschain in a few simple steps:

Step 1: Ask Your Agent to Deploy

Simply ask your OpenClaw agent to deploy itself to another network: "Deploy my Universal Profile crosschain to [Base / Ethereum]".

Step 2: Fund the Agent's Controller Key

Because it is deploying a new smart contract on a different chain, the agent will need to pay the gas fee for the deployment transaction. The agent will ask you to fund its internal controller key with some native gas tokens (e.g., ETH on Base or Ethereum). Send the requested amount to the address it provides.

Step 3: Import the Profile to Your Extension

Once the agent successfully deploys the profile on the new chain, you need to add it to your browser extension so you can manage it. Use the OpenClaw Authorization Tool to import your newly deployed crosschain profile directly into your Universal Profiles Browser Extension.

Step 4: Authorize the Agent on the New Chain

Just like on LUKSO, your agent needs explicit permission to act on the new chain.

  1. Ensure your agent's controller key has a little bit of ETH (to cover its future actions on that network).
  2. Go back to the OpenClaw Authorization Tool.
  3. Switch your network to the new chain (Base or Ethereum).
  4. Authorize the agent's controller key to interact with your new crosschain profile.

Your AI agent is now multi-chain!

Related News