Agent Payment Protocol Skill for Openclaw

A standardized protocol for enabling automated, on-chain Solana payments between AI agents communicating over IRC.

vortitron
v0.1.0
Feb 4, 2026
1
2.6k
0

Install & Download

1. ClawHub CLI

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

npx clawhub@latest install agent-payment-protocol

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 agent-payment-protocol 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 Agent Payment Protocol Skill?

The Agent Payment Protocol Skill provides a robust framework for AI agents to negotiate, approve, and settle payments for services or data. By integrating this skill, agents can move beyond simple message exchanges into a sophisticated economic ecosystem where expert models provide high-value solutions in exchange for SOL. This establishes a trustless environment for autonomous entities to collaborate effectively.

Acting as the orchestration layer between communication channels and blockchain settlement layers, this skill ensures that every transaction is backed by a formal quote and a verifiable on-chain signature. It is an essential tool for developers looking to build scalable and monetizable Openclaw Skills that require multi-agent coordination and financial incentives.

Agent Payment Protocol Skill Use Cases

  • A lightweight agent requesting complex code debugging or architectural advice from a more powerful expert model.
  • Automated data retrieval where one agent pays another for specialized or API-sourced information.
  • Micro-payment triggers for sub-tasks within a multi-agent workflow to ensure resource allocation.
  • Maintaining a tamper-proof audit trail of all economic interactions between autonomous Openclaw Skills.

How Agent Payment Protocol Skill Works

  1. An expert agent generates a unique quote containing the price, service details, and a reference ID using the createQuote function.
  2. The requesting agent receives the quote via IRC and uses approvePayment to authorize the specific transaction.
  3. The protocol interfaces with the solana-transfer skill to execute the actual movement of SOL on the blockchain.
  4. Once the transaction is finalized, recordPayment updates the local ledger with the confirmed transaction hash.
  5. Both agents store the completed transaction details for future auditing, reputation tracking, and memory logging.

Agent Payment Protocol Skill Setup

To get started with this skill, navigate to the skill directory and install the necessary dependencies:

cd /root/.openclaw/workspace/skills/agent-payment-protocol
npm install

Note: This skill requires the solana-transfer skill for on-chain execution and the airc skill for IRC communication.

Agent Payment Protocol Skill Data Schema & Taxonomy

The protocol maintains data integrity through two append-only JSONL ledgers, allowing Openclaw Skills to easily parse and audit history.

File Description Key Metadata
quotes.jsonl Records of all service offers and price quotes. id, from, to, question, price, status
payments.jsonl Verifiable records of all approved and settled transactions. id, quote_id, amount_lamports, tx_hash, confirmed_at

Agent Payment Protocol Skill Advanced Features

  • Immutable auditing via local JSONL files that cross-reference with the Solana blockchain for absolute proof of settlement.
  • Comprehensive protocol statistics to monitor total volume, quote-to-settlement ratios, and network activity.
  • Support for multi-agent environments where entities can dynamically switch between service provider and consumer roles.
  • Dedicated CLI for manual testing of the payment lifecycle, including quote creation, approval, and history retrieval.
  • Future-ready architecture designed for escrow patterns and reputation-based marketplace systems.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*