0G Compute Network for Openclaw

Access a decentralized AI inference marketplace with TEE-verified model integrity and on-chain billing.

in-liberty420
v1.0.2
Mar 6, 2026
0
2.4k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install 0g-compute

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install 0g-compute using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is 0G Compute Network?

The 0G Compute Network skill provides an interface to a decentralized AI inference marketplace, allowing developers to utilize cheap, TEE-verified models as providers for their agents. By integrating this skill with Openclaw Skills, users can access high-performance models like DeepSeek, GLM-5, and Qwen while ensuring hardware-attested integrity through Intel TDX. It bridges the gap between decentralized infrastructure and agentic workflows, offering a transparent and cost-effective alternative to centralized providers.

This skill automates the discovery of model providers, facilitates secure wallet management for on-chain payments, and ensures that every model interaction is verified via Trusted Execution Environments. It is designed for developers who prioritize security, cost-efficiency, and decentralization within their Openclaw Skills ecosystem.

0G Compute Network Use Cases

  • Deploying low-cost AI inference using decentralized providers instead of centralized APIs.
  • Verifying model integrity for sensitive tasks using Intel TDX hardware attestation.
  • Comparing real-time 0G token pricing against OpenRouter USD rates for optimal cost savings.
  • Managing on-chain 0G wallet balances and sub-account funding for autonomous agent operations.
  • Accessing open-source models like Qwen or DeepSeek through a secure, decentralized gateway.

How 0G Compute Network Works

  1. Install the 0G Compute CLI and configure your network connection to the 0G marketplace.
  2. Securely log in with your 0G wallet to manage funds and authenticate provider requests.
  3. Discover available models and providers using the discovery workflow, filtering by price and uptime.
  4. Run the verification process to validate the TEE (Trusted Execution Environment) signer and hardware attestation of a chosen provider.
  5. Generate an API secret and add the provider details to your configuration to enable the models within Openclaw Skills.
  6. Fund provider-specific sub-accounts with 0G tokens to facilitate seamless on-chain inference billing.

0G Compute Network Setup

First, install the required CLI package via npm:

npm i -g @0glabs/0g-serving-broker

Next, configure the network and log in securely to protect your private key:

# Setup the network
0g-compute-cli setup-network

# Login without exposing keys in history
read -s OG_PK; 0g-compute-cli login --private-key "$OG_PK"; unset OG_PK

0G Compute Network Data Schema & Taxonomy

The skill manages connectivity and financial data across several layers to ensure compatibility with Openclaw Skills:

Component Format Description
Provider Metadata JSON Includes base URL, TEE signer address, and supported model IDs.
Wallet Config ~/.0g-compute-cli/config.json Stores local account settings and private keys.
Attestation Report JSON Raw Intel TDX hardware attestation data for provider verification.
Openclaw Provider openclaw.json Maps 0G endpoints and secrets to agent-accessible model aliases.
Sub-account Ledger On-chain Tracks balances per provider for the inference service.

0G Compute Network Advanced Features

  • Automated TEE attestation checking to ensure Docker Compose hash integrity and Intel TDX verification.
  • Integrated price comparison scripts to calculate savings between 0G and OpenRouter in real-time.
  • Multi-provider sub-account management for distributing compute tasks across different decentralized nodes.
  • Interactive secret generation with custom expiration for secure integration into Openclaw Skills environments.
  • Detailed health and uptime metrics for every provider in the decentralized marketplace.

SKILL.md


Loading

METADATA

Requires
Bins 0g-compute-cli
Github Stars: 0
forks: 0

Featured*