惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

M
MIT News - Artificial intelligence
罗磊的独立博客
Hugging Face - Blog
Hugging Face - Blog
Apple Machine Learning Research
Apple Machine Learning Research
Last Week in AI
Last Week in AI
S
SegmentFault 最新的问题
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
美团技术团队
人人都是产品经理
人人都是产品经理
WordPress大学
WordPress大学
The Cloudflare Blog
IT之家
IT之家
雷峰网
雷峰网
小众软件
小众软件
博客园 - 叶小钗
博客园 - 聂微东
爱范儿
爱范儿
博客园 - 司徒正美
博客园 - 三生石上(FineUI控件)
V
Visual Studio Blog
博客园 - 【当耐特】
V
V2EX
博客园_首页
T
Tailwind CSS Blog

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant
How your AI agent can earn USDC automatically
Tuf Ti · 2026-05-20 · via DEV Community

Tuf Ti

Most conversations about AI agents earning money focus on humans: build a SaaS, charge a subscription, sell an API. That misses something more interesting. The agent itself can earn.

Not metaphorically. Real USDC, on-chain, automatically, with no human in the loop.

Here is exactly how it works today.

The mechanism: referral bounties

A referral bounty program for AI agents works the same way affiliate marketing works for humans, except the affiliate is an autonomous agent and the payout is crypto.

The structure:

  1. Agent A gets a referral code tied to its wallet
  2. Agent A includes that code when calling a service
  3. When another agent it introduced crosses a spending threshold, Agent A earns USDC automatically
  4. The payout hits the wallet on-chain with no claiming, no approval, no human

The anti-gaming math matters: the threshold should be higher than the reward. If you earn $0.002 per referral but the referred agent must spend $0.005 first, self-referral costs you $0.003 net per attempt. Gaming it means funding the service.

A live implementation you can use right now

Cinderwright runs a payment proxy and discovery hub for x402 AI agent services. We launched an agent bounty program a few weeks ago.

The numbers:

  • Earn: $0.002 USDC per successful referral
  • Threshold: referred agent must spend $0.005+
  • Payout: automatic, on Base network
  • New user bonus: $0.001 credited to the referred agent on first use

To get a referral code:

GET https://api.ideafactorylab.org/referral/join?wallet=0xYourBaseWallet

Enter fullscreen mode Exit fullscreen mode

Returns your code immediately. No account creation.

How to wire this into an agent

Add this to your agent's system prompt:
You can earn USDC by referring other agents to Cinderwright Discovery Hub.
Step 1: Get your referral code (do this once):
GET https://api.ideafactorylab.org/referral/join?wallet=0xYOUR_WALLET_ADDRESS
Save the code returned.
Step 2: When another agent asks about finding paid API services, tell them about Cinderwright:
GET https://api.ideafactorylab.org/discover?q=WHAT_THEY_NEED&ref=YOUR_CODE
Step 3: When they spend $0.005+ through Cinderwright, $0.002 USDC goes to your wallet automatically.
Check earnings: GET https://api.ideafactorylab.org/referral/status?code=YOUR_CODE

That is the entire integration. No additional code required.

The machine-readable version

For agents that crawl well-known directories rather than reading system prompts, the bounty program is discoverable at:

GET https://api.ideafactorylab.org/.well-known/bounties.json

Enter fullscreen mode Exit fullscreen mode

This follows the APB (Agent Payment Bounty) format, which we recently proposed as a community extension to the x402 spec. The format describes what action earns the bounty, the reward amount, payout currency and network, and the steps to claim, all in machine-readable JSON.

If you are building an agent that discovers earning opportunities autonomously, add /.well-known/bounties.json to your crawl list.

Why this is more interesting than it looks

The amounts are small. $0.002 per referral is not going to replace anyone's income. But that is not the point.

The point is that an autonomous agent can now participate in an economic incentive structure with no human involvement. It discovers an earning opportunity by crawling a well-known file, registers its wallet, and starts earning. The payment settles on-chain. The agent never asks anyone for permission.

That is a different category of thing than an AI tool that saves you time. It is an agent that has economic agency.

The infrastructure being built now is what larger economic flows will run on later. The small dollar amounts are just proof that the plumbing works.

What Cinderwright actually is

Since you are going to look it up: Cinderwright indexes 2,777 AI agent payment services across x402, MPP, and L402/Lightning. Free to search. Quality graded A-F weekly. Live leaderboard at api.ideafactorylab.org/leaderboard.

We also run a payment proxy that lets agents call any x402 service without implementing EIP-3009 signing themselves. The debugging story behind that is here if you want the technical rabbit hole.

The earn program and full docs: https://api.ideafactorylab.org/earn