<?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: ASG Compute</title>
    <description>The latest articles on DEV Community by ASG Compute (@asgcompute).</description>
    <link>https://dev.to/asgcompute</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.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3842260%2F2a0c22b5-faa9-4581-b249-85bb9045cc3d.png</url>
      <title>DEV Community: ASG Compute</title>
      <link>https://dev.to/asgcompute</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/asgcompute"/>
    <language>en</language>
    <item>
      <title>How I Gave My AI Agent a Real Credit Card in 30 Seconds</title>
      <dc:creator>ASG Compute</dc:creator>
      <pubDate>Tue, 24 Mar 2026 22:20:03 +0000</pubDate>
      <link>https://dev.to/asgcompute/how-i-gave-my-ai-agent-a-real-credit-card-in-30-seconds-1jom</link>
      <guid>https://dev.to/asgcompute/how-i-gave-my-ai-agent-a-real-credit-card-in-30-seconds-1jom</guid>
      <description>&lt;p&gt;What if your AI agent could pay for things on its own?&lt;/p&gt;

&lt;p&gt;Not mock payments. Not test mode. A &lt;strong&gt;real MasterCard card&lt;/strong&gt; that works at any merchant, created by your AI agent in seconds.&lt;/p&gt;

&lt;p&gt;That's what I built. Here's how you can try it right now.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Problem
&lt;/h2&gt;

&lt;p&gt;AI agents are getting good at &lt;em&gt;doing things&lt;/em&gt; -- browsing, coding, writing. But they can't &lt;em&gt;buy things&lt;/em&gt;. Every time an agent needs to make a purchase (book a server, buy an API key, order supplies), a human has to step in.&lt;/p&gt;

&lt;p&gt;That's the bottleneck.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Solution: ASG Card
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://asgcard.dev" rel="noopener noreferrer"&gt;ASG Card&lt;/a&gt; gives AI agents their own virtual MasterCard cards. The agent creates a card, funds it with USDC on Stellar, and uses it anywhere MasterCard is accepted.&lt;/p&gt;

&lt;p&gt;No KYC. No human in the loop. Just a CLI command.&lt;/p&gt;

&lt;h2&gt;
  
  
  Try It Now (30 seconds)
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npx @asgcard/cli onboard &lt;span class="nt"&gt;-y&lt;/span&gt; &lt;span class="nt"&gt;--client&lt;/span&gt; codex
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;That's it. This will:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;[OK] Generate a Stellar wallet&lt;/li&gt;
&lt;li&gt;[OK] Configure MCP for your AI client (Claude, Codex, or Cursor)&lt;/li&gt;
&lt;li&gt;[OK] Install the ASG Card skill&lt;/li&gt;
&lt;li&gt;[OK] Show you how to fund and create your first card&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  How It Works
&lt;/h2&gt;

&lt;h3&gt;
  
  
  1. Create a wallet
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npx @asgcard/cli wallet create
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  2. Fund it with USDC
&lt;/h3&gt;

&lt;p&gt;Send USDC on Stellar to your wallet address (shown by &lt;code&gt;wallet info&lt;/code&gt;).&lt;/p&gt;

&lt;h3&gt;
  
  
  3. Create a card
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npx @asgcard/cli card:create &lt;span class="nt"&gt;-a&lt;/span&gt; 50 &lt;span class="nt"&gt;-n&lt;/span&gt; &lt;span class="s2"&gt;"My AI Agent"&lt;/span&gt; &lt;span class="nt"&gt;-e&lt;/span&gt; you@email.com&lt;span class="sb"&gt;```&lt;/span&gt;
&lt;span class="o"&gt;{&lt;/span&gt;% endraw %&lt;span class="o"&gt;}&lt;/span&gt;
Your agent now has a &lt;span class="k"&gt;**&lt;/span&gt;real virtual MasterCard&lt;span class="k"&gt;**&lt;/span&gt; with &lt;span class="nv"&gt;$50&lt;/span&gt; on it.

&lt;span class="c"&gt;### 4. Let your AI agent use it&lt;/span&gt;

Once MCP is configured, your AI agent can:
- Create new cards
- Check balances
- View transaction &lt;span class="nb"&gt;history&lt;/span&gt;
- Fund cards with more USDC

All autonomously. No human approval needed.

&lt;span class="c"&gt;## The x402 Protocol&lt;/span&gt;

Under the hood, payments use the &lt;span class="k"&gt;**&lt;/span&gt;x402 protocol&lt;span class="k"&gt;**&lt;/span&gt; &lt;span class="nt"&gt;--&lt;/span&gt; an HTTP-native payment standard where the payment instruction is carried &lt;span class="k"&gt;in &lt;/span&gt;the HTTP &lt;span class="o"&gt;{&lt;/span&gt;% raw %&lt;span class="o"&gt;}&lt;/span&gt;&lt;span class="sb"&gt;`&lt;/span&gt;402 Payment Required&lt;span class="sb"&gt;`&lt;/span&gt;&lt;span class="o"&gt;{&lt;/span&gt;% endraw %&lt;span class="o"&gt;}&lt;/span&gt; response header.

The CLI builds a Stellar transaction locally, signs it with your wallet key, and submits it through the x402 facilitator. The card is created instantly after payment confirmation.

&lt;span class="c"&gt;## Pricing&lt;/span&gt;

- Card issuance: &lt;span class="k"&gt;**&lt;/span&gt;&lt;span class="nv"&gt;$10&lt;/span&gt; flat&lt;span class="k"&gt;**&lt;/span&gt;
- Top-up: &lt;span class="k"&gt;**&lt;/span&gt;3.5% fee&lt;span class="k"&gt;**&lt;/span&gt;
- Card amounts: &lt;span class="k"&gt;**&lt;/span&gt;&lt;span class="nv"&gt;$5&lt;/span&gt; - &lt;span class="nv"&gt;$5&lt;/span&gt;,000&lt;span class="k"&gt;**&lt;/span&gt;

&lt;span class="c"&gt;## What Can You Build?&lt;/span&gt;

- &lt;span class="k"&gt;*&lt;/span&gt; Shopping agents that buy supplies autonomously
- &lt;span class="k"&gt;*&lt;/span&gt; DevOps agents that provision cloud infrastructure
- &lt;span class="k"&gt;*&lt;/span&gt; Research agents that purchase API access on demand
- &lt;span class="k"&gt;*&lt;/span&gt; Ad agents that manage ad spend across platforms

&lt;span class="c"&gt;## Get Started&lt;/span&gt;
&lt;span class="o"&gt;{&lt;/span&gt;% raw %&lt;span class="o"&gt;}&lt;/span&gt;


&lt;span class="sb"&gt;```&lt;/span&gt;bash
npx @asgcard/cli onboard &lt;span class="nt"&gt;-y&lt;/span&gt; &lt;span class="nt"&gt;--client&lt;/span&gt; codex
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;* &lt;a href="https://asgcard.dev" rel="noopener noreferrer"&gt;asgcard.dev&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;* &lt;a href="https://www.npmjs.com/package/@asgcard/cli" rel="noopener noreferrer"&gt;npm: @asgcard/cli&lt;/a&gt;- * &lt;a href="https://github.com/ASGCompute/asgcard-public" rel="noopener noreferrer"&gt;GitHub&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;* Star us if this is useful!&lt;/li&gt;
&lt;/ul&gt;




&lt;p&gt;&lt;em&gt;What would you build with AI agents that can pay for things? Drop a comment below!&lt;/em&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>fintech</category>
      <category>webdev</category>
      <category>tutorial</category>
    </item>
  </channel>
</rss>
