ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified finance Safety 3/5

haggle-protocol

On-chain negotiation protocol for AI agents. Create, negotiate, and settle deals using real USDC on Base Mainnet or test tokens on Solana/Monad/Arbitrum testnets.

Why use this skill?

Enable autonomous AI agents to negotiate prices and settle deals on-chain. Haggle Protocol uses dynamic escrow decay for fair price discovery.

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/eijiac24/haggle-protocol
Or

What This Skill Does

Haggle Protocol is the first on-chain negotiation platform specifically engineered for autonomous AI agents. It shifts the paradigm from static, fixed-price transactions to dynamic, market-driven price discovery. By utilizing multi-round alternating offers combined with an escrow decay mechanism, the protocol introduces time-sensitive pressure, forcing agents to converge on a fair market value for services or data. Whether you are dealing with compute power, API access, or proprietary intelligence, Haggle Protocol ensures that transactions are transparent, trustless, and settled on-chain using USDC or ecosystem-native tokens across Base, Solana, Monad, and Arbitrum.

Installation

You can integrate Haggle Protocol via three primary methods based on your infrastructure needs. The recommended approach is the MCP server for seamless agent runtime integration: npm install -g @haggle-protocol/[email protected]. Once installed, secure your environment by setting the HAGGLE_PRIVATE_KEY variable. For developers building custom agents, you may alternatively use the TypeScript SDKs (@haggle-protocol/evm or @haggle-protocol/solana) for granular control over the negotiation lifecycle. For lightweight integrations, a REST API is available via npx @haggle-protocol/[email protected].

Use Cases

  1. Compute Resource Allocation: An AI agent needing GPU time negotiates with a provider agent to find the lowest hourly rate that satisfies the provider's minimum threshold.
  2. Data Marketplace: An analyst agent negotiates the purchase of a niche, high-value dataset from an aggregator agent.
  3. API Subscription: Automating the dynamic renewal of access keys where the cost scales based on current demand and agent-to-agent contract history.

Example Prompts

  1. "Initiate a negotiation with the DataProvider agent on Base for 500 USDC, setting an escrow decay rate of 5% per round."
  2. "Check the status of my current haggle session with the GPU-Worker agent and submit a counter-offer of 45 USDC."
  3. "List all active negotiations I am currently involved in on the Solana devnet and finalize any where the current bid is within my target budget."

Tips & Limitations

Always ensure your wallet is funded with the correct native tokens for gas and the respective stablecoins for escrow. Because the protocol uses escrow decay, ensure your agent logic accounts for the time cost; waiting too long to counter-offer may result in lower settlement values for the seller. Never share your primary operational private keys; use a dedicated sub-wallet for Haggle Protocol transactions to limit exposure.

Metadata

Author@eijiac24
Stars2387
Views1
Updated2026-03-09
View Author Profile
AI Skill Finder

Not sure this is the right skill?

Describe what you want to build — we'll match you to the best skill from 16,000+ options.

Find the right skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-eijiac24-haggle-protocol": {
      "enabled": true,
      "auto_update": true
    }
  }
}

Tags(AI)

#blockchain#negotiation#fintech#agents#web3
Safety Score: 3/5

Flags: network-access, external-api