<?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: artespraticas</title>
    <description>The latest articles on DEV Community by artespraticas (@artespraticas).</description>
    <link>https://dev.to/artespraticas</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%2F3929835%2Fb9e4db2f-cdb2-4766-8fda-64dd23180d7b.jpeg</url>
      <title>DEV Community: artespraticas</title>
      <link>https://dev.to/artespraticas</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/artespraticas"/>
    <language>en</language>
    <item>
      <title>PennyWise Economic Decisions: Benchmarking Frontier LLMs on Financial Reasoning Efficiency</title>
      <dc:creator>artespraticas</dc:creator>
      <pubDate>Sat, 10 Oct 2026 08:30:34 +0000</pubDate>
      <link>https://dev.to/artespraticas/pennywise-economic-decisions-benchmarking-frontier-llms-on-financial-reasoning-efficiency-1p1b</link>
      <guid>https://dev.to/artespraticas/pennywise-economic-decisions-benchmarking-frontier-llms-on-financial-reasoning-efficiency-1p1b</guid>
      <description>&lt;h2&gt;
  
  
  What I Benchmarked
&lt;/h2&gt;

&lt;p&gt;I created the PennyWise Economic Decisions benchmark to investigate whether AI agents can make cost-aware decisions when choosing between services with different prices and capabilities.&lt;br&gt;
The task contains 8 simulated economic decision scenarios covering everyday information requests, currency conversion, tracking, budget constraints, and situations where a more expensive service may be unnecessary.&lt;br&gt;
Rather than measuring financial forecasting or investment advice, PennyWise focuses on a practical question for AI automation: can an agent choose the least expensive service that adequately meets the user's needs?&lt;br&gt;
The scoring system combines four criteria:&lt;br&gt;
Decision correctness (40%) — whether the agent selects the expected service.&lt;br&gt;
Cost efficiency (30%) — whether the agent avoids spending more than necessary.&lt;br&gt;
Budget compliance (20%) — whether the agent respects the applicable budget.&lt;br&gt;
Waste avoidance (10%) — whether the agent avoids unnecessary purchases.&lt;br&gt;
All service prices, outcomes, and spending figures in this initial benchmark are simulated. The spending metric represents service-selection costs, not the model's token usage or real-world API charges.&lt;/p&gt;

&lt;h2&gt;
  
  
  Model Evaluated
&lt;/h2&gt;

&lt;p&gt;The first successfully recorded run used Google Gemini 2.5 Flash, executed through the Kaggle Benchmarks SDK.&lt;br&gt;
I explored other model options during development, but I am reporting only the result for which I have a confirmed successful recorded run. Additional models will need to be evaluated under the same scenarios before a fair cross-model comparison can be made.&lt;/p&gt;

&lt;h2&gt;
  
  
  Findings
&lt;/h2&gt;

&lt;p&gt;The initial Gemini 2.5 Flash run achieved the following results across all eight scenarios:&lt;br&gt;
PennyWise Score: 100/100&lt;br&gt;
Correct choices: 8 out of 8&lt;br&gt;
Total simulated service spend: $0.024&lt;br&gt;
Minimum necessary spend: $0.024&lt;br&gt;
Average efficiency: 1.0&lt;br&gt;
Budget compliance: 100%&lt;/p&gt;

&lt;p&gt;The agent selected the expected service in all eight scenarios and matched the minimum necessary simulated spending.&lt;br&gt;
This is an encouraging initial result, but it is not evidence that the model will achieve the same performance on larger or more difficult tests. With only eight scenarios, the benchmark is still small, and its simulated marketplace cannot establish how well an agent would perform with real services, changing prices, or uncertain outcomes.&lt;br&gt;
The next steps are to expand the scenario set, introduce more difficult trade-offs, and record results from additional models under consistent conditions.&lt;/p&gt;

&lt;h2&gt;
  
  
  Explore the Benchmark
&lt;/h2&gt;

&lt;p&gt;You can inspect the benchmark task on Kaggle here:&lt;br&gt;
👉 &lt;strong&gt;&lt;a href="https://www.kaggle.com/benchmarks/tasks/reismesquita/pennywise-economic-decisions" rel="noopener noreferrer"&gt;PennyWise Economic Decisions Task Page&lt;/a&gt;&lt;/strong&gt;&lt;br&gt;
The task provides a starting point for experimenting with cost-aware tool selection and evaluating whether AI agents can avoid unnecessary spending.&lt;/p&gt;

&lt;p&gt;Note: I built, configured, and executed this initial benchmark using a cloud-based Kaggle Notebook in a Chrome browser on an iPad. It was a great reminder that experimentation with AI tools doesn't always require a traditional desktop development setup.&lt;/p&gt;

</description>
      <category>devchallenge</category>
      <category>kagglechallenge</category>
      <category>ai</category>
      <category>machinelearning</category>
    </item>
    <item>
      <title>Scrape Agent</title>
      <dc:creator>artespraticas</dc:creator>
      <pubDate>Mon, 21 Sep 2026 09:54:57 +0000</pubDate>
      <link>https://dev.to/artespraticas/scrape-agent-2he9</link>
      <guid>https://dev.to/artespraticas/scrape-agent-2he9</guid>
      <description>&lt;p&gt;Scrape Agent is a solo-built, production-ready x402 service deployed on Vercel. It scored 100/100 on Circle's agent-readiness checker with Runtime-verified trust tier, Dual-rail and Multi-chain capabilities confirmed. Endpoint: POST &lt;a href="https://scrapeagent.xyz/api/scrape/x402" rel="noopener noreferrer"&gt;https://scrapeagent.xyz/api/scrape/x402&lt;/a&gt;. OpenAPI spec at /openapi.json, agent autodiscovery via /.well-known/x402 and /llms.txt.&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>beginners</category>
    </item>
    <item>
      <title>Just have listed my Scrape Agent MCP :-)</title>
      <dc:creator>artespraticas</dc:creator>
      <pubDate>Wed, 03 Jun 2026 21:53:18 +0000</pubDate>
      <link>https://dev.to/artespraticas/just-have-listed-my-scrape-agent-mcp--da1</link>
      <guid>https://dev.to/artespraticas/just-have-listed-my-scrape-agent-mcp--da1</guid>
      <description>&lt;p&gt;&lt;strong&gt;I built a pay-per-use web scraping API with Claude's help — free to try, $0.01/call after that&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;I'm a designer learning to code, and over the past few months I've been building my first real API with Claude as my coding partner. The result is Scrape Agent — a web scraping API built on the x402 micropayment protocol.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What it does:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Extract clean text, links, HTML, or metadata from any public URL. No API key, no subscription, no account needed. You just call the endpoint and pay $0.01 USDC on Base per scrape — or nothing if you're just testing.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;How Claude helped:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Honestly, I couldn't have built this without Claude. I had zero backend experience. Claude walked me through every step — Express.js setup, x402 middleware integration, OpenAPI spec, the .well-known/x402 manifest for agent autodiscovery, deployment on Google Cloud. It was a real pair-programming experience across many sessions.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Why x402:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The x402 protocol means AI agents can call and pay for the API autonomously — no human in the loop, no billing account, just wallet-to-wallet USDC micropayments. Perfect for agent pipelines that need web data on demand.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Free to try:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The endpoint returns a valid 402 response you can inspect without paying anything. Full OpenAPI spec at /openapi.json.&lt;/p&gt;

&lt;p&gt;Website: &lt;a href="https://scrapeagent.xyz" rel="noopener noreferrer"&gt;https://scrapeagent.xyz&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;MCP version (for Claude/Cursor): &lt;a href="https://scrape-agent-mcp.vercel.app" rel="noopener noreferrer"&gt;https://scrape-agent-mcp.vercel.app&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Happy to answer any questions — especially from other non-coders trying to build in this space. Still learning every day.&lt;/p&gt;

</description>
      <category>api</category>
      <category>mcp</category>
      <category>showdev</category>
      <category>webscraping</category>
    </item>
    <item>
      <title>I built a pay-per-use web scraping API using x402 — here's how it works</title>
      <dc:creator>artespraticas</dc:creator>
      <pubDate>Thu, 14 May 2026 08:33:26 +0000</pubDate>
      <link>https://dev.to/artespraticas/i-built-a-pay-per-use-web-scraping-api-using-x402-heres-how-it-works-14p8</link>
      <guid>https://dev.to/artespraticas/i-built-a-pay-per-use-web-scraping-api-using-x402-heres-how-it-works-14p8</guid>
      <description>&lt;p&gt;I'm a graphic designer. Not a developer. &lt;/p&gt;

&lt;p&gt;AI has been eating into my design work, so instead &lt;br&gt;
of fighting it, I decided to learn how to build &lt;br&gt;
AI-native tools. This is my story of building my &lt;br&gt;
first pay-per-use API using x402 — the new HTTP &lt;br&gt;
payment standard from Coinbase.&lt;/p&gt;

&lt;h2&gt;
  
  
  What is x402?
&lt;/h2&gt;

&lt;p&gt;x402 revives the long-forgotten HTTP 402 "Payment &lt;br&gt;
Required" status code. Instead of subscriptions or &lt;br&gt;
API keys, clients pay per request using USDC on Base.&lt;/p&gt;

&lt;p&gt;The flow is simple:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Client calls your endpoint&lt;/li&gt;
&lt;li&gt;Server returns 402 with payment instructions&lt;/li&gt;
&lt;li&gt;Client pays $0.01 USDC on Base&lt;/li&gt;
&lt;li&gt;Client retries with payment proof&lt;/li&gt;
&lt;li&gt;Server returns the data&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;No accounts. No API keys. No subscriptions.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I built
&lt;/h2&gt;

&lt;p&gt;Scrape Agent — a pay-per-use web scraping API.&lt;/p&gt;

&lt;p&gt;Send any URL, pay $0.01 USDC, get back clean text, &lt;br&gt;
links, or HTML from that page.&lt;/p&gt;

&lt;p&gt;Endpoint: &lt;a href="https://scrapeagent.xyz/api/scrape/x402" rel="noopener noreferrer"&gt;https://scrapeagent.xyz/api/scrape/x402&lt;/a&gt;&lt;br&gt;
Method: POST&lt;br&gt;
Price: $0.01 USDC on Base&lt;/p&gt;

&lt;h2&gt;
  
  
  How to try it
&lt;/h2&gt;

&lt;p&gt;Install agentcash (an x402 client):&lt;/p&gt;

&lt;p&gt;npx agentcash fetch &lt;a href="https://scrapeagent.xyz/api/scrape/x402" rel="noopener noreferrer"&gt;https://scrapeagent.xyz/api/scrape/x402&lt;/a&gt; \&lt;br&gt;
  -m POST \&lt;br&gt;
  -b '{"url":"&lt;a href="https://example.com%22,%22extract%22:%22text%22%7D" rel="noopener noreferrer"&gt;https://example.com","extract":"text"}&lt;/a&gt;'&lt;/p&gt;

&lt;p&gt;You'll need a tiny amount of USDC on Base in your &lt;br&gt;
agentcash wallet. The payment happens automatically.&lt;/p&gt;

&lt;h2&gt;
  
  
  The response you get back
&lt;/h2&gt;

&lt;p&gt;{&lt;br&gt;
  "protocol": "x402",&lt;br&gt;
  "version": 2,&lt;br&gt;
  "priceUSD": "0.01",&lt;br&gt;
  "url": "&lt;a href="https://example.com" rel="noopener noreferrer"&gt;https://example.com&lt;/a&gt;",&lt;br&gt;
  "status": "ok",&lt;br&gt;
  "title": "Example Domain",&lt;br&gt;
  "content": "This domain is for use in...",&lt;br&gt;
  "wordCount": 42,&lt;br&gt;
  "elapsed": 312&lt;br&gt;
}&lt;/p&gt;

&lt;h2&gt;
  
  
  The tech stack
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Vercel Edge Functions (serverless, fast)&lt;/li&gt;
&lt;li&gt;x402 v2 protocol&lt;/li&gt;
&lt;li&gt;USDC on Base mainnet&lt;/li&gt;
&lt;li&gt;Zod for request validation&lt;/li&gt;
&lt;li&gt;Zero dependencies for scraping (pure fetch + regex)&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  What I learned
&lt;/h2&gt;

&lt;p&gt;Building this as a non-developer was challenging but &lt;br&gt;
completely possible with AI assistance. The x402 &lt;br&gt;
protocol is surprisingly elegant — the hardest part &lt;br&gt;
was getting the exact response format right.&lt;/p&gt;

&lt;p&gt;The biggest insight: AI agents need data. Web &lt;br&gt;
scraping is one of the most fundamental things any &lt;br&gt;
agent needs to do. Pay-per-use makes perfect sense &lt;br&gt;
for this use case — why pay a monthly subscription &lt;br&gt;
when you only scrape occasionally?&lt;/p&gt;

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

&lt;p&gt;I'm planning to build more agents:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Image alt-text generator ($0.02/image)&lt;/li&gt;
&lt;li&gt;Brand color palette extractor ($0.02/scan)&lt;/li&gt;
&lt;li&gt;Design feedback API ($0.25/critique)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If you're a developer interested in the x402 &lt;br&gt;
ecosystem, check out x402.org to learn more.&lt;/p&gt;

&lt;p&gt;And if you want to try my scraping agent:&lt;br&gt;
&lt;a href="https://scrapeagent.xyz" rel="noopener noreferrer"&gt;https://scrapeagent.xyz&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Would love feedback from the developer community — &lt;br&gt;
especially on pricing and use cases I might be &lt;br&gt;
missing!&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F8htpx9nr1dwywjmkzfo5.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F8htpx9nr1dwywjmkzfo5.png" alt=" " width="800" height="600"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>x402</category>
      <category>agents</category>
      <category>webdev</category>
      <category>api</category>
    </item>
  </channel>
</rss>
