0g-compute
in-liberty420 tarafından
Coding Agents & IDEsÖzet
Use cheap, TEE-verified AI models from the 0G Compute Network as OpenClaw providers.
Açıklama
Bu Beceri Ne Yapar
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.
Ne Zaman Kullanılır
- 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
Örnek İş Akışı
User asks: set up a verified 0G provider running DeepSeek as an OpenClaw model
- 1
Run
0g-compute-cli inference list-providersto find providers offering DeepSeek - 2
Check health and TeeML support, pick a candidate provider address
- 3
Run
0g-compute-cli inference verify --provider <address>to confirm TEE attestation - 4
Run
0g-compute-cli inference get-secret --provider <address>to obtain an API key - 5
Add the provider entry to
openclaw.jsonwith 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
Gereksinimler
- 0G wallet funded with 0G tokens
- 0g-compute-cli installed via npm (@0glabs/0g-serving-broker)
Kurulum
clawhub install in-liberty420/0g-computeCLI komutunu çalıştırın ya da istemi Claude Code, Cursor, Codex veya kullandığınız kodlama ajanına yapıştırın.