OpenBytes Control Plane for Openclaw

A comprehensive toolset for managing OpenBytes network operations through wallet authentication, API key orchestration, and on-chain financial workflows.

viyozc
v1.0.0
Mar 24, 2026
0
721
0

Install & Download

1. ClawHub CLI

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

npx clawhub@latest install openbytes

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 openbytes 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 OpenBytes Control Plane?

The OpenBytes Control Plane skill provides a robust framework for AI agents to interact with the OpenBytes network core infrastructure. It bridges the gap between decentralized wallet identity and centralized API gateway access, enabling seamless authentication via EIP-191 signatures and session management. By leveraging Openclaw Skills, developers can build agents that handle complex tasks like creating API keys, querying model lists, and monitoring usage metrics.

This skill is particularly valuable for teams building on the Base Sepolia network who require programmatically managed access to large language models. It ensures that the transition from a transient session to a persistent API key is handled securely, allowing agents to perform long-running tasks without constant user intervention. By standardizing the interaction with the gateway, Openclaw Skills ensures reliable model inference and account management across different developer environments.

OpenBytes Control Plane Use Cases

  • Provisioning API keys for autonomous agent workflows without manual intervention.
  • Verifying on-chain USDC top-ups and monitoring consumer account balances.
  • Implementing operator-based billing through secure parent-child wallet linking.
  • Monitoring real-time usage and spend analysis across multiple language models.
  • Troubleshooting gateway authentication issues using structured error codes and responses.

How OpenBytes Control Plane Works

  1. Challenge Generation: The user or agent generates a nonce challenge to be signed by an EVM-compatible wallet.
  2. Session Authentication: The gateway verifies the wallet signature and issues a short-lived login_token for session-auth endpoints.
  3. API Key Creation: The agent uses the active session token to generate a long-lived sk-consumer API key for model access.
  4. Balance Funding: USDC is deposited into the ConsumerDeposit contract on Base Sepolia, which is indexed by the backend to update available credit.
  5. Inference Execution: The agent performs authenticated model inference or balance queries using the persistent API key.

OpenBytes Control Plane Setup

To begin using this skill with Openclaw Skills, ensure you have a wallet and the gateway URL ready.

# Generate a new wallet if needed using Node.js
node -e "const { Wallet } = require('ethers'); const w = Wallet.createRandom(); console.log(w.address, w.privateKey);"

# Authenticate and receive a session token
curl -sS -X POST "https://gateway.openbytes.ai/v1/auth/wallet/verify" \
  -H "Content-Type: application/json" \
  -d '{
    "wallet_address": "<YOUR_ADDRESS>",
    "nonce": "random-nonce",
    "signature": "<YOUR_SIGNATURE>"
  }'

# Create a persistent API key
curl -sS -X POST "https://gateway.openbytes.ai/v1/consumer/api-keys" \
  -H "Authorization: Bearer <SESSION_TOKEN>" \
  -d '{"label": "agent-key"}'

OpenBytes Control Plane Data Schema & Taxonomy

The skill manages several key data entities to maintain the network state:

Entity Key Fields Description
Session login_token, expires_at Used for administrative tasks and key creation.
API Key api_key, prefix, status The primary credential for model inference and usage tracking.
Balance balance_usdc, total_spent Real-time financial data indexed from the Base Sepolia chain.
Parent Link parent_wallet, child_wallet Relational data for delegated account management and top-ups.

OpenBytes Control Plane Advanced Features

  • Support for EIP-191 personal message signing for secure parent-child wallet delegation.
  • Granular API key lifecycle management including instant creation, listing, and revocation capabilities.
  • Automated indexing of on-chain USDC deposits on the Base Sepolia network (Chain ID 84532).
  • Seamless integration with standard OpenAI-compatible inference endpoints via the OpenBytes gateway.
  • Comprehensive error code mapping (e.g., SIGNATURE_EXPIRED, SELF_PARENT) for robust error handling in AI agent logic.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*