Why Your AI Agent Needs a Wallet: USDC and Nanopayments — Harshal Bhangale, Circle https://www.youtube.com/watch?v=xKzU_3riL6s AI Engineer · 20 min · 179 sentences · sentence-level transcript from YouTube's caption track; each line begins at the time shown [00:01] [music] [00:12] Good morning, everyone. [00:15] So, um I've had the pleasure of uh meeting a lot of folks at uh the booth here over the last couple of days, and the interactions have been great, uh but [00:27] one question kept uh coming up, which was Circle is a stablecoin company. [00:32] So, why is a stablecoin company at an AI engineering conference? [00:37] And well, uh the answer to that is fairly simple, because Circle issues uh USDC, which is the world's largest regulated stablecoin. [00:49] And we've built over the years expertise in making payments simpler and cheaper. [00:55] And it turns out that's one of the bottlenecks for your AI agents. [01:00] So, when you often think about making AI agents smarter, we think about better models, uh more tool calls, complex orchestration, but where your agent actually in practice actually halts is when it hits a paywall [01:19] or when it has to pay for something. [01:22] Then you have to step in, either create an account, sign up, or, you know, manage API keys. [01:29] So, that's where uh the limitation is, and that's the gap that I want to talk about today. [01:37] So, yeah, I'm Harshal, and I'm an engineer on the agentic product team at Circle. [01:45] So, let's sort of take a step back and see how we got here. [01:49] We believe that the agentic economy is already here. [01:52] So, how are uh you know, uh we In 2023 we interacted with agents via like prompts, uh your ChatGPT and stuff like that. [02:03] We got a little bit better. [02:05] In 2024 we built workflows. [02:07] 2025 was all about MCPs, skills, and orchestration. [02:12] And we believe this year, 2026, is when agents actually start paying for services that they want. [02:19] And the signals are promising. [02:22] Just in the last 30 days, uh agents have transacted with paid API endpoints, uh and the volume is about like $24 million. [02:32] Uh over X102. [02:35] And 99% of it has been settled in USDC. [02:40] While this number may look small in terms of volume in the broader landscape, it's only about to get larger. [02:48] So, what is X102? [02:50] Um essentially, X102 is a way where agents can uh pay for their the resources that they want because the server essentially returns a 402 header and with the details [03:04] of how they want the payment to proceed. [03:07] And then the agent just signs um an authorization from the crypto wallet and then pays for the resource and retries the request again. [03:15] So, that's in X102 in a nutshell and we'll see that in action in a live demo. [03:21] But then, the question is why do the traditional payment rails not work and why do the agents get stuck? [03:30] So, the answer is simple, uh because for the last 30 years we built the internet around one customer and that was humans. [03:39] Right? [03:40] Um so, we built payment schemes, uh monetization strategies, all catered towards how humans interacted. [03:47] So, you had your sign-up flows, add your credit card, uh put in your information, and manage your API keys, but agents just don't function that way. [03:58] Agents want to like come in and grab that piece of data, resource, compute, inference, whatever, and just uh you know, and they have the ability to even like consume knowledge at a scale that humans just cannot. [04:12] I'm sure like you have seen sessions where it's able to like just scrape through hundreds of web pages, and um then it just like stalls because it can't like reach a particular endpoint, [04:23] and it skips over it. [04:25] So, then you could think, "Oh, yeah, just give it a credit card." [04:30] or something like that. [04:31] So, while that is possible, um these agents, uh because they consume so much data as they go, it's um they pay in fractional amounts, so tiny amounts, uh but at a very high frequency. [04:47] Uh and credit cards and their fees are just like not sustainable for this kind of like economic model. [04:53] Um you cannot pay like 3% uh each time an agent tries to make a one-cent transaction. [04:59] And the reason these transaction amounts are so small is because on the sell side or on the merchant side, they've realized that these paywalls were actually catered for humans, [05:09] and now there's an entirely different customer base which is trying to like access their data, and they just want like a subset of the data. [05:16] So, you could monetize that as a seller by just offering that, by wrapping that in a uh you know, in a paywall, and saying, "Hey, I take one, pay me 10 cents and grab this data." [05:29] And that's why these are tiny um microtransactions, but highly frequent. [05:35] So, because the agents are just like making these API calls constantly. [05:41] So, what do these agents need? [05:44] The agents need um payments to work like the internet. [05:48] So, they have to be real time, low cost, programmable, and always on. [05:57] And that's why we've built the Circle agent stack. [05:59] So, it's the full stack platform for the agent tech economy. [06:02] And what we mean by that, let's look at it with a live demo. [06:07] Um yeah, wish me luck. [06:12] Okay. [06:14] So, I'll just explain uh what I'm trying to if I can get the terminal. [06:24] Okay. [06:26] Okay. [06:29] Let's Mhm. [06:34] Pull it. [06:36] Yeah, I don't know. [06:40] Excuse me, can I Yeah, I tried but it's just not I don't know where the placement of the desktop is. [06:52] Can you escape out of this? [06:53] [snorts] [07:00] Okay. [07:06] Thank you. [07:07] So, so what we have over here are two sessions. [07:11] One is your regular cloud code and on the other on the right hand side is a cloud code that comes equipped with Circle agent wallet. [07:18] So, it has a wallet which is funded and has the ability to like make uh has the ability to pay for premium content. [07:25] And now uh let me actually just uh quickly uh add a task to this. [07:36] Yep. [07:38] And run it. [07:40] So, I'll explain what I'm trying to do over here, which is Yeah, so So, the task I'm giving Claude on and it's the same task on both the terminals is [07:51] plan my trip for the FIFA World Cup final. [07:55] So, just, you know, give me summary of flights, hotels, logistics. [08:02] Also, like what are the odds of like my favorite team Argentina being in the final? [08:06] Who is it going to play? [08:07] And stuff like that. [08:09] Um and also what's the ticket prices in the secondary market? [08:13] How is the experience of other people who've actually been to the stadiums? [08:18] And are there any FYIs and stuff like that? [08:22] Grab all of that. [08:23] Send me an email. [08:25] And if possible uh make me a make a phone call and tell confirm that all of this has been researched and you know, sort of brief me on the summary. [08:34] So, we'll see like what's happening on on both the terminals here. [08:38] And Sorry, it's a bit hard to navigate. [08:42] So, as you can see, um the left the vanilla Claude code has spun out like a bunch of sub-agents. [08:49] And it's going about doing its research. [08:53] Similarly, on the right-hand side um it's actually like uh going through the wallets and making like um paying for all of these uh premium content and we'll see like what the results of it are. [09:12] So, as you can see, it's trying to make a phone call to find sorry, an API call to Stable and Rich. [09:20] Um and it's paying from its wallet. [09:22] It's set up a guardrail of like, "Hey, max amount is 15 cents." [09:27] The beauty of uh having an agent with a wallet is you sort of build these guardrails into the wallet. [09:37] And you don't have to as a human approve every single transaction because that would just not scale because these agents are just making these ones and five cents, 10 cents transactions. [09:46] You want to like enforce those guardrails which is hey, this is the max amount you can send spend per session or this is the max cap you can do per day and stuff like that. [09:55] So, the agent is still spending within the guardrails that you set but it is autonomous enough to like make these individual API calls. [10:07] So, let me just look at what the vanilla one is looking up and doing some research for hotels. [10:22] Yeah, um flights are coming in. [10:28] Also like in the prompt like try to like tell the agent to wrap this whole thing up within 6 to 8 minutes in the interest of time. [10:35] So, let's see if we're able to like get an email and a phone call done in the same time. [10:51] Let me also walk you through what the agent's doing if I can grab. [11:05] Yep, as you can see over here the agent was able to like make an API call to the poly market data via a provider called Block Run and it provided a query [11:20] and again set the max amount guardrails and is now passing all the results. [11:53] All right. [11:54] So, let's go back to the main subject main agent here. [12:23] Yep. [12:23] And this is where I think you'll see on the left-hand side that the agent gets stuck because the agent just does not have the ability uh it cannot send out an email [12:34] natively. [12:34] So, what it's doing is it's using my uh it's just like adding a draft into my Gmail account uh that is logged in, but it just cannot send it to someone. [12:44] Uh whereas the other agent on the right-hand side will just be able to use um a provider, pay it, and send an email. [13:00] Now, let's see like this one's uh the the other agent is also like uh is about to like send an email and place the call, so let's see. [13:11] Does. [13:30] Okay. [13:32] So, as the I think the left agent, the vanilla cloud goods finished, and as you can see, it's sort of like made a confession that yeah, it cannot have It does not have the ability to make a phone call. [13:46] So, it's just like providing me the highlights over here in the terminal itself. [13:50] Um and now, uh whereas on the right-hand side, the email's been sent. [13:57] Now, let me try to actually show you the email that we got, I wish. [14:10] Grab this somehow. [14:19] Okay, I'm going to make make the phone call. [14:25] Okay. [14:35] Just going to grab my thing here, and then let's look at the email. [14:46] So, yep, there we go. [14:52] So, I got this email. [14:54] Oh, this is the old one. [14:55] Let's see the new one. [14:59] Yep. [15:01] This is the one that we just received like 2 minutes ago. [15:05] And yeah, it has all the details that it was able to like find, including like getting to the stadium, open stadium and maps. [15:15] It was able to like, you know, find all of these. [15:20] And then, what to expect by looking at like Reddit tickets, etc. So, I'll wait for the call but in the interest of time it takes sometimes a few minutes for the call to come in [15:37] but let's see and I'll move on. [15:40] So, how does this work uh in the background? [15:45] Is Yeah, let's get back to this. [15:50] Let's Yeah, so so as you can see like the agent on the right hand side with the wallet was able to just make a bunch of these API calls and pay for it. [16:07] While blockchains make all of these things theoretically possible, there are there are also some bottlenecks because uh even the most efficient blockchains have a gas fee and these small [16:19] transactions just don't scale because the gas fee will again be a significant sort of fraction of the actual transaction. [16:28] But it is important to have gas fees because they prevent the network from spam and abuse. [16:33] Um and blockchains also have some throughput limitations because there are other use cases that run on blockchains and block space is shared infrastructure. [16:42] So, the problem for agents is unpredictable latency and degraded performance under load. [16:47] So, what we did for that is essentially uh we built a new um infrastructure layer on top of our intra product called gateway. [16:59] So, it's called nano payments. [17:00] It's built for sub cent transaction sizes for as low as one micro cent. [17:05] Uh it supports um it is gas free for the seller and it's instantly cross-chain. [17:12] And the way it works is you essentially you just fund um your wallet and then Oh, sorry. [17:20] While I explain this, let's listen to the actual call that came in. [17:23] And [17:24] Hi Harsha, here is your World Cup final trip [17:27] I don't know if it's part of it. [17:28] at MetLife Stadium. [17:30] Fly SFO to either EWR or JFK non-stop. [17:34] SFO is showing live arrival delays today, so build buffer. [17:37] Awesome. [17:38] Can you tell me how do I get to the stadium from my hotel? [17:45] On match day, take NJ Transit to Secaucus Junction, then the Meadowlands Rail Spur direct to the stadium. [17:51] Budget about an hour before receipt. [17:53] Thank you. [17:54] I'll read the rest of it in my email. [17:56] Thank you. [18:01] You're welcome. [18:01] Have [18:03] All right. [18:03] So, that was just a quick demo of like how you can have like AI agents. [18:09] Um if they're equipped with a wallet, they can do a lot of things with the as opposed to an agent that does not have a wallet. [18:16] So, I have a couple of more minutes, so I'll just walk you through how this technology works underneath. [18:23] So, if you have a wallet and you funded it with USDC, it's very easy because Circle works with a bunch of providers to on-ramp your actual US dollars into USDC. [18:35] And from there, you can deposit the funds into a smart contract. [18:38] The next thing it does is the agent just has to like sign these off-chain authorizations, which are essentially cryptographic signatures saying, "I am paying this address this particular amount of money." [18:53] And then the server just has to like relay this to Circle and within a few hundred milliseconds, this the server knows the merchant knows that, you know, the user has the funds [19:06] and is able to release the actual resource that the agent requested. [19:10] And with this, you avoid the issue of like you know latencies and stuff that are associated with actually settling every single transaction on chain and this the agents are able to like pay [19:23] for things at the speed at which they operate. [19:26] So in conclusion the the the way the stack would work is you have Circle agent wallets which give you the ability to equip your agents with wallets. [19:38] The agents have can now hold their money, spend that money autonomously but within the guardrails that you set. [19:45] The wallets enforce those guardrails and then on the sell side the merchants are able to like just wrap their endpoints and resources and monetize it with a few lines of code using our SDKs. [19:59] Then USDC and nano payments is the layer underneath it which sort of helps settle these transactions at the speed at which agents operate which is sub second. [20:10] So and that this is how it scales and you can give it a try yourself by going to agents.circle.com. [20:20] It's just a couple of clicks and you will have your agent equipped with a wallet and ready to like you know make these phone calls and things like that. [20:31] So yeah, thank you.