PayPerUse

PayPerUse

Composable AI Agent Marketplace

Created on 24th June 2025

PayPerUse

PayPerUse

Composable AI Agent Marketplace

The problem PayPerUse solves

Today’s AI-powered tools are fragmented, centralized, and monetized through opaque subscription models that don’t reward contributors or enable modular reuse. Users are locked into platforms, and developers building AI agents or microservices lack standardized ways to expose, monetize, or compose their work.

PayPerUse solves this by introducing a decentralized, composable AI agent marketplace — where every agent is modular, pay-per-use, and monetized natively using on-chain infrastructure.

The platform enables users to access intelligent services like research assistants, poetry generators, image creators, and even complex flows like NFT minting — all powered by autonomous AI agents and orchestrated via a usage-based payment protocol.

How it works:

  • Each agent is a microservice with a defined input/output schema and is exposed via a pay-gated x402 HTTP API. This allows agents to be monetized per use — with no need for centralized billing, API keys, or subscriptions.

  • Users fund their on-platform smart wallet (created via Coinbase’s CDP Wallet SDK), which programmatically authorizes payments when an agent is called.

  • Payments are automatically split via CDP Wallet — between the agent creator, infrastructure providers, and optionally, affiliate referrers. The result is a fully on-chain, auditable, and autonomous revenue system.

Example: NFT Minting Agent

  • A user enters a description and collection details.

  • The agent calls an image generation model (via Amazon Bedrock), uploads the result and metadata to IPFS via Pinata, and mints an NFT on the Base chain — all in one click.

  • Each step is orchestrated by autonomous, dedicated agents, executing sequentially and interacting via on-chain logic and pay-per-use flows.

  • This agent showcases how PayPerUse enables composable, monetized AI workflows.

Akash Chat Integration

  • Akash Chat is integrated into the platform to assist users in choosing the right agents and refining inputs before paying — ensuring that each agent call provides maximum value, especially when it’s metered and priced per request.

  • We’ve also deployed a standalone Akash Chat Agent that enables users to interact with multiple decentralized LLMs such as Meta LLaMA, DeepSeek, and Qwen, providing censorship-resistant, low-cost, high-performance AI options through permissionless infrastructure.

Pinata for Storage

  • Pinata is the default decentralized storage layer across the platform. All generated assets — including images, metadata, and other files — are stored on IPFS using Pinata.

  • The Image Generation Agent includes an optional inline “Upload to IPFS” feature directly from the chat interface, allowing users to instantly store their generated content with a single action.

Create Custom Agentic Workflows

  • Users can also create their own custom agentic workflows by composing multiple agents or services into a sequence — and list them on the marketplace for public use, with full control over monetization, pricing, and revenue sharing.

  • Developers can create API endpoints which agent creators can utilize to compose agentic workflows across services and models.

  • Workflows can include conditional logic, branching, and chained executions powered by pay-per-use models.

By combining modular AI agents, decentralized compute and storage, and a crypto-native monetization system, PayPerUse transforms how intelligent software is built, accessed, and paid for — unlocking a future where AI services are open, composable, and economically aligned.

Challenges we ran into

  1. Wallet Persistence Without Extensions:
  • Since we didn’t want users to rely on browser wallets like MetaMask, we used Coinbase’s CDP Wallet SDK to create secure, programmable wallets on the backend. However, persisting wallet identity across sessions without extensions or seed phrases required us to implement a custom authentication layer that maps each user to their CDP Wallet securely, ensuring seamless user experience without compromising decentralization.
  1. Interfacing x402 Payments Across Multiple Agents:
  • Coordinating PayPerUse flows across multiple agents with x402 headers and verifying those payments in real time was complex. We built a centralized agent executor that dynamically injects signed EIP-712 x402 headers for each step, verifies them using the x402 facilitator, and automatically splits payments through CDP Wallet APIs—making the payment flow modular and transparent.
  1. Integrating Amazon Bedrock + Akash + Pinata Smoothly:
  • Unifying centralized (Bedrock), decentralized (Akash), and IPFS storage (Pinata) infrastructure into a single agentic pipeline required careful orchestration. We modularized each step and wrapped Bedrock and Akash models as callable agents within the same PayPerUse ecosystem. For Pinata, we integrated both paid and public pinning through their x402 API and offered direct uploads through our frontend agent chat interface.

Tracks Applied (6)

Best Use of x402pay + CDPWallet

x402 and CDP Wallets work together to enable seamless, on-chain pay-per-use monetization across our platform. When a use...Read More

Best Use of CDP Wallet

CDP Wallets power secure, keyless crypto transactions across our platform. Each user and agent is assigned a CDP Wallet ...Read More

Best Use of x402pay

x402 enables pay-per-use monetization for every agent on our platform by returning a 402 Payment Required response when ...Read More

Multiple Prizes: AWS Challenge: Best Use of Amazon Bedrock

Amazon Bedrock powers the AI capabilities behind many agents on our platform by providing access to top foundation model...Read More
Amazon Web Services

Amazon Web Services

Best Overall Project and Best Use of Akash

Akash Chat acts as an intelligent assistant across our platform, helping users choose the right agents and refine their ...Read More
Akash Network

Akash Network

Best Agentic Use of Pinata

Pinata powers decentralized storage across our platform by allowing agents to upload and retrieve content on IPFS. All g...Read More

Pinata

Cheer Project

Cheering for a project means supporting a project you like with as little as 0.0025 ETH. Right now, you can Cheer using ETH on Arbitrum, Optimism and Base.

Discussion

Builders also viewed

See more projects on Devfolio