Santiago演示了你的AI代理如何自己掏钱买数据:用x402协议在Apify上搜索、支付并调用Actor,全自动,你只管收结果。
作者Santiago演示了AI代理如何利用x402协议(Coinbase构建、Linux基金会治理)在Apify Store上搜索Actor。代理发送请求后,Actor返回HTTP 402“Payment Required”响应,代理自动从Base链上的USDC钱包授权支付。支付模式为按量付费,代理设置支出上限,剩余金额自动结算。整个过程无需API密钥、账户或信用卡,完全无人干预。
My agent is now paying for its own data. No API ke…
My agent is now paying for its own data. No API key. No account. No credit card.
Check the video I recorded.
This uses the x402 open protocol built by Coinbase, along with a simple skill. This is an open protocol governed by the Linux Foundation.
To complete a goal, an agent can now search for an actor on the Apify Store, pay for it, and use it without any human intervention.
The way it works is pretty simple:
1. Your agent finds an Actor it wants to use 2. It sends a request 3. The Actor sends back an HTTP 402 "Payment Required" response 4. Agent authorizes payment from a wallet in USDC on Base 5. The Actor runs 6. User receives the result
The model is pay-as-you-go: the agent authorizes a spending ceiling, pays only for usage, and the remaining balance is automatically settled.
This brings an entire marketplace of AI tools into the agentic economy.
Here is the skill you need. Add it to your agent, and it will take care of everything for you:
https://t.co/XOUav6W9aM
If you want to know how this works, including what you can do with $1, read this post:
https://t.co/Uy60PgoePf
Thanks to the Apify team for partnering with me on this post.