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

payspawn

Add spending controls to any AI agent that makes API payments. Supports x402 auto-pay, daily limits, per-transaction limits, address allowlists, and fleet provisioning. Use when your agent calls paid APIs or sends payments autonomously. Works on Base with USDC.

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/adambrainai/payspawn
Or

What This Skill Does

PaySpawn is a robust security and financial management layer designed specifically for autonomous AI agents operating on the Base blockchain. It provides a decentralized "spending leash" that prevents agents from overspending or draining a wallet. By leveraging smart contract logic rather than software-based configs, PaySpawn ensures that spending limits are mathematically enforced on-chain. This means that even if an agent's internal logic is compromised or if it encounters an infinite loop, the underlying smart contract will block any transaction that exceeds the daily, per-transaction, or address-based limits you have pre-defined. It integrates seamlessly with the x402 payment standard, allowing agents to pay for API access directly within their conversational flow.

Installation

To integrate PaySpawn into your agent, use the OpenClaw CLI or your package manager of choice:

  1. Run the installation command: clawhub install openclaw/skills/skills/adambrainai/payspawn
  2. Install the core SDK via NPM: npm install @payspawn/sdk
  3. Visit payspawn.ai/dashboard to connect your USDC wallet on Base.
  4. Configure your specific spending constraints (daily caps, per-tx caps) and sign the credential string.
  5. Save this credential as an environment variable in your agent configuration: PAYSPAWN_CREDENTIAL=your_secret_string.

Use Cases

  • Autonomous Research: Enable your agent to pay for expensive proprietary data or premium API endpoints (like GPT-4, specialized financial tools, or research databases) without risking your entire treasury.
  • Agent Fleet Management: For developers deploying multiple agents, the fleet provisioning feature allows you to allocate specific budgets to individual agents from a single master pool.
  • Payment Automation: Automate recurring tasks like micro-services, cloud storage, or decentralized compute power, where the agent makes the call and the payment simultaneously.

Example Prompts

  • "Research the latest market trends for these three tickers and use my PaySpawn agent to pay for any premium API data required, provided it stays under $5."
  • "Check my current daily spending allowance on the agent wallet and pause all outgoing payments if I've used more than 70% of the budget."
  • "Deploy a new sub-agent for the data scraping task and assign it a fresh credential with a $2 daily limit from our shared fleet pool."

Tips & Limitations

PaySpawn is designed for security, so remember that constraints are immutable once signed. To update limits, you must generate a new credential. Ensure you monitor your wallet's gas balance on Base, as on-chain transactions require ETH for gas, even though the payment currency is USDC. Always keep your PAYSPAWN_CREDENTIAL strictly in your environment variables; never hardcode it into scripts. The service is currently limited to the Base mainnet; it does not support other L1s or L2s.

Metadata

Stars4473
Views2
Updated2026-05-01
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-adambrainai-payspawn": {
      "enabled": true,
      "auto_update": true
    }
  }
}

Tags(AI)

#blockchain#finance#security#agent-automation#usdc
Safety Score: 5/5

Flags: external-api, code-execution