← All AI Engineer talks

AI Engineer World's Fair 2026

How to avoid disaster when vibe-coding a billing engine — Andrew Garvin, Stripe

Read the talk

Building a billing sandbox with agents—and keeping control of the money

Andrew Garvin demonstrates how Stripe Projects and Metronome turn a natural-language pricing request into a test customer, usage and a draft invoice, then explains why that acceleration still needs human judgment.

From a talk by Andrew Garvin

At a glance

Ideas worth remembering

  • A short billing prompt depends on substantial supporting context: portable skills files guide API use, and clear errors help agents recover from unsuccessful operations.

  • Billing tests need consumption as well as configuration. The demonstration sends usage through a test customer, draws down credit and exposes the result in a draft invoice.

  • Agent-assisted setup should reach a sandbox that humans can test and refine. The demonstrated configuration is not evidence of production readiness or deployment.

  • Agent products create metered costs, agent buyers need discoverable services, and agent users can concentrate substantial work in one account. These are distinct reasons to rethink pricing and integration.

  • Credits carry business rules. Scoped usage, recharge, overage and enterprise commitments require more than a counter of API calls.

Provisioning a business through the CLI

Andrew Garvin, a co-founder of Metronome, introduces a joint project with Stripe following Stripe’s acquisition of the usage-billing company. The demonstration combines Stripe Projects with a Metronome billing agent: one system orchestrates setup, while the other configures the billing environment.

Stripe Projects provisions a Stripe account and the backend services an application needs through the CLI. That makes infrastructure setup accessible to coding agents as part of building an application. Garvin reports that Stripe CLI use increased exponentially over the preceding five or six months, an observation that motivates treating agents as consequential users of developer tools.

Billing makes this convenience a difficult engineering problem. Garvin describes Metronome as a deep, complicated product that customers increasingly expect to operate through coding agents. The developer-experience challenge is to help those agents configure it correctly, rather than merely make its API callable.

0:120:15
Suggest correction

This note stays in this page until you copy or download it. Nothing is submitted; reloading clears the draft.

0:01 · section reference included

Billing reaches beyond counting API calls

Garvin starts with metering: he says Metronome has processed API-call usage for OpenAI and Anthropic since before those companies had revenue. But measured consumption is only one part of a bill. A usage-based business can also have credits, commitments, sales-led discounts and offers. The system must account for those commercial arrangements as well as the underlying activity.

Agents increase the consequence of mistakes because they can keep spending. Garvin describes work toward controls that Metronome’s customers could expose to their own customers, including an agent wallet from which the agent is allowed to spend. The wallet would provide a place to constrain spending. He presents this as a direction for controls, without specifying enforcement rules or demonstrating a spending limit.

2:412:44
Suggest correction

This note stays in this page until you copy or download it. Nothing is submitted; reloading clears the draft.

2:31 · section reference included

Requesting a familiar pricing model

The live demonstration begins by initializing Stripe Projects and selecting Claude. Setup initially stalls: another participant points out that the project has not initialized, helps resolve the problem, and Garvin proceeds once the project is ready. Even this short provisioning path requires an intervention before the billing request can begin.

Garvin then asks in natural language for a demo billing engine in Metronome that mimics Lovable’s pricing model. He chooses this example because companies often want to adopt an existing business model to get started quickly. The feature he highlights at this point is prepaid credit with auto recharge, which he describes as common in self-service businesses. The request supplies a commercial reference for the agent to implement, rather than a detailed sequence of API operations.

3:443:46
Suggest correction

This note stays in this page until you copy or download it. Nothing is submitted; reloading clears the draft.

3:38 · section reference included

Give the agent context, feedback and a sandbox

While the agent works, Garvin explains the guidance behind the short prompt. Metronome has invested in an extensible set of portable skills files that supply context for implementing the product and using its API. These files are meant to reduce setup friction and guide the agent around mistakes in a complicated system. They can also be installed for use outside this demonstration.

Errors provide a second form of guidance. When an error appears during the run, Garvin argues for more verbose, clearer messages so that an agent can correct itself. Skills files provide context before an operation; useful errors give feedback after an unsuccessful attempt. His team is looking for additional failure cases, particularly during initialization and setup. No particular error message or recovery sequence is explained in detail.

The intended destination is a test environment. Garvin explicitly rejects operating the entire billing system without a human in the loop because it is business-critical and contains deep business logic. The coding agent should accelerate the work required to reach a sandbox where people can evaluate the result. This demonstration does not push the configuration into production.

A useful billing sandbox must contain activity. Seeing a provisioned customer or a contract does not show how the configuration behaves when usage arrives. The skills files therefore direct the agent to send usage into Metronome, making the test customer resemble an active customer. This turns setup into something a person can inspect through its billing behavior.

6:136:15
Suggest correction

This note stays in this page until you copy or download it. Nothing is submitted; reloading clears the draft.

6:02 · section reference included

Separate the agent product from the agent buyer

Garvin broadens the provisioning example: the Stripe CLI is engaging with Metronome as a service provider, and the same approach could request other applications through natural language. The immediate benefit is less work to establish a test application or environment. He connects this to Stripe’s work on agentic commerce and reports growing business formation and use of Stripe and Metronome through coding agents.

Building for agents can mean several different things. First, the agent can be the product a company sells. Its operation can accumulate a token bill, which gives the company a reason to meter consumption and use a usage-based pricing model. Here the billing problem follows from the cost of delivering the agent’s work.

Second, an agent can be the buyer. In the Stripe Projects example, it procures the initial Stripe instance and additional backend services. This role makes discoverability important: a service must be findable by an agent building an application or working on the web. Garvin distinguishes the consumer-commerce context from Metronome’s business-to-business context, while treating both as cases of agents acquiring services.

8:198:23
Suggest correction

This note stays in this page until you copy or download it. Nothing is submitted; reloading clears the draft.

8:19 · section reference included

When the user is an agent, seats lose their meaning

The third role is the agent as a user of existing software. Garvin describes HubSpot as moving toward a credit-based business model, starting in EMEA with lower seat prices and added credits. His explanation is that an agent may operate the entire system: access for an individual seat then becomes a weaker measure of the work performed through the product.

He connects this to headlessness: software can remain useful while an agent operates it instead of people working through its interface. At a demo day the previous week, he says, all five presenting companies showed agents intended to operate platforms such as SAP or invoicing systems. His pricing concern is that substantial value could flow through one user—the agent. Usage-based pricing offers a way to charge for activity when the number of users no longer reflects how much work the platform supports.

Credit pricing also expands beyond a self-service auto-recharge offer. Garvin points to enterprise coding-agent businesses, including Cognition, Cursor, OpenAI and Anthropic, adopting commitment structures resembling those used by cloud service providers. He names prepaid commitments, postpaid commitments and offers tailored to particular customers. A billing implementation therefore needs to represent the commercial agreement as well as the consumption it measures; a single generic credit model may not express every enterprise offer.

10:3610:38
Suggest correction

This note stays in this page until you copy or download it. Nothing is submitted; reloading clears the draft.

10:36 · section reference included

Inspecting the customer, credits and draft invoice

After opening Metronome and working through login, Garvin skips the usual human onboarding wizard because the agent has already configured the environment. He opens the test customer, whose displayed lifetime spend was populated for the demonstration, and then a draft invoice. These are the concrete results of the setup: an inspectable customer and billing output, rather than only an agent’s completion message.

Garvin describes the replicated model as credit-only pricing with monthly auto recharge, multiple credit types scoped to different kinds of usage, and an invoice at the end of the period if the customer overspends. Scope matters because a credit belongs to a particular category of consumption. The billing configuration must distinguish which usage can draw against which credit, then account for spending beyond the available credits.

Metronome represents a credit as a first-class object. In the test period Garvin inspects, a credit was created and usage drew down its entire balance. He returns to the customer view to show the inserted usage, explaining that production would receive actual customer activity. The purpose of this populated example is to reveal what adopting the pricing model would look like once consumption begins.

The draft invoice exposes separate components for build credits, plan mode credits, cloud credits and AI gateway credits. Garvin emphasizes that his request was simply to replicate Lovable’s pricing in natural language. The result demonstrates the creation of these billing components and test activity; he does not walk through exact rates, recharge thresholds or exhaustive validation of the model.

12:4412:46
Suggest correction

This note stays in this page until you copy or download it. Nothing is submitted; reloading clears the draft.

12:44 · section reference included

Use the working example as the beginning of testing

Garvin closes by tracing the completed sequence: create a Stripe instance, create a Metronome instance through Stripe Projects, and guide the agent to configure a demo around an existing pricing model. The next step is to test and adjust that configuration before bringing it into production. His reference to a model already used in production describes the model being copied; it does not establish deployment of the demonstration environment.

He argues that the same development approach has uses beyond billing. Teams should distinguish agents as buyers, products and users, because each role has different implications, and provide guidance that helps agents operate effectively in difficult environments. The aim is to make complicated business systems easier to get started with while preserving the opportunity to examine and refine their behavior.

The final invitation is to try Stripe Projects and explore its providers. Garvin names Vercel and Hugging Face as examples of companies working in that environment to make their products discoverable to agents operating through Stripe. This extends the demonstration’s significance: agent-accessible provisioning becomes a way for service providers to reach the software that selects and assembles an application’s dependencies.

15:5115:53
Suggest correction

This note stays in this page until you copy or download it. Nothing is submitted; reloading clears the draft.

15:51 · section reference included

Read the complete timestamped transcript
  1. 0:01

    [music]

  2. 0:12

    Hi everyone. My name is Andrew Garvin.

  3. 0:15

    I'm one of the co-founders of Metronome.

  4. 0:17

    Metronome, if you're not familiar, is

  5. 0:19

    the top platform for usage billing,

  6. 0:21

    which as you might imagine is taking off

  7. 0:22

    right now. Um, so much so that earlier

  8. 0:24

    this year we were acquired by Stripe in

  9. 0:26

    the largest deal that Stripe has ever

  10. 0:28

    done. Um, and what I'm going to show you

  11. 0:30

    today is a fun project that we've been

  12. 0:31

    cooking on with the Stripe team. Um,

  13. 0:34

    that is a demonstration of some of the

  14. 0:35

    things that we could work on together.

  15. 0:38

    Um, this is going to combine two very

  16. 0:40

    different uh products within Stripe. Um,

  17. 0:44

    if you haven't seen it already, I

  18. 0:45

    recommend looking at Stripe Projects.

  19. 0:46

    Just open up open that up on your phone

  20. 0:49

    while I'm going through this. Um, this

  21. 0:51

    is something that actually was launched

  22. 0:52

    literally the week that Metronome was

  23. 0:53

    acquired. And so, as you might imagine,

  24. 0:55

    the velocity of development at Stripe

  25. 0:57

    and at Metronome is pretty high.

  26. 0:59

    Basically, what Stripe Projects is is

  27. 1:00

    it's an orchestrator to allow you to

  28. 1:03

    operate and build your business as fast

  29. 1:05

    as possible. Um, and so in essence, what

  30. 1:08

    it does is it provisions a Stripe

  31. 1:09

    account for you as well as backend

  32. 1:12

    services that you may need, think like

  33. 1:13

    Versel, Postgress, and in this case, a

  34. 1:16

    metronome billing agent in order to

  35. 1:18

    launch a product quickly or an

  36. 1:19

    application quickly all through the CLI.

  37. 1:22

    Um, so the demonstration that we're

  38. 1:23

    going to do today is a very simple

  39. 1:25

    demonstration of how to get set up

  40. 1:27

    through Stripe projects, but you can

  41. 1:28

    imagine all the sorts of things that

  42. 1:29

    people are building on Stripe today. Um,

  43. 1:32

    one of the really cool aspects of being

  44. 1:33

    inside Stripe is their scale and data.

  45. 1:36

    Um, and one of the things that we've

  46. 1:38

    observed inside of Stripe is that the

  47. 1:40

    use of Stripe's CLI has exponentially

  48. 1:43

    increased over the course of the past

  49. 1:44

    five six months. We're thinking about

  50. 1:46

    all of the implications of the coding

  51. 1:48

    agents operating systems which we'll get

  52. 1:50

    into uh a greater topic on later in this

  53. 1:53

    demonstration. Um so the beginning part

  54. 1:56

    was sort of the thesis for this is how

  55. 1:58

    to avoid dis disaster when vibe coding a

  56. 2:00

    billing engine. Uh as you might imagine

  57. 2:02

    being in the billing space for multiple

  58. 2:03

    years now we've seen all sorts of crazy

  59. 2:05

    things happen and it's even getting

  60. 2:06

    crazier now that people are expecting to

  61. 2:09

    operate metronome a very complicated and

  62. 2:11

    deep product with a coding agent. Um,

  63. 2:14

    and so as a result, we are working from

  64. 2:16

    a developer experience standpoint to

  65. 2:18

    make this a more seamless experience for

  66. 2:20

    people and to have them avoid disaster.

  67. 2:23

    Um, and so we're going to see in a

  68. 2:26

    second what that de a demonstration of

  69. 2:27

    what that might look like and how we're

  70. 2:29

    guiding things. Um, but just to frame it

  71. 2:31

    the what's happening today in with

  72. 2:33

    launching agent products can go crazy

  73. 2:36

    and it can go sideways in all sorts of

  74. 2:37

    ways. So as just a couple of the types

  75. 2:39

    of problems that metronome helps solve

  76. 2:41

    for folks. Uh first we are for example

  77. 2:44

    and have for many years now taken in all

  78. 2:46

    of the API calls to OpenAI and Enthropic

  79. 2:49

    and metered that for those companies.

  80. 2:50

    We've worked with those companies since

  81. 2:52

    before they had any revenue. Uh and so

  82. 2:54

    obviously we've operated at global scale

  83. 2:55

    operating a metering service with a

  84. 2:57

    number of different data impacts. In

  85. 2:59

    addition to that we also operate credit

  86. 3:01

    models. Obviously today with usage based

  87. 3:03

    pricing it's not just about having a pay

  88. 3:05

    go uh metered business model but also

  89. 3:07

    all sorts of different forms of credits

  90. 3:09

    commits salesled uh discounts and

  91. 3:12

    offers. And then finally now in in the

  92. 3:14

    last 6 months especially the impact of

  93. 3:17

    failures here is growing in importance

  94. 3:21

    in particular because agents can run

  95. 3:22

    away with spend and so we're thinking

  96. 3:24

    about how to give more controls to our

  97. 3:27

    customers that they can offer to theirs.

  98. 3:29

    So think like for example having agents

  99. 3:32

    have a wallet um that they only they can

  100. 3:34

    spend from and having controls at that

  101. 3:36

    level. Okay. So that's what we're going

  102. 3:38

    to go into today. Let's actually get

  103. 3:40

    into doing this demonstration. You're

  104. 3:42

    going to see how simple it is. Um so I'm

  105. 3:44

    going to initialize Stripe projects

  106. 3:46

    right now.

  107. 3:51

    [sighs]

  108. 3:52

    Oops.

  109. 3:54

    And this is in fact a live demo. So you

  110. 3:56

    should expect all sorts of different

  111. 3:57

    things to happen here. So what this is

  112. 4:00

    doing is again initializing stripe

  113. 4:02

    projects. Um we are going to I think

  114. 4:04

    this should work.

  115. 4:07

    Um so we've selected that we're going to

  116. 4:09

    use claude here and we have a very

  117. 4:11

    simple thing. What I I go around the

  118. 4:13

    world basically talking with companies

  119. 4:14

    about their business model.

  120. 4:15

    >> It's not initialized.

  121. 4:17

    >> Aha. I see.

  122. 4:21

    All right. Come on up.

  123. 4:25

    Cool.

  124. 4:35

    [snorts]

  125. 4:37

    I got it.

  126. 4:38

    >> All right. Thanks.

  127. 4:44

    [snorts]

  128. 4:46

    >> All right. Sweet. Um, yes. Let's

  129. 4:49

    proceed.

  130. 4:52

    Cool.

  131. 4:56

    All right. So, our product, our project

  132. 4:58

    is in fact ready now.

  133. 5:01

    And so, I go around the world talking

  134. 5:03

    with companies about how to set up their

  135. 5:04

    businesses. One of the things that's

  136. 5:05

    really top of mind right now is um

  137. 5:08

    replicating certain business models.

  138. 5:10

    People want to get off the ground

  139. 5:11

    without having to think about it too

  140. 5:12

    deeply. One of the key topics right now

  141. 5:14

    is replicating Lovable's pricing model.

  142. 5:17

    And so I'm going to enter a prompt in

  143. 5:21

    natural language that allows us to guide

  144. 5:23

    the metronome billing agent and Stripe

  145. 5:26

    to set up a demo account that has that

  146. 5:28

    um that has that element to it and

  147. 5:31

    create a demo billing engine

  148. 5:35

    uh in Metronome mimicking

  149. 5:40

    the lovable pricing model. Oops. Just

  150. 5:42

    make sure I don't misspell that.

  151. 5:45

    Um, and so if you want to on the side

  152. 5:47

    you can see you can open up Levable's

  153. 5:49

    pricing and you can see all the

  154. 5:50

    different elements to it. But in

  155. 5:51

    particular they have a prepaid credit

  156. 5:53

    auto recharge model which is very common

  157. 5:55

    in um in sort of a self-s served motion

  158. 5:58

    today. Um so let's get this going. Um so

  159. 6:02

    while this is going I want you to pay

  160. 6:03

    attention to a couple of things that

  161. 6:05

    will happen. Um and in particular if you

  162. 6:07

    look at the obviously the slide on the

  163. 6:09

    left there's a couple different points

  164. 6:10

    that I want to hit on. So first um again

  165. 6:13

    metronome is a very complicated and deep

  166. 6:15

    product and uh there's a lot of

  167. 6:17

    different ways to hit foot guns etc uh

  168. 6:20

    if you're not guided and so what we've

  169. 6:22

    invested in is building an extensible

  170. 6:23

    set of skills files that can provide

  171. 6:25

    context to the agent that's implementing

  172. 6:27

    metronome and working with our API. Um

  173. 6:30

    these skills files are also portable and

  174. 6:31

    easy to install so you can use them on

  175. 6:33

    your own side. Um and what it does is it

  176. 6:35

    allows us to essentially remove the

  177. 6:37

    friction associated with getting

  178. 6:39

    started. Um and so here uh that and

  179. 6:42

    that's very important because you want

  180. 6:44

    to be able to test and work with the

  181. 6:46

    product and evolve over time. You're

  182. 6:47

    seeing here in error code um from a

  183. 6:49

    developer experience standpoint. You

  184. 6:51

    know this is nothing new but our our

  185. 6:53

    perspective is to have much more verbose

  186. 6:56

    and clear errors so that the agent can

  187. 6:59

    self-correct. Um and uh and so again our

  188. 7:03

    developer experience teams are working

  189. 7:05

    on finding more failure cases like that

  190. 7:08

    um and being able to help guide

  191. 7:09

    especially in the initialization and

  192. 7:11

    setup. Um one thing that's that's

  193. 7:13

    important here I think keying off of the

  194. 7:16

    last talk that was in this room. Um the

  195. 7:19

    goal that we have from a product

  196. 7:20

    development standpoint is not to have a

  197. 7:22

    customer operate the entire system

  198. 7:25

    without a human in the loop. This is a

  199. 7:27

    type of system that is both business

  200. 7:29

    critical, has deep business logic behind

  201. 7:31

    it. And so instead, what we are

  202. 7:33

    recommending and building toward is to

  203. 7:35

    use the use your coding agent as a way

  204. 7:38

    to accelerate your work and get into a

  205. 7:41

    test mode and test environment. Um, and

  206. 7:43

    so again, what we're doing here, we're

  207. 7:45

    not expecting to ship into production.

  208. 7:46

    We're not pushing it into production. In

  209. 7:48

    fact, when we go into the metronome

  210. 7:49

    environment, you'll see that basically

  211. 7:51

    what we've done is built a sandbox

  212. 7:52

    experience. Um and in the metronome

  213. 7:55

    context there's what it means to sort of

  214. 7:57

    test your initial setup is not just that

  215. 7:58

    you can see uh a contract or something

  216. 8:01

    like that or see a customer provision

  217. 8:03

    but also you need to see usage and so in

  218. 8:06

    in on the back end here our skills files

  219. 8:08

    are directing um the agent to actually

  220. 8:11

    flow usage into the metronome platform

  221. 8:13

    so that you can see what a live uh in

  222. 8:16

    what a live customer would look like. Um

  223. 8:19

    I'm going to do one more beat on stripe

  224. 8:21

    projects here. I think in this case

  225. 8:23

    what's happening is that stripe projects

  226. 8:25

    so so using the stripe CLI it's it's

  227. 8:27

    engaging with metronome which is an

  228. 8:29

    external vendor here you could also

  229. 8:30

    imagine also provisioning a bunch of

  230. 8:32

    other applications uh and using natural

  231. 8:34

    language to call for those as well um

  232. 8:36

    and so what again what's nice about this

  233. 8:38

    is that it basically removes the

  234. 8:40

    friction associated with setting up a

  235. 8:42

    test application or a test environment

  236. 8:44

    um and we again have seen a ton of uh of

  237. 8:48

    usage of this form um and we expect to

  238. 8:51

    see even more. Um, this is sort of like

  239. 8:54

    from our perspective coming into Stripe,

  240. 8:56

    this is one of the things that's been

  241. 8:57

    really amazing is that Stripe is on the

  242. 8:59

    forefront of thinking about agentic

  243. 9:00

    commerce and preparing primitives for

  244. 9:03

    the moment that we're in right now where

  245. 9:04

    in fact this is exactly what's

  246. 9:06

    happening. Companies that are launching

  247. 9:08

    new um new applications and new

  248. 9:10

    businesses that we've seen an

  249. 9:11

    exponential increase in new business

  250. 9:13

    formation at Stripe. Um and then in

  251. 9:15

    addition to that an exponential increase

  252. 9:17

    in customers that are using Stripe and

  253. 9:20

    using Metronome through the coding

  254. 9:21

    agents themselves.

  255. 9:24

    Okay. Um

  256. 9:27

    we are almost done here I believe.

  257. 9:30

    Um, while this is going, I I like

  258. 9:33

    another sort of like thing to sit back

  259. 9:35

    and think about when I go around to

  260. 9:37

    product teams today. They're obviously

  261. 9:38

    thinking about building for agents, but

  262. 9:40

    I think one of the things that's

  263. 9:41

    important to do is to de decode what

  264. 9:43

    exactly does that mean? And so I what I

  265. 9:45

    like about this sort of framework for

  266. 9:48

    thinking about the coding agents today

  267. 9:50

    is thinking about the different roles

  268. 9:52

    that they play. So obviously companies

  269. 9:54

    are launching agents as a product and

  270. 9:56

    therefore that's one of the reasons why

  271. 9:58

    they need to have a usage based pricing

  272. 9:59

    model because if the agent can be the

  273. 10:01

    product and run up token a token bill

  274. 10:03

    it's important for you to be able to

  275. 10:05

    meter on that. Um what we're talking

  276. 10:07

    about here with the Stripe project CLI

  277. 10:09

    is the agent as a buyer. So literally

  278. 10:12

    procuring their initial Stripe instance

  279. 10:14

    as well as additional backend services.

  280. 10:17

    That's important to basically make your

  281. 10:19

    services discoverable to agents that may

  282. 10:21

    be building an application or working in

  283. 10:24

    the open web. Um, on the Stripe side,

  284. 10:26

    that means both in a B2C environment, so

  285. 10:28

    they're working on a gentommerce, but

  286. 10:29

    then in the metronome environment, we're

  287. 10:30

    talking about in a B2B context. Um, and

  288. 10:33

    uh, and so there's sort of like multiple

  289. 10:34

    different levels to play out there. And

  290. 10:36

    then finally, one of the reasons why

  291. 10:38

    Metronome is really taking off right now

  292. 10:39

    is because of the agents as a user. Um,

  293. 10:42

    and so for example, we've been working

  294. 10:44

    with HubSpot for the past couple of

  295. 10:45

    years. They are currently on a path to

  296. 10:47

    transform their entire business from a

  297. 10:49

    seatbased model to a creditspbased

  298. 10:50

    model. Um, if you've seen some things in

  299. 10:52

    the news, that's starting in in EMIA

  300. 10:55

    where they have dramatically lowered

  301. 10:56

    their seats based price and added on a

  302. 10:58

    creditspbased model. The fundamental

  303. 11:00

    reason behind that is because what they

  304. 11:01

    need to be concerned about is a world in

  305. 11:04

    which an agent can operate their entire

  306. 11:05

    system. Um, and in that world

  307. 11:08

    essentially paying for a seat level

  308. 11:10

    access to the product to perform your

  309. 11:11

    work is no longer important in some

  310. 11:13

    sense. Um, we've been talking about this

  311. 11:16

    in uh as sort of headlessness. You know,

  312. 11:18

    Salesforce, various others have have

  313. 11:20

    talked about this. This is what

  314. 11:21

    Metronome is literally seeing today. Um,

  315. 11:23

    and so as like one example, last week I

  316. 11:25

    was at a uh I was at Andre's demo day

  317. 11:29

    where all five of the demoing companies

  318. 11:31

    were salesled agents meant to operate

  319. 11:34

    platforms like SAP or operate um operate

  320. 11:38

    invoicing platforms, etc., etc. Um, and

  321. 11:41

    again in that world, it's important for

  322. 11:43

    you to have a usagebased pricing model

  323. 11:45

    because you have the possibility of

  324. 11:46

    essentially all of the value acrewing to

  325. 11:48

    essentially one user of your platform,

  326. 11:51

    which in this case would be an agent.

  327. 11:54

    If you guys are thinking about pricing

  328. 11:56

    models, so not just developing in the

  329. 11:58

    agentic space, I'm a good person to talk

  330. 11:59

    to. I'll be out here in a second. Some

  331. 12:01

    of the things that we're um thinking

  332. 12:03

    about here are basically um not only

  333. 12:06

    having a creditsbased model which has

  334. 12:08

    been uh dominant on the market since

  335. 12:10

    openai launched their prepaid credit

  336. 12:12

    auto recharge model a couple of years

  337. 12:13

    ago through metronome but in addition to

  338. 12:16

    that offering more and like more and

  339. 12:18

    extended offers including in a salesled

  340. 12:20

    in an enterprise environment um and so

  341. 12:22

    for example what's happening with all

  342. 12:24

    the coding agency in the enterprise

  343. 12:25

    think like cognition or cursor or openAI

  344. 12:28

    anthropic themselves is that they are

  345. 12:30

    starting to adopt more um uh commit

  346. 12:34

    structures like the CSPs have done for

  347. 12:36

    the past 10 years. Think having prepaid

  348. 12:38

    commitments, postpaid commitments, and

  349. 12:40

    specific types of offers for specific

  350. 12:42

    types of customers.

  351. 12:44

    Okay, I think that we should be good to

  352. 12:46

    go now. And let's see what it looks like

  353. 12:48

    when we open up Metronome.

  354. 13:01

    Okay.

  355. 13:11

    What's up?

  356. 13:15

    Uhhuh.

  357. 13:17

    We've done multiple different versions

  358. 13:18

    of this, as you might imagine.

  359. 13:28

    Okay. So, as we open this up, uh,

  360. 13:33

    pull this.

  361. 13:45

    It's fun. I love all these demos where

  362. 13:46

    you're just looking at people logging

  363. 13:47

    in. Um, so as we open this up, so the

  364. 13:50

    general pain that Metronome has is an

  365. 13:51

    onboarding wizard meant for a human that

  366. 13:53

    needs to set up their environment. We've

  367. 13:56

    we don't need this now because we had an

  368. 13:58

    agent set up this environment. And as I

  369. 14:00

    come in, you're going to see some of the

  370. 14:01

    core metronome primitives here. Let's

  371. 14:03

    start by looking at the customer that

  372. 14:04

    was set up. Again, this is for testing

  373. 14:06

    purposes. Um, up at the top, you're

  374. 14:08

    seeing the customer with a certain

  375. 14:10

    lifetime spend. This was auto again

  376. 14:12

    populated by um by the agent for the

  377. 14:15

    demo environment. Um I'm immediately

  378. 14:17

    going to go into their invoice and we'll

  379. 14:20

    come back to this in a second. Um and so

  380. 14:22

    what you what you see here is a draft

  381. 14:24

    invoice that was created associated with

  382. 14:27

    um sort of replicating the lovable

  383. 14:29

    pricing model again. Um so if you have

  384. 14:31

    this on the side you can see all the

  385. 14:32

    different elements of that. But the core

  386. 14:33

    aspect of lovable's pricing model is a

  387. 14:35

    creditonly pricing model where you

  388. 14:37

    autorecharge on a monthly basis. Um and

  389. 14:40

    then in add in addition to that they

  390. 14:41

    have multiple different types of credits

  391. 14:43

    that are scoped to different types of

  392. 14:44

    usage beyond the the use of those

  393. 14:47

    credits. Then if you go over and if you

  394. 14:49

    overspend then you have an invoice at

  395. 14:51

    the end of the period. Um so a couple of

  396. 14:53

    the different like concepts there that

  397. 14:55

    are relatively complicated to administer

  398. 14:57

    is the credit itself. And so Metronome

  399. 14:59

    has a first class uh credit object here.

  400. 15:01

    What you're seeing is that there was a

  401. 15:02

    credit credit created for the initial

  402. 15:04

    period that we're testing for. we had

  403. 15:06

    usage that that draw that drew down from

  404. 15:08

    that entire credit balance. And then

  405. 15:10

    finally, if we go back to the customer

  406. 15:12

    pane,

  407. 15:14

    um in addition to that, you can see the

  408. 15:16

    usage that we that we plopped in. All

  409. 15:18

    obviously in a production environment,

  410. 15:19

    you would be seeing this in against real

  411. 15:22

    usage that you have. The core reason

  412. 15:24

    again to show it in this manner is to

  413. 15:26

    just see what it would look like if you

  414. 15:29

    adopted the pricing model and then had

  415. 15:30

    real usage against it. Again, I'm going

  416. 15:32

    to come back to the invoice. And so here

  417. 15:34

    you can click into each of these

  418. 15:35

    different components. Um, build credits,

  419. 15:37

    plan mode credits, cloud credits, AI

  420. 15:38

    gateway credits. This is exactly what

  421. 15:40

    the lovable pricing model looks like.

  422. 15:41

    And again, the way that we coached the

  423. 15:43

    agent to be able to do to to build this

  424. 15:46

    was just describing a natural language

  425. 15:47

    to replicate lovable pricing model. It

  426. 15:49

    was nothing more difficult than that.

  427. 15:51

    Um, so without going into Metronome's

  428. 15:53

    platform to too great an extent, um, the

  429. 15:56

    what we just did here was we initialized

  430. 16:00

    uh and created a stripe instance. We

  431. 16:02

    then in through Stripe projects uh we

  432. 16:05

    also created a metronome instance. Then

  433. 16:08

    we coached the agent to be able to uh

  434. 16:11

    build a demo instance of metronome that

  435. 16:14

    had a real pricing model live in

  436. 16:16

    production. And so you could imagine

  437. 16:17

    basically testing then from there the

  438. 16:20

    exact testing and tweaking from there

  439. 16:21

    exactly what you wanted before bringing

  440. 16:23

    that into production. Um this sort of

  441. 16:25

    framework for thinking about development

  442. 16:27

    both applies to Stripe where we are

  443. 16:30

    working very very hard to make it easier

  444. 16:32

    to uh run a complicated business model

  445. 16:35

    and get off the ground but also I think

  446. 16:36

    it bears lessons for how we might pursue

  447. 16:39

    agentic development more generally

  448. 16:40

    outside of Stripe. So again, think about

  449. 16:42

    some of the primitives that we talked

  450. 16:44

    about here today. Agent as a buyer,

  451. 16:46

    agent as your product, agent as your

  452. 16:47

    user and disambiguating what the

  453. 16:49

    different the different um modes and uh

  454. 16:52

    and like implications of those are. And

  455. 16:54

    then in addition to that um having

  456. 16:56

    having ways in which we coach the agent

  457. 16:58

    to operate more effectively in including

  458. 17:01

    in a in a in a difficult environment.

  459. 17:03

    You can try this for yourself now. So uh

  460. 17:05

    the easiest way to get started is with

  461. 17:07

    the commands that are that are listed

  462. 17:09

    here and you can see everything that is

  463. 17:11

    available through Stripe Projects

  464. 17:12

    through Stripe Projects online. Um as

  465. 17:14

    there are a number of different

  466. 17:16

    providers that are onboarding every day.

  467. 17:18

    Um so companies like Versell um like

  468. 17:21

    hugging face etc are basically like

  469. 17:24

    working in Stripe projects environment

  470. 17:26

    to be able to make their own products

  471. 17:28

    more discoverable to agents that are

  472. 17:30

    operating Stripe system.

  473. 17:46

    >> [music]