Cover Image for Agents That Can Pay: Circle & Mastra
Cover Image for Agents That Can Pay: Circle & Mastra
Avatar for Mastra
Presented by
Mastra
The open-source TypeScript framework for building AI agents
156 Went

Agents That Can Pay: Circle & Mastra

Virtual
Registration
Past Event
Welcome! To join the event, please register below.
About Event

​Agents increasingly need paid data, compute, and services to finish their work.

​In this workshop, we'll show how to give an agent USDC, set spending controls, and let it pay for services as it uses them.

​Anthony Kelani from Circle and Brandon Barros from Mastra will demonstrate how Circle Agent Stack equips AI agents to hold value, discover services, and programmatically transact only for what they use.

We’ll cover:

  • ​How to equip a Mastra agent with a Circle wallet and programmable spending controls

  • ​How the agent discovers an x402-compatible service through Circle Agent Marketplace

  • ​What the 402 Payment Required response contains, how the agent signs the payment, and how Circle Nanopayments enables gas-free, sub-cent transactions through batched settlement

  • ​How to trace the complete flow in Mastra Studio: which tool call triggered a payment, what it cost, and where a run failed before money moved

​Expect a live demo, real code, and plenty of time for questions.

​Hosted by:
Brandon Barros, Founding Field Engineer @ Mastra
Anthony Kelani, Director of Ecosystem Growth @ Circle

Avatar for Mastra
Presented by
Mastra
The open-source TypeScript framework for building AI agents
156 Went