AI Engineer World's Fair 2026

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

Read the talk

How to avoid disaster when vibe-coding a billing engine

Andrew Garvin demonstrates how Stripe Projects and Metronome turn a request to copy Lovable’s pricing into a billing sandbox—and why useful automation must include domain guidance, simulated usage, and human judgment before production.

From a talk by Andrew Garvin

At a glance

Ideas worth remembering

  • Billing combines metering with commercial rules for credits, commitments, discounts, and offers. Agent-driven spending makes controls increasingly consequential.

  • Portable skills provide API expertise before an agent acts; clear, verbose errors provide feedback when an attempt fails.

  • A billing sandbox needs usage as well as configuration. The demonstration follows test usage into credit drawdown and an inspectable draft invoice, while retaining human involvement before production.

  • Separate agents as products, buyers, and users. An agent consuming software through one identity can weaken the connection between seat count and the work a platform performs.

A billing engine has more to do than count API calls

A coding agent can operate a billing API while misunderstanding the business model behind it. That is the problem Andrew Garvin, Metronome co-founder, brings to this demonstration with Stripe: getting a complicated billing system running quickly without turning setup mistakes into financial mistakes. The two products have different jobs. Stripe Projects provisions a Stripe account and supporting services through the CLI; Metronome supplies the usage-billing system the agent will configure.

Usage billing combines several kinds of work, each with its own consequences:

  • Metering: API activity must enter the billing system as usage. Garvin describes Metronome’s experience metering calls for OpenAI and Anthropic, including work with both companies before they had revenue.
  • Commercial rules: The same usage can interact with pay-as-you-go charges, credits, commitments, discounts, and sales-led offers. Counting activity supplies an input; the pricing arrangement determines what the customer owes.
  • Spend controls: An agent can keep working and keep spending. Garvin proposes agent-specific wallets as one way to give customers controls over funds an individual agent can spend. This is a direction under consideration, rather than a wallet mechanism demonstrated here.

The risk grows when customers expect a coding agent to operate a deep product without learning its details. Metronome’s response is to improve the developer experience around that agent: supply guidance for the API, make failures easier to correct, and produce an environment in which the financial behavior can be inspected before real customers depend on it.

0:120:42
Suggest correction

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

0:12 · section reference included

Provision the environment, then describe the pricing model

The live demonstration begins with Stripe Projects initialization and selection of Claude. Initialization does not immediately succeed; there is a short intervention before the project becomes ready. This distinction matters to the workflow: the natural-language billing request comes after the environment is initialized, rather than replacing that prerequisite.

The request is deliberately small: create a demo billing engine in Metronome that mimics Lovable’s pricing model. Garvin encounters this desire repeatedly in conversations with companies: use an existing business model to get started without first designing every pricing detail. Here, the recognizable starting point is prepaid credits with auto-recharge, a model suited to customers signing up and buying service themselves.

That short prompt sets a target for a much larger configuration task. The agent must translate the pricing idea into Metronome objects and create a demo account around them. The eventual result will need to show how usage changes a customer’s credits and invoice, rather than merely prove that an account exists.

3:433:52
Suggest correction

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

3:43 · section reference included

Skills guide setup; clear errors help the agent recover

Metronome’s portable, extensible skills files carry context for agents implementing the product and calling its API. Their purpose is practical: help an agent avoid setup mistakes and get a customer into a test environment with less friction. The one-sentence prompt works within that supplied expertise; it does not explain all of Metronome’s billing concepts by itself. 6:05

An error appears while the agent works. Garvin uses it to explain a second mechanism: deliberately verbose, clear errors give an agent information it can use to correct its actions. Skills provide guidance before a call; errors provide feedback after a call fails. The developer-experience team is looking for additional failure cases, especially during initialization and setup, where better feedback can guide recovery.

How do guidance and feedback fit together? The diagram separates the context that shapes an API attempt from the error information that can shape its correction. Making both available reduces the amount the agent must infer, although it does not transfer responsibility for the business rules to the agent.

The stopping point is explicit: this demonstration creates a sandbox and does not push it into production. Billing is business-critical and carries deep business logic, so Garvin recommends using coding agents to accelerate work into test mode while keeping a human involved. The tradeoff is deliberate. Faster setup is useful; unattended operation of the entire billing system is outside the intended workflow. 7:35

A useful billing sandbox also needs activity. The skills direct the agent to flow usage into Metronome so the resulting customer looks like one actually using a product. A provisioned customer or contract alone leaves the central behavior unexercised: what happens to charges and balances when usage arrives? Stripe Projects supplies the surrounding orchestration, using the CLI to engage Metronome and potentially other backend services through natural-language requests.

How it fits togetherGuidance before a call, feedback after a failure

Portable files provide implementation and API context.

Skills supply API context. Clear error messages give the agent information for a corrective attempt; human involvement remains part of the billing workflow.

Suggest correction

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

6:05 · section reference included

Product, buyer, and user create different pricing problems

While configuration continues, the discussion turns to what “building for agents” actually means. Three roles create different requirements:

  • Agent as product: A company sells an agent whose operation can run up a token bill. Metering helps the company account for that consumption in its pricing model.
  • Agent as buyer: The Stripe Projects workflow has an agent procure an initial Stripe instance and additional backend services. Providers need their services to be discoverable and usable by an agent assembling an application. This includes business-to-business procurement as well as consumer-facing agentic commerce.
  • Agent as user: An agent operates an existing software platform. This changes the relationship between the number of users accessing the platform and the amount of work the platform performs.

The third role puts pressure on seat pricing. If one agent operates an entire system, substantial value can pass through a single user identity. Charging for that identity may then capture little of the work being done. Garvin calls this “headlessness”: software remains useful even as an agent performs work that previously required people interacting with it directly.

HubSpot supplies the concrete commercial example. Garvin describes its move toward credits, beginning in EMEA with lower seat prices and an added credits model, as preparation for agents operating the system. This is his account of an ongoing transition, rather than a demonstrated result for every HubSpot customer. He also recalls an Andreessen demo day where all five presenting companies built sales-led agents to operate systems such as SAP and invoicing platforms—the kind of usage that can concentrate many workflows behind one platform user. 10:34

Credits do not settle every commercial question. The discussion moves from self-service prepaid credits and auto-recharge to enterprise offers: prepaid commitments, postpaid commitments, and arrangements for particular customers. Garvin describes coding-agent companies adopting commitment structures familiar from cloud service providers. That brings the billing problem back to its opening complexity: usage is one input to a negotiated commercial arrangement, and the engine must administer the arrangement as well as the usage.

Suggest correction

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

9:34 · section reference included

Follow the demo customer from usage to a draft invoice

Opening Metronome takes a little stage time: “I love all these demos where you’re just looking at people logging in.” Once inside, the human onboarding wizard is unnecessary because the agent has already configured the environment. The customer view contains a demo customer with populated lifetime spend. These values belong to the test environment, not to a real customer’s purchases.

The first inspection is the customer’s draft invoice. The pricing model reproduced here combines monthly auto-recharge with credits scoped to different kinds of usage. In Garvin’s explanation of this model, spending beyond those credits produces an invoice at the end of the period. That requires the engine to keep track of which credits can pay for which activity, as well as what remains chargeable after credits are used.

Follow the same customer through the visible change. The agent created a credit for the initial test period, then supplied usage that drew down the entire credit balance. Returning to the customer view reveals that inserted usage; returning to the draft invoice reveals the billing components associated with the model. Metronome makes the credit a first-class object, so the credit and its consumption can be inspected rather than being hidden inside an undifferentiated invoice total. 14:45

What relationship should a reviewer trace between usage, credits, and the invoice? The diagram follows the demonstrated drawdown and separates it from the stated rule for spending beyond credits. The observable result is a consumed test balance and an inspectable draft invoice; the recording does not establish the exact rates, recharge thresholds, or credit-expiration behavior needed to validate a complete production reproduction.

The invoice exposes four distinct components:

  • Build credits: The credit component for build usage.
  • Plan mode credits: A separate component for plan mode usage.
  • Cloud credits: A component for cloud usage.
  • AI gateway credits: A component for AI gateway usage.

Their separation is the useful detail. A reviewer can inspect the model’s different usage scopes instead of treating every credit as interchangeable. The original natural-language request named the model; the resulting sandbox makes its component structure available for examination.

How it fits togetherUsage consumes credits; spending beyond credits reaches the invoice

Activity inserted into the demo customer’s environment.

The demo shows usage drawing down the initial test-period credit balance. Garvin separately describes end-of-period invoicing for spending beyond credits.

Suggest correction

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

13:01 · section reference included

Use the working sandbox to make the next decision

The completed sequence is concrete: initialize a Stripe instance, create a Metronome instance through Stripe Projects, and ask the agent to configure a demo around an existing pricing model. From there, the work becomes testing and tweaking the model before bringing it into production. The agent has accelerated the path to something a human can examine: a customer, usage, credits, and a draft invoice with separate components.

The ending extends this pattern beyond billing. First determine whether an agent is the product, the buyer, or the user, because those roles create different pricing and integration requirements. Then give the agent enough procedural guidance to work effectively in a difficult environment. The combination matters: understanding the commercial role tells you what to build, while skills and useful feedback help the agent build a testable version.

Stripe Projects also becomes a place where providers can make their products discoverable to agents operating through Stripe’s system. Garvin closes with Vercel and Hugging Face as examples of providers working in that environment. Procurement, setup, and product-specific guidance meet in the same development workflow. For billing, its useful destination is a populated sandbox from which a person can decide what should happen when real usage and real money arrive.

13:4514:15
Suggest correction

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

15:45 · section reference included

Resources

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]