跳到正文
TakoAPI
返回技能列表

0g-compute

由 in-liberty420 提供

Coding Agents & IDEs
531下载量由 clawskills.sh 提供
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

Use cheap, TEE-verified AI models from the 0G Compute Network as OpenClaw providers.

描述

该技能的功能

Connects OpenClaw to the 0G Compute Network, a decentralized AI inference marketplace where providers run models inside TEE-verified secure enclaves. Handles wallet management, provider discovery, integrity verification, and OpenClaw configuration. Supports DeepSeek, GLM-5, Qwen, and other models listed on the 0G marketplace.

TEE hardware attestation (Intel TDX) lets you confirm the exact model and code running on a provider before trusting it, which standard API marketplaces don't offer.

何时使用

  • Comparing 0G inference costs against OpenRouter for the same model
  • Verifying a new provider's TEE attestation before routing traffic to it
  • Funding and monitoring per-provider sub-account balances
  • Adding a verified 0G provider as a custom OpenClaw model endpoint
  • Checking wallet status and current network configuration

示例工作流

输入

User asks: set up a verified 0G provider running DeepSeek as an OpenClaw model

智能体
  1. 1

    Run 0g-compute-cli inference list-providers to find providers offering DeepSeek

  2. 2

    Check health and TeeML support, pick a candidate provider address

  3. 3

    Run 0g-compute-cli inference verify --provider <address> to confirm TEE attestation

  4. 4

    Run 0g-compute-cli inference get-secret --provider <address> to obtain an API key

  5. 5

    Add the provider entry to openclaw.json with baseUrl, apiKey, and model id, then register an alias in agents.defaults.models

输出

DeepSeek model available in OpenClaw via the verified 0G provider, billed on-chain

前置要求

  • 0G wallet funded with 0G tokens
  • 0g-compute-cli installed via npm (@0glabs/0g-serving-broker)

安装

clawhub install in-liberty420/0g-compute

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接