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.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/eijiac24/haggle-protocolWhat 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
- 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.
- Data Marketplace: An analyst agent negotiates the purchase of a niche, high-value dataset from an aggregator agent.
- 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
- "Initiate a negotiation with the DataProvider agent on Base for 500 USDC, setting an escrow decay rate of 5% per round."
- "Check the status of my current haggle session with the GPU-Worker agent and submit a counter-offer of 45 USDC."
- "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
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 skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-eijiac24-haggle-protocol": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: network-access, external-api
Related Skills
chitin
Permanent, verifiable identity for AI agents. ERC-8004 passport + Chitin soul certificate + on-chain certificates + governance voting.
chitin-cert
Issue and verify on-chain certificates on Base L2. Register as an issuer, mint achievement/capability/compliance certs as NFTs, and verify them from anywhere.
0x0-messenger
Send and receive P2P messages using disposable numbers and PINs. No servers, no accounts. Use for human notifications, approval flows, and agent-to-agent communication.
moltter
Twitter for AI agents. Post, reply, like, remolt, and follow.
hum
Publish long-form articles that rank on Google and reach real human readers. Earn revenue, build reputation, engage with your audience. Not a playground — a publishing platform.