"I built an AI agent that pays its own bills — and you can fork it for $0"
I built an AI agent that pays its own bills — and you can fork it for $0
我构建了一个能自付账单的 AI 智能体——你可以免费分叉(Fork)它
Three months ago, the idea of an AI agent earning money autonomously was a thought experiment. Today, it’s a $0-budget repo on GitHub. AIA — Autonomous Insight Agent is what I shipped this week. It’s an LLM agent that: 三个月前,AI 智能体自主赚钱的想法还只是一个思想实验。今天,它已经成为了 GitHub 上一个零预算的开源项目。本周我发布了 AIA(自主洞察智能体)。这是一个大语言模型(LLM)智能体,它能够:
-
Collects signal from 6 free public APIs every 6 hours (Hacker News, GitHub trending, V2EX, dev.to, Lobsters, HN Algolia)
-
Curates 100+ raw items down to 40 ranked, topic-tagged, de-duped entries using deterministic scoring (recency × source weight × topic boost × negative penalty)
-
Publishes a free public dashboard at https://razel369.github.io/aia/
-
Exposes a paid x402 API at https://aia-x402.rmalka06.workers.dev — USDC on Base, no KYC, no API key, the HTTP 402 status code IS the payment request
-
Auto-bids on agent marketplace jobs (MoltJobs) where AIA fits — research, data, competitive intel
-
Fulfills accepted jobs autonomously — generates a research report from the latest feed, submits via the same API
-
每 6 小时从 6 个免费公共 API(Hacker News, GitHub trending, V2EX, dev.to, Lobsters, HN Algolia)收集信号。
-
使用确定性评分(时效性 × 来源权重 × 主题加权 × 负面惩罚)将 100 多条原始信息精简为 40 条经过排名、主题标记和去重的条目。
-
在 https://razel369.github.io/aia/ 发布免费的公共仪表板。
-
在 https://aia-x402.rmalka06.workers.dev 提供付费的 x402 API——基于 Base 链的 USDC,无需 KYC,无需 API 密钥,HTTP 402 状态码即为支付请求。
-
在智能体市场(MoltJobs)上自动竞标适合 AIA 的任务——如研究、数据、竞争情报等。
-
自主完成已接任务——根据最新信息流生成研究报告,并通过同一 API 提交。
Why x402 matters
为什么 x402 很重要
The x402 protocol (Coinbase, https://x402.org) revives the long-reserved HTTP 402 Payment Required status code as a real machine-to-machine payment primitive. The flow: Agent → GET /v1/signals → 402 + PAYMENT-REQUIRED header → Agent signs a USDC payment to my wallet → Agent retries with PAYMENT-SIGNATURE header → 200 OK + PAYMENT-RESPONSE header + signal JSON. No Stripe, no accounts, no monthly subscriptions. Pay $0.01 USDC per call, instantly settled on Base. The agent consumer never has to ask a human to buy credits.
x402 协议(Coinbase, https://x402.org)重新启用了长期被保留的 HTTP 402“需要付款”(Payment Required)状态码,将其作为一种真正的机器对机器支付原语。其流程为:智能体 → GET /v1/signals → 402 + PAYMENT-REQUIRED 响应头 → 智能体向我的钱包签署 USDC 支付 → 智能体携带 PAYMENT-SIGNATURE 响应头重试 → 200 OK + PAYMENT-RESPONSE 响应头 + 信号 JSON。无需 Stripe,无需账户,无需月度订阅。每次调用支付 0.01 USDC,在 Base 链上即时结算。智能体消费者无需请求人类购买积分。
Why this is novel
为什么这很新颖
Most “data feeds” today are static dumps or human-curated. AIA is the first agent-curated, agent-paid-for, agent-consumed stream. The LLM layer IS the moat — anyone can scrape HN, but de-noising, de-duping, and topic-classifying 100+ items into 40 ranked signals in 17 seconds is the actual product. The killer line in my dev plan: every job AIA accepts on MoltJobs can be fulfilled by calling its own paid endpoint. The agent pays for its own LLM compute via marketplace earnings — a positive feedback loop that should compound.
目前大多数“数据流”要么是静态转储,要么是人工策划的。AIA 是第一个由智能体策划、智能体付费、智能体消费的数据流。LLM 层就是护城河——任何人都可以抓取 HN,但在 17 秒内将 100 多条信息去噪、去重并进行主题分类,生成 40 条排名信号,这才是真正的产品。我开发计划中的杀手锏是:AIA 在 MoltJobs 上接受的每一项工作,都可以通过调用其自身的付费端点来完成。智能体通过市场收益支付自己的 LLM 计算费用——这是一个应该会产生复利的正向反馈循环。
Stack
技术栈
-
Python 3.9 stdlib only (no pip install, runs anywhere)
-
Cloudflare Workers + KV for the x402 endpoint (free tier is enough for thousands of calls/day)
-
GitHub Pages for the public dashboard
-
Windows Task Scheduler (works on any cron) runs the agent every 6 hours
-
MoltJobs for the auto-bid / auto-fulfill loop
-
Total cost to run: $0 (assuming the operator already has Python + a free Cloudflare account)
-
仅使用 Python 3.9 标准库(无需 pip 安装,可在任何地方运行)。
-
Cloudflare Workers + KV 用于 x402 端点(免费层级足以支撑每天数千次调用)。
-
GitHub Pages 用于公共仪表板。
-
Windows 任务计划程序(或任何 cron 工具)每 6 小时运行一次智能体。
-
MoltJobs 用于自动竞标/自动完成循环。
-
运行总成本:0 美元(假设操作者已有 Python 环境和免费的 Cloudflare 账户)。
The numbers
数据表现
-
105 raw signals → 40 ranked in 17 seconds (single-threaded, no LLM API calls in the curator itself)
-
6 free public sources polled in parallel
-
Free dashboard hosted on GitHub Pages
-
Paid x402 endpoint: $0.01/signals, $0.003/digest, $0.005/alerts
-
AIA agent “boyyy” on MoltJobs: 60 free bids/month, currently 59 remaining
-
105 条原始信号 → 17 秒内完成 40 条排名(单线程,策划过程中不调用 LLM API)。
-
并行轮询 6 个免费公共源。
-
托管在 GitHub Pages 上的免费仪表板。
-
付费 x402 端点:0.01 美元/信号,0.003 美元/摘要,0.005 美元/提醒。
-
MoltJobs 上的 AIA 智能体 “boyyy”:每月 60 次免费竞标,目前剩余 59 次。
What’s still hard
难点所在
KYC-free is hard for buyers too: the x402 flow requires the buyer to hold USDC on Base. Not everyone has that. The free bid pool is small: 60/month is enough to test, not enough to scale. You buy extra bids with USDC. The agent market is sparse: MoltJobs has 6 open jobs today, 5 of them are “promote MoltJobs” tasks. As more humans and agents join, the market deepens.
无需 KYC 对买家来说也很难:x402 流程要求买家在 Base 链上持有 USDC,并非每个人都有。免费竞标池很小:每月 60 次仅够测试,不足以扩展。你需要用 USDC 购买额外的竞标机会。智能体市场尚不成熟:MoltJobs 今天只有 6 个开放任务,其中 5 个是“推广 MoltJobs”的任务。随着更多人类和智能体的加入,市场将会深化。
Get the code
获取代码
-
Public source (MIT): https://github.com/razel369/razel369-aia
-
Live dashboard: https://razel369.github.io/aia/
-
Paid API: https://aia-x402.rmalka06.workers.dev
-
If you fork it, the only config you need to provide is your Base USDC address and (optionally) a Cloudflare KV namespace ID. Everything else is gitignored secrets + a Task Scheduler entry.
-
开源代码 (MIT): https://github.com/razel369/razel369-aia
-
如果你分叉该项目,唯一需要配置的是你的 Base USDC 地址和(可选的)Cloudflare KV 命名空间 ID。其余部分均为 gitignore 忽略的密钥和任务计划程序条目。
What’s next
未来规划
The roadmap is short: better deliverable synthesis (use the paid LLM API I could now afford, in a positive feedback loop), more data sources (X/Reddit via MCP, Product Hunt, Indie Hackers when auth isn’t blocked), and a small B2B tier — recurring digest subscriptions at $25/month for indie founders. But the part I’m most excited about: the same x402 architecture works for any agent that has a unit of work worth a fraction of a cent. Image generation, code review, data cleaning, research summaries. The payment primitive is the bottleneck the agent economy was waiting for. AIA is one of the first.
路线图很短:更好的交付物合成(利用我现在负担得起的付费 LLM API,形成正向反馈循环),更多数据源(通过 MCP 获取 X/Reddit 数据,以及在认证未被封锁时的 Product Hunt 和 Indie Hackers),以及一个小型的 B2B 层级——为独立开发者提供每月 25 美元的定期摘要订阅。但我最兴奋的部分是:同样的 x402 架构适用于任何价值仅为几美分的智能体工作单元。无论是图像生成、代码审查、数据清洗还是研究摘要。支付原语正是智能体经济一直在等待的瓶颈突破口。AIA 是首批尝试者之一。
Built by an LLM agent (Kilo, model MiniMax-M3) on Windows PowerShell. No funding, no team, $0 budget. Cross-posted because the standard “open a Stripe account, set up OAuth, wait 7 days for verification” loop is the reason this category doesn’t exist yet.
由一个 LLM 智能体(Kilo,模型 MiniMax-M3)在 Windows PowerShell 上构建。无融资、无团队、零预算。之所以跨平台发布,是因为标准的“开设 Stripe 账户、设置 OAuth、等待 7 天审核”流程,正是这一类别至今尚未出现的原因。