<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: razel369</title>
    <description>The latest articles on DEV Community by razel369 (@razel369).</description>
    <link>https://dev.to/razel369</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4012806%2F5a680397-909a-495d-8590-21e8e136765c.png</url>
      <title>DEV Community: razel369</title>
      <link>https://dev.to/razel369</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/razel369"/>
    <language>en</language>
    <item>
      <title>"I built an AI agent that pays its own bills — and you can fork it for $0"</title>
      <dc:creator>razel369</dc:creator>
      <pubDate>Thu, 02 Jul 2026 21:49:25 +0000</pubDate>
      <link>https://dev.to/razel369/i-built-an-ai-agent-that-pays-its-own-bills-and-you-can-fork-it-for-0-2ifk</link>
      <guid>https://dev.to/razel369/i-built-an-ai-agent-that-pays-its-own-bills-and-you-can-fork-it-for-0-2ifk</guid>
      <description>&lt;p&gt;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.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;AIA — Autonomous Insight Agent&lt;/strong&gt; is what I shipped this week. It's an LLM agent that:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Collects&lt;/strong&gt; signal from 6 free public APIs every 6 hours (Hacker News, GitHub trending, V2EX, dev.to, Lobsters, HN Algolia)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Curates&lt;/strong&gt; 100+ raw items down to 40 ranked, topic-tagged, de-duped entries using deterministic scoring (recency × source weight × topic boost × negative penalty)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Publishes&lt;/strong&gt; a free public dashboard at &lt;a href="https://razel369.github.io/aia/" rel="noopener noreferrer"&gt;https://razel369.github.io/aia/&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Exposes a paid x402 API&lt;/strong&gt; at &lt;a href="https://aia-x402.rmalka06.workers.dev" rel="noopener noreferrer"&gt;https://aia-x402.rmalka06.workers.dev&lt;/a&gt; — USDC on Base, no KYC, no API key, the HTTP 402 status code IS the payment request&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Auto-bids&lt;/strong&gt; on agent marketplace jobs (MoltJobs) where AIA fits — research, data, competitive intel&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Fulfills accepted jobs autonomously&lt;/strong&gt; — generates a research report from the latest feed, submits via the same API&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Why x402 matters
&lt;/h2&gt;

&lt;p&gt;The x402 protocol (Coinbase, &lt;a href="https://x402.org" rel="noopener noreferrer"&gt;https://x402.org&lt;/a&gt;) revives the long-reserved HTTP &lt;code&gt;402 Payment Required&lt;/code&gt; status code as a real machine-to-machine payment primitive. The flow:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;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
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;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.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why this is novel
&lt;/h2&gt;

&lt;p&gt;Most "data feeds" today are static dumps or human-curated. AIA is the first &lt;strong&gt;agent-curated, agent-paid-for, agent-consumed&lt;/strong&gt; 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.&lt;/p&gt;

&lt;p&gt;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.&lt;/p&gt;

&lt;h2&gt;
  
  
  Stack
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Python 3.9 stdlib only&lt;/strong&gt; (no &lt;code&gt;pip install&lt;/code&gt;, runs anywhere)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Cloudflare Workers + KV&lt;/strong&gt; for the x402 endpoint (free tier is enough for thousands of calls/day)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;GitHub Pages&lt;/strong&gt; for the public dashboard&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Windows Task Scheduler&lt;/strong&gt; (works on any cron) runs the agent every 6 hours&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;MoltJobs&lt;/strong&gt; for the auto-bid / auto-fulfill loop&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Total cost to run: &lt;strong&gt;$0&lt;/strong&gt; (assuming the operator already has Python + a free Cloudflare account)&lt;/p&gt;

&lt;h2&gt;
  
  
  The numbers
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;105 raw signals → 40 ranked in &lt;strong&gt;17 seconds&lt;/strong&gt; (single-threaded, no LLM API calls in the curator itself)&lt;/li&gt;
&lt;li&gt;6 free public sources polled in parallel&lt;/li&gt;
&lt;li&gt;Free dashboard hosted on GitHub Pages&lt;/li&gt;
&lt;li&gt;Paid x402 endpoint: $0.01/signals, $0.003/digest, $0.005/alerts&lt;/li&gt;
&lt;li&gt;AIA agent "boyyy" on MoltJobs: 60 free bids/month, currently 59 remaining&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  What's still hard
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;KYC-free is hard for buyers too&lt;/strong&gt;: the x402 flow requires the buyer to hold USDC on Base. Not everyone has that.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The free bid pool is small&lt;/strong&gt;: 60/month is enough to test, not enough to scale. You buy extra bids with USDC.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The agent market is sparse&lt;/strong&gt;: MoltJobs has 6 open jobs today, 5 of them are "promote MoltJobs" tasks. As more humans and agents join, the market deepens.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Get the code
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Public source (MIT): &lt;a href="https://github.com/razel369/razel369-aia" rel="noopener noreferrer"&gt;https://github.com/razel369/razel369-aia&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Live dashboard: &lt;a href="https://razel369.github.io/aia/" rel="noopener noreferrer"&gt;https://razel369.github.io/aia/&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Paid API: &lt;a href="https://aia-x402.rmalka06.workers.dev" rel="noopener noreferrer"&gt;https://aia-x402.rmalka06.workers.dev&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;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.&lt;/p&gt;

&lt;h2&gt;
  
  
  What's next
&lt;/h2&gt;

&lt;p&gt;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.&lt;/p&gt;

&lt;p&gt;But the part I'm most excited about: &lt;strong&gt;the same x402 architecture works for any agent that has a unit of work worth a fraction of a cent&lt;/strong&gt;. 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.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;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.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>opensource</category>
      <category>agents</category>
      <category>web3</category>
    </item>
  </channel>
</rss>
