← Back
AI Engineer August 28, 2026 17m

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

Read full transcript 14 segments
  1. Hi everyone. My name is Andrew Garvin. Hi everyone. My name is Andrew Garvin. I'm one of the co-founders of Metronome. I'm one of the co-founders of Metronome. I'm one of the co-founders of Metronome. Metronome, if you're not familiar, is Metronome, if you're not familiar, is Metronome, if you're not familiar, is the top platform for usage billing, the top platform for usage billing, the top platform for usage billing, which as you might imagine is taking off which as you might imagine is taking off which as you might imagine is taking off right now. Um, so much so that earlier right now. Um, so much so that earlier right now. Um, so much so that earlier this year we were acquired by Stripe in this year we were acquired by Stripe in this year we were acquired by Stripe in the largest deal that Stripe has ever the largest deal that Stripe has ever the largest deal that Stripe has ever done. Um, and what I'm going to show you done. Um, and what I'm going to show you done. Um, and what I'm going to show you today is a fun project that we've been today is a fun project that we've been today is a fun project that we've been cooking on with the Stripe team. Um, cooking on with the Stripe team. Um, cooking on with the Stripe team. Um, that is a demonstration of some of the that is a demonstration of some of the that is a demonstration of some of the things that we could work on together. things that we could work on together. things that we could work on together. Um, this is going to combine two very Um, this is going to combine two very Um, this is going to combine two very different uh products within Stripe. Um, different uh products within Stripe. Um, different uh products within Stripe. Um, if you haven't seen it already, I if you haven't seen it already, I if you haven't seen it already, I recommend looking at Stripe Projects. recommend looking at Stripe Projects. recommend looking at Stripe Projects. Just open up open that up on your phone Just open up open that up on your phone Just open up open that up on your phone while I'm going through this. Um, this while I'm going through this. Um, this while I'm going through this. Um, this is something that actually was launched is something that actually was launched is something that actually was launched literally the week that Metronome was literally the week that Metronome was literally the week that Metronome was acquired. And so, as you might imagine, acquired. And so, as you might imagine, acquired. And so, as you might imagine, the velocity of development at Stripe the velocity of development at Stripe the velocity of development at Stripe and at Metronome is pretty high. and at Metronome is pretty high. and at Metronome is pretty high. Basically, what Stripe Projects is is Basically, what Stripe Projects is is Basically, what Stripe Projects is is it's an orchestrator to allow you to it's an orchestrator to allow you to it's an orchestrator to allow you to operate and build your business as fast operate and build your business as fast operate and build your business as fast as possible. Um, and so in essence, what as possible. Um, and so in essence, what as possible. Um, and so in essence, what it does is it provisions a Stripe it does is it provisions a Stripe it does is it provisions a Stripe account for you as well as backend account for you as well as backend account for you as well as backend services that you may need, think like services that you may need, think like services that you may need, think like Versel, Postgress, and in this case, a Versel, Postgress, and in this case, a Versel, Postgress, and in this case, a metronome billing agent in order to metronome billing agent in order to metronome billing agent in order to launch a product quickly or an launch a product quickly or an launch a product quickly or an application quickly all through the CLI.

  2. application quickly all through the CLI. application quickly all through the CLI. Um, so the demonstration that we're Um, so the demonstration that we're Um, so the demonstration that we're going to do today is a very simple going to do today is a very simple going to do today is a very simple demonstration of how to get set up demonstration of how to get set up demonstration of how to get set up through Stripe projects, but you can through Stripe projects, but you can through Stripe projects, but you can imagine all the sorts of things that imagine all the sorts of things that imagine all the sorts of things that people are building on Stripe today. Um, people are building on Stripe today. Um, people are building on Stripe today. Um, one of the really cool aspects of being one of the really cool aspects of being one of the really cool aspects of being inside Stripe is their scale and data. inside Stripe is their scale and data. inside Stripe is their scale and data. Um, and one of the things that we've Um, and one of the things that we've Um, and one of the things that we've observed inside of Stripe is that the observed inside of Stripe is that the observed inside of Stripe is that the use of Stripe's CLI has exponentially use of Stripe's CLI has exponentially use of Stripe's CLI has exponentially increased over the course of the past increased over the course of the past increased over the course of the past five six months. We're thinking about five six months. We're thinking about five six months. We're thinking about all of the implications of the coding all of the implications of the coding all of the implications of the coding agents operating systems which we'll get agents operating systems which we'll get agents operating systems which we'll get into uh a greater topic on later in this into uh a greater topic on later in this into uh a greater topic on later in this demonstration. Um so the beginning part demonstration. Um so the beginning part demonstration. Um so the beginning part was sort of the thesis for this is how was sort of the thesis for this is how was sort of the thesis for this is how to avoid dis disaster when vibe coding a to avoid dis disaster when vibe coding a to avoid dis disaster when vibe coding a billing engine. Uh as you might imagine billing engine. Uh as you might imagine billing engine. Uh as you might imagine being in the billing space for multiple being in the billing space for multiple being in the billing space for multiple years now we've seen all sorts of crazy years now we've seen all sorts of crazy years now we've seen all sorts of crazy things happen and it's even getting things happen and it's even getting things happen and it's even getting crazier now that people are expecting to crazier now that people are expecting to crazier now that people are expecting to operate metronome a very complicated and operate metronome a very complicated and operate metronome a very complicated and deep product with a coding agent. Um, deep product with a coding agent. Um, deep product with a coding agent. Um, and so as a result, we are working from and so as a result, we are working from and so as a result, we are working from a developer experience standpoint to a developer experience standpoint to a developer experience standpoint to make this a more seamless experience for make this a more seamless experience for make this a more seamless experience for people and to have them avoid disaster.

  3. people and to have them avoid disaster. people and to have them avoid disaster. Um, and so we're going to see in a Um, and so we're going to see in a Um, and so we're going to see in a second what that de a demonstration of second what that de a demonstration of second what that de a demonstration of what that might look like and how we're what that might look like and how we're what that might look like and how we're guiding things. Um, but just to frame it guiding things. Um, but just to frame it guiding things. Um, but just to frame it the what's happening today in with the what's happening today in with the what's happening today in with launching agent products can go crazy launching agent products can go crazy launching agent products can go crazy and it can go sideways in all sorts of and it can go sideways in all sorts of and it can go sideways in all sorts of ways. So as just a couple of the types ways. So as just a couple of the types ways. So as just a couple of the types of problems that metronome helps solve of problems that metronome helps solve of problems that metronome helps solve for folks. Uh first we are for example for folks. Uh first we are for example for folks. Uh first we are for example and have for many years now taken in all and have for many years now taken in all and have for many years now taken in all of the API calls to OpenAI and Enthropic of the API calls to OpenAI and Enthropic of the API calls to OpenAI and Enthropic and metered that for those companies. and metered that for those companies. and metered that for those companies. We've worked with those companies since We've worked with those companies since We've worked with those companies since before they had any revenue. Uh and so before they had any revenue. Uh and so before they had any revenue. Uh and so obviously we've operated at global scale obviously we've operated at global scale obviously we've operated at global scale operating a metering service with a operating a metering service with a operating a metering service with a number of different data impacts. In number of different data impacts. In number of different data impacts. In addition to that we also operate credit addition to that we also operate credit addition to that we also operate credit models. Obviously today with usage based models. Obviously today with usage based models. Obviously today with usage based pricing it's not just about having a pay pricing it's not just about having a pay pricing it's not just about having a pay go uh metered business model but also go uh metered business model but also go uh metered business model but also all sorts of different forms of credits all sorts of different forms of credits all sorts of different forms of credits commits salesled uh discounts and commits salesled uh discounts and commits salesled uh discounts and offers. And then finally now in in the offers. And then finally now in in the offers. And then finally now in in the last 6 months especially the impact of last 6 months especially the impact of last 6 months especially the impact of failures here is growing in importance failures here is growing in importance failures here is growing in importance in particular because agents can run in particular because agents can run in particular because agents can run away with spend and so we're thinking away with spend and so we're thinking away with spend and so we're thinking about how to give more controls to our about how to give more controls to our about how to give more controls to our customers that they can offer to theirs.

  4. customers that they can offer to theirs. customers that they can offer to theirs. So think like for example having agents So think like for example having agents So think like for example having agents have a wallet um that they only they can have a wallet um that they only they can have a wallet um that they only they can spend from and having controls at that spend from and having controls at that spend from and having controls at that level. Okay. So that's what we're going level. Okay. So that's what we're going level. Okay. So that's what we're going to go into today. Let's actually get to go into today. Let's actually get to go into today. Let's actually get into doing this demonstration. You're into doing this demonstration. You're into doing this demonstration. You're going to see how simple it is. Um so I'm going to see how simple it is. Um so I'm going to see how simple it is. Um so I'm going to initialize Stripe projects going to initialize Stripe projects going to initialize Stripe projects right now. [sighs] [sighs] Oops. Oops. Oops. And this is in fact a live demo. So you And this is in fact a live demo. So you And this is in fact a live demo. So you should expect all sorts of different should expect all sorts of different should expect all sorts of different things to happen here. So what this is things to happen here. So what this is things to happen here. So what this is doing is again initializing stripe doing is again initializing stripe doing is again initializing stripe projects. Um we are going to I think projects. Um we are going to I think projects. Um we are going to I think this should work. this should work. this should work. Um so we've selected that we're going to Um so we've selected that we're going to Um so we've selected that we're going to use claude here and we have a very use claude here and we have a very use claude here and we have a very simple thing. What I I go around the simple thing. What I I go around the simple thing. What I I go around the world basically talking with companies world basically talking with companies world basically talking with companies about their business model. about their business model. about their business model. >> It's not initialized. >> It's not initialized. >> It's not initialized. >> Aha. I see. >> Aha. I see. >> Aha. I see. All right. Come on up. I got it.

  5. I got it. >> All right. Thanks. >> All right. Sweet. Um, yes. Let's >> All right. Sweet. Um, yes. Let's proceed. All right. So, our product, our project All right. So, our product, our project is in fact ready now. is in fact ready now. is in fact ready now. And so, I go around the world talking And so, I go around the world talking And so, I go around the world talking with companies about how to set up their with companies about how to set up their with companies about how to set up their businesses. One of the things that's businesses. One of the things that's businesses. One of the things that's really top of mind right now is um really top of mind right now is um really top of mind right now is um replicating certain business models. replicating certain business models. replicating certain business models. People want to get off the ground People want to get off the ground People want to get off the ground without having to think about it too without having to think about it too without having to think about it too deeply. One of the key topics right now deeply. One of the key topics right now deeply. One of the key topics right now is replicating Lovable's pricing model. is replicating Lovable's pricing model. is replicating Lovable's pricing model. And so I'm going to enter a prompt in And so I'm going to enter a prompt in And so I'm going to enter a prompt in natural language that allows us to guide natural language that allows us to guide natural language that allows us to guide the metronome billing agent and Stripe the metronome billing agent and Stripe the metronome billing agent and Stripe to set up a demo account that has that to set up a demo account that has that to set up a demo account that has that um that has that element to it and um that has that element to it and um that has that element to it and create a demo billing engine create a demo billing engine create a demo billing engine uh in Metronome mimicking uh in Metronome mimicking uh in Metronome mimicking the lovable pricing model. Oops. Just the lovable pricing model. Oops. Just the lovable pricing model. Oops. Just make sure I don't misspell that.

  6. make sure I don't misspell that. make sure I don't misspell that. Um, and so if you want to on the side Um, and so if you want to on the side Um, and so if you want to on the side you can see you can open up Levable's you can see you can open up Levable's you can see you can open up Levable's pricing and you can see all the pricing and you can see all the pricing and you can see all the different elements to it. But in different elements to it. But in different elements to it. But in particular they have a prepaid credit particular they have a prepaid credit particular they have a prepaid credit auto recharge model which is very common auto recharge model which is very common auto recharge model which is very common in um in sort of a self-s served motion in um in sort of a self-s served motion in um in sort of a self-s served motion today. Um so let's get this going. Um so today. Um so let's get this going. Um so today. Um so let's get this going. Um so while this is going I want you to pay while this is going I want you to pay while this is going I want you to pay attention to a couple of things that attention to a couple of things that attention to a couple of things that will happen. Um and in particular if you will happen. Um and in particular if you will happen. Um and in particular if you look at the obviously the slide on the look at the obviously the slide on the look at the obviously the slide on the left there's a couple different points left there's a couple different points left there's a couple different points that I want to hit on. So first um again that I want to hit on. So first um again that I want to hit on. So first um again metronome is a very complicated and deep metronome is a very complicated and deep metronome is a very complicated and deep product and uh there's a lot of product and uh there's a lot of product and uh there's a lot of different ways to hit foot guns etc uh different ways to hit foot guns etc uh different ways to hit foot guns etc uh if you're not guided and so what we've if you're not guided and so what we've if you're not guided and so what we've invested in is building an extensible invested in is building an extensible invested in is building an extensible set of skills files that can provide set of skills files that can provide set of skills files that can provide context to the agent that's implementing context to the agent that's implementing context to the agent that's implementing metronome and working with our API. Um metronome and working with our API. Um metronome and working with our API. Um these skills files are also portable and these skills files are also portable and these skills files are also portable and easy to install so you can use them on easy to install so you can use them on easy to install so you can use them on your own side. Um and what it does is it your own side. Um and what it does is it your own side. Um and what it does is it allows us to essentially remove the allows us to essentially remove the allows us to essentially remove the friction associated with getting friction associated with getting friction associated with getting started. Um and so here uh that and started. Um and so here uh that and started. Um and so here uh that and that's very important because you want that's very important because you want that's very important because you want to be able to test and work with the to be able to test and work with the to be able to test and work with the product and evolve over time. You're product and evolve over time. You're product and evolve over time. You're seeing here in error code um from a seeing here in error code um from a seeing here in error code um from a developer experience standpoint. You developer experience standpoint. You developer experience standpoint. You know this is nothing new but our our know this is nothing new but our our know this is nothing new but our our perspective is to have much more verbose perspective is to have much more verbose perspective is to have much more verbose and clear errors so that the agent can and clear errors so that the agent can and clear errors so that the agent can self-correct. Um and uh and so again our self-correct. Um and uh and so again our self-correct. Um and uh and so again our developer experience teams are working developer experience teams are working developer experience teams are working on finding more failure cases like that on finding more failure cases like that on finding more failure cases like that um and being able to help guide um and being able to help guide um and being able to help guide especially in the initialization and especially in the initialization and especially in the initialization and setup. Um one thing that's that's setup. Um one thing that's that's setup. Um one thing that's that's important here I think keying off of the

  7. important here I think keying off of the important here I think keying off of the last talk that was in this room. Um the last talk that was in this room. Um the last talk that was in this room. Um the goal that we have from a product goal that we have from a product goal that we have from a product development standpoint is not to have a development standpoint is not to have a development standpoint is not to have a customer operate the entire system customer operate the entire system customer operate the entire system without a human in the loop. This is a without a human in the loop. This is a without a human in the loop. This is a type of system that is both business type of system that is both business type of system that is both business critical, has deep business logic behind critical, has deep business logic behind critical, has deep business logic behind it. And so instead, what we are it. And so instead, what we are it. And so instead, what we are recommending and building toward is to recommending and building toward is to recommending and building toward is to use the use your coding agent as a way use the use your coding agent as a way use the use your coding agent as a way to accelerate your work and get into a to accelerate your work and get into a to accelerate your work and get into a test mode and test environment. Um, and test mode and test environment. Um, and test mode and test environment. Um, and so again, what we're doing here, we're so again, what we're doing here, we're so again, what we're doing here, we're not expecting to ship into production. not expecting to ship into production. not expecting to ship into production. We're not pushing it into production. In We're not pushing it into production. In We're not pushing it into production. In fact, when we go into the metronome fact, when we go into the metronome fact, when we go into the metronome environment, you'll see that basically environment, you'll see that basically environment, you'll see that basically what we've done is built a sandbox what we've done is built a sandbox what we've done is built a sandbox experience. Um and in the metronome experience. Um and in the metronome experience. Um and in the metronome context there's what it means to sort of context there's what it means to sort of context there's what it means to sort of test your initial setup is not just that test your initial setup is not just that test your initial setup is not just that you can see uh a contract or something you can see uh a contract or something you can see uh a contract or something like that or see a customer provision like that or see a customer provision like that or see a customer provision but also you need to see usage and so in but also you need to see usage and so in but also you need to see usage and so in in on the back end here our skills files in on the back end here our skills files in on the back end here our skills files are directing um the agent to actually are directing um the agent to actually are directing um the agent to actually flow usage into the metronome platform flow usage into the metronome platform flow usage into the metronome platform so that you can see what a live uh in so that you can see what a live uh in so that you can see what a live uh in what a live customer would look like. Um what a live customer would look like. Um what a live customer would look like. Um I'm going to do one more beat on stripe I'm going to do one more beat on stripe I'm going to do one more beat on stripe projects here. I think in this case projects here. I think in this case projects here. I think in this case what's happening is that stripe projects what's happening is that stripe projects what's happening is that stripe projects so so using the stripe CLI it's it's so so using the stripe CLI it's it's so so using the stripe CLI it's it's engaging with metronome which is an engaging with metronome which is an engaging with metronome which is an external vendor here you could also external vendor here you could also external vendor here you could also imagine also provisioning a bunch of imagine also provisioning a bunch of imagine also provisioning a bunch of other applications uh and using natural other applications uh and using natural other applications uh and using natural language to call for those as well um language to call for those as well um language to call for those as well um and so what again what's nice about this and so what again what's nice about this and so what again what's nice about this is that it basically removes the is that it basically removes the is that it basically removes the friction associated with setting up a friction associated with setting up a friction associated with setting up a test application or a test environment test application or a test environment test application or a test environment um and we again have seen a ton of uh of

  8. um and we again have seen a ton of uh of um and we again have seen a ton of uh of usage of this form um and we expect to usage of this form um and we expect to usage of this form um and we expect to see even more. Um, this is sort of like see even more. Um, this is sort of like see even more. Um, this is sort of like from our perspective coming into Stripe, from our perspective coming into Stripe, from our perspective coming into Stripe, this is one of the things that's been this is one of the things that's been this is one of the things that's been really amazing is that Stripe is on the really amazing is that Stripe is on the really amazing is that Stripe is on the forefront of thinking about agentic forefront of thinking about agentic forefront of thinking about agentic commerce and preparing primitives for commerce and preparing primitives for commerce and preparing primitives for the moment that we're in right now where the moment that we're in right now where the moment that we're in right now where in fact this is exactly what's in fact this is exactly what's in fact this is exactly what's happening. Companies that are launching happening. Companies that are launching happening. Companies that are launching new um new applications and new new um new applications and new new um new applications and new businesses that we've seen an businesses that we've seen an businesses that we've seen an exponential increase in new business exponential increase in new business exponential increase in new business formation at Stripe. Um and then in formation at Stripe. Um and then in formation at Stripe. Um and then in addition to that an exponential increase addition to that an exponential increase addition to that an exponential increase in customers that are using Stripe and in customers that are using Stripe and in customers that are using Stripe and using Metronome through the coding using Metronome through the coding using Metronome through the coding agents themselves. agents themselves. agents themselves. Okay. Um Okay. Um Okay. Um we are almost done here I believe. we are almost done here I believe. we are almost done here I believe. Um, while this is going, I I like Um, while this is going, I I like Um, while this is going, I I like another sort of like thing to sit back another sort of like thing to sit back another sort of like thing to sit back and think about when I go around to and think about when I go around to and think about when I go around to product teams today. They're obviously product teams today. They're obviously product teams today. They're obviously thinking about building for agents, but thinking about building for agents, but thinking about building for agents, but I think one of the things that's I think one of the things that's I think one of the things that's important to do is to de decode what important to do is to de decode what important to do is to de decode what exactly does that mean? And so I what I exactly does that mean? And so I what I exactly does that mean? And so I what I like about this sort of framework for like about this sort of framework for like about this sort of framework for thinking about the coding agents today thinking about the coding agents today thinking about the coding agents today is thinking about the different roles is thinking about the different roles is thinking about the different roles that they play. So obviously companies that they play. So obviously companies that they play. So obviously companies are launching agents as a product and are launching agents as a product and are launching agents as a product and therefore that's one of the reasons why therefore that's one of the reasons why therefore that's one of the reasons why they need to have a usage based pricing they need to have a usage based pricing they need to have a usage based pricing model because if the agent can be the model because if the agent can be the model because if the agent can be the product and run up token a token bill product and run up token a token bill product and run up token a token bill it's important for you to be able to it's important for you to be able to it's important for you to be able to meter on that. Um what we're talking meter on that. Um what we're talking meter on that. Um what we're talking about here with the Stripe project CLI about here with the Stripe project CLI about here with the Stripe project CLI is the agent as a buyer. So literally is the agent as a buyer. So literally is the agent as a buyer. So literally procuring their initial Stripe instance procuring their initial Stripe instance procuring their initial Stripe instance as well as additional backend services.

  9. as well as additional backend services. as well as additional backend services. That's important to basically make your That's important to basically make your That's important to basically make your services discoverable to agents that may services discoverable to agents that may services discoverable to agents that may be building an application or working in be building an application or working in be building an application or working in the open web. Um, on the Stripe side, the open web. Um, on the Stripe side, the open web. Um, on the Stripe side, that means both in a B2C environment, so that means both in a B2C environment, so that means both in a B2C environment, so they're working on a gentommerce, but they're working on a gentommerce, but they're working on a gentommerce, but then in the metronome environment, we're then in the metronome environment, we're then in the metronome environment, we're talking about in a B2B context. Um, and talking about in a B2B context. Um, and talking about in a B2B context. Um, and uh, and so there's sort of like multiple uh, and so there's sort of like multiple uh, and so there's sort of like multiple different levels to play out there. And different levels to play out there. And different levels to play out there. And then finally, one of the reasons why then finally, one of the reasons why then finally, one of the reasons why Metronome is really taking off right now Metronome is really taking off right now Metronome is really taking off right now is because of the agents as a user. Um, is because of the agents as a user. Um, is because of the agents as a user. Um, and so for example, we've been working and so for example, we've been working and so for example, we've been working with HubSpot for the past couple of with HubSpot for the past couple of with HubSpot for the past couple of years. They are currently on a path to years. They are currently on a path to years. They are currently on a path to transform their entire business from a transform their entire business from a transform their entire business from a seatbased model to a creditspbased seatbased model to a creditspbased seatbased model to a creditspbased model. Um, if you've seen some things in model. Um, if you've seen some things in model. Um, if you've seen some things in the news, that's starting in in EMIA the news, that's starting in in EMIA the news, that's starting in in EMIA where they have dramatically lowered where they have dramatically lowered where they have dramatically lowered their seats based price and added on a their seats based price and added on a their seats based price and added on a creditspbased model. The fundamental creditspbased model. The fundamental creditspbased model. The fundamental reason behind that is because what they reason behind that is because what they reason behind that is because what they need to be concerned about is a world in need to be concerned about is a world in need to be concerned about is a world in which an agent can operate their entire which an agent can operate their entire which an agent can operate their entire system. Um, and in that world system. Um, and in that world system. Um, and in that world essentially paying for a seat level essentially paying for a seat level essentially paying for a seat level access to the product to perform your access to the product to perform your access to the product to perform your work is no longer important in some work is no longer important in some work is no longer important in some sense. Um, we've been talking about this sense. Um, we've been talking about this sense. Um, we've been talking about this in uh as sort of headlessness. You know, in uh as sort of headlessness. You know, in uh as sort of headlessness. You know, Salesforce, various others have have Salesforce, various others have have Salesforce, various others have have talked about this. This is what talked about this. This is what talked about this. This is what Metronome is literally seeing today. Um, Metronome is literally seeing today. Um, Metronome is literally seeing today. Um, and so as like one example, last week I and so as like one example, last week I and so as like one example, last week I was at a uh I was at Andre's demo day was at a uh I was at Andre's demo day was at a uh I was at Andre's demo day where all five of the demoing companies where all five of the demoing companies where all five of the demoing companies were salesled agents meant to operate were salesled agents meant to operate were salesled agents meant to operate platforms like SAP or operate um operate platforms like SAP or operate um operate platforms like SAP or operate um operate invoicing platforms, etc., etc. Um, and invoicing platforms, etc., etc. Um, and invoicing platforms, etc., etc. Um, and again in that world, it's important for again in that world, it's important for again in that world, it's important for you to have a usagebased pricing model you to have a usagebased pricing model you to have a usagebased pricing model because you have the possibility of because you have the possibility of because you have the possibility of essentially all of the value acrewing to

  10. essentially all of the value acrewing to essentially all of the value acrewing to essentially one user of your platform, essentially one user of your platform, essentially one user of your platform, which in this case would be an agent. which in this case would be an agent. which in this case would be an agent. If you guys are thinking about pricing If you guys are thinking about pricing If you guys are thinking about pricing models, so not just developing in the models, so not just developing in the models, so not just developing in the agentic space, I'm a good person to talk agentic space, I'm a good person to talk agentic space, I'm a good person to talk to. I'll be out here in a second. Some to. I'll be out here in a second. Some to. I'll be out here in a second. Some of the things that we're um thinking of the things that we're um thinking of the things that we're um thinking about here are basically um not only about here are basically um not only about here are basically um not only having a creditsbased model which has having a creditsbased model which has having a creditsbased model which has been uh dominant on the market since been uh dominant on the market since been uh dominant on the market since openai launched their prepaid credit openai launched their prepaid credit openai launched their prepaid credit auto recharge model a couple of years auto recharge model a couple of years auto recharge model a couple of years ago through metronome but in addition to ago through metronome but in addition to ago through metronome but in addition to that offering more and like more and that offering more and like more and that offering more and like more and extended offers including in a salesled extended offers including in a salesled extended offers including in a salesled in an enterprise environment um and so in an enterprise environment um and so in an enterprise environment um and so for example what's happening with all for example what's happening with all for example what's happening with all the coding agency in the enterprise the coding agency in the enterprise the coding agency in the enterprise think like cognition or cursor or openAI think like cognition or cursor or openAI think like cognition or cursor or openAI anthropic themselves is that they are anthropic themselves is that they are anthropic themselves is that they are starting to adopt more um uh commit starting to adopt more um uh commit starting to adopt more um uh commit structures like the CSPs have done for structures like the CSPs have done for structures like the CSPs have done for the past 10 years. Think having prepaid the past 10 years. Think having prepaid the past 10 years. Think having prepaid commitments, postpaid commitments, and commitments, postpaid commitments, and commitments, postpaid commitments, and specific types of offers for specific specific types of offers for specific specific types of offers for specific types of customers. types of customers. types of customers. Okay, I think that we should be good to Okay, I think that we should be good to Okay, I think that we should be good to go now. And let's see what it looks like go now. And let's see what it looks like go now. And let's see what it looks like when we open up Metronome.

  11. Uhhuh. Uhhuh. We've done multiple different versions We've done multiple different versions We've done multiple different versions of this, as you might imagine. Okay. So, as we open this up, uh, Okay. So, as we open this up, uh, pull this. It's fun. I love all these demos where It's fun. I love all these demos where you're just looking at people logging you're just looking at people logging you're just looking at people logging in. Um, so as we open this up, so the in. Um, so as we open this up, so the in. Um, so as we open this up, so the general pain that Metronome has is an general pain that Metronome has is an general pain that Metronome has is an onboarding wizard meant for a human that onboarding wizard meant for a human that onboarding wizard meant for a human that needs to set up their environment. We've needs to set up their environment. We've needs to set up their environment. We've we don't need this now because we had an we don't need this now because we had an we don't need this now because we had an agent set up this environment. And as I agent set up this environment. And as I agent set up this environment. And as I come in, you're going to see some of the come in, you're going to see some of the come in, you're going to see some of the core metronome primitives here. Let's core metronome primitives here. Let's core metronome primitives here. Let's start by looking at the customer that start by looking at the customer that start by looking at the customer that was set up. Again, this is for testing was set up. Again, this is for testing was set up. Again, this is for testing purposes. Um, up at the top, you're purposes. Um, up at the top, you're purposes. Um, up at the top, you're seeing the customer with a certain seeing the customer with a certain seeing the customer with a certain lifetime spend. This was auto again lifetime spend. This was auto again lifetime spend. This was auto again populated by um by the agent for the populated by um by the agent for the populated by um by the agent for the demo environment. Um I'm immediately demo environment. Um I'm immediately demo environment. Um I'm immediately going to go into their invoice and we'll going to go into their invoice and we'll going to go into their invoice and we'll come back to this in a second. Um and so come back to this in a second. Um and so come back to this in a second. Um and so what you what you see here is a draft what you what you see here is a draft what you what you see here is a draft invoice that was created associated with invoice that was created associated with invoice that was created associated with um sort of replicating the lovable um sort of replicating the lovable um sort of replicating the lovable pricing model again. Um so if you have pricing model again. Um so if you have pricing model again. Um so if you have this on the side you can see all the this on the side you can see all the this on the side you can see all the different elements of that. But the core different elements of that. But the core different elements of that. But the core aspect of lovable's pricing model is a aspect of lovable's pricing model is a aspect of lovable's pricing model is a creditonly pricing model where you creditonly pricing model where you creditonly pricing model where you autorecharge on a monthly basis. Um and autorecharge on a monthly basis. Um and autorecharge on a monthly basis. Um and then in add in addition to that they then in add in addition to that they then in add in addition to that they have multiple different types of credits have multiple different types of credits have multiple different types of credits that are scoped to different types of that are scoped to different types of that are scoped to different types of usage beyond the the use of those

  12. usage beyond the the use of those usage beyond the the use of those credits. Then if you go over and if you credits. Then if you go over and if you credits. Then if you go over and if you overspend then you have an invoice at overspend then you have an invoice at overspend then you have an invoice at the end of the period. Um so a couple of the end of the period. Um so a couple of the end of the period. Um so a couple of the different like concepts there that the different like concepts there that the different like concepts there that are relatively complicated to administer are relatively complicated to administer are relatively complicated to administer is the credit itself. And so Metronome is the credit itself. And so Metronome is the credit itself. And so Metronome has a first class uh credit object here. has a first class uh credit object here. has a first class uh credit object here. What you're seeing is that there was a What you're seeing is that there was a What you're seeing is that there was a credit credit created for the initial credit credit created for the initial credit credit created for the initial period that we're testing for. we had period that we're testing for. we had period that we're testing for. we had usage that that draw that drew down from usage that that draw that drew down from usage that that draw that drew down from that entire credit balance. And then that entire credit balance. And then that entire credit balance. And then finally, if we go back to the customer finally, if we go back to the customer finally, if we go back to the customer pane, pane, pane, um in addition to that, you can see the um in addition to that, you can see the um in addition to that, you can see the usage that we that we plopped in. All usage that we that we plopped in. All usage that we that we plopped in. All obviously in a production environment, obviously in a production environment, obviously in a production environment, you would be seeing this in against real you would be seeing this in against real you would be seeing this in against real usage that you have. The core reason usage that you have. The core reason usage that you have. The core reason again to show it in this manner is to again to show it in this manner is to again to show it in this manner is to just see what it would look like if you just see what it would look like if you just see what it would look like if you adopted the pricing model and then had adopted the pricing model and then had adopted the pricing model and then had real usage against it. Again, I'm going real usage against it. Again, I'm going real usage against it. Again, I'm going to come back to the invoice. And so here to come back to the invoice. And so here to come back to the invoice. And so here you can click into each of these you can click into each of these you can click into each of these different components. Um, build credits, different components. Um, build credits, different components. Um, build credits, plan mode credits, cloud credits, AI plan mode credits, cloud credits, AI plan mode credits, cloud credits, AI gateway credits. This is exactly what gateway credits. This is exactly what gateway credits. This is exactly what the lovable pricing model looks like. the lovable pricing model looks like. the lovable pricing model looks like. And again, the way that we coached the And again, the way that we coached the And again, the way that we coached the agent to be able to do to to build this agent to be able to do to to build this agent to be able to do to to build this was just describing a natural language was just describing a natural language was just describing a natural language to replicate lovable pricing model. It to replicate lovable pricing model. It to replicate lovable pricing model. It was nothing more difficult than that.

  13. was nothing more difficult than that. was nothing more difficult than that. Um, so without going into Metronome's Um, so without going into Metronome's Um, so without going into Metronome's platform to too great an extent, um, the platform to too great an extent, um, the platform to too great an extent, um, the what we just did here was we initialized what we just did here was we initialized what we just did here was we initialized uh and created a stripe instance. We uh and created a stripe instance. We uh and created a stripe instance. We then in through Stripe projects uh we then in through Stripe projects uh we then in through Stripe projects uh we also created a metronome instance. Then also created a metronome instance. Then also created a metronome instance. Then we coached the agent to be able to uh we coached the agent to be able to uh we coached the agent to be able to uh build a demo instance of metronome that build a demo instance of metronome that build a demo instance of metronome that had a real pricing model live in had a real pricing model live in had a real pricing model live in production. And so you could imagine production. And so you could imagine production. And so you could imagine basically testing then from there the basically testing then from there the basically testing then from there the exact testing and tweaking from there exact testing and tweaking from there exact testing and tweaking from there exactly what you wanted before bringing exactly what you wanted before bringing exactly what you wanted before bringing that into production. Um this sort of that into production. Um this sort of that into production. Um this sort of framework for thinking about development framework for thinking about development framework for thinking about development both applies to Stripe where we are both applies to Stripe where we are both applies to Stripe where we are working very very hard to make it easier working very very hard to make it easier working very very hard to make it easier to uh run a complicated business model to uh run a complicated business model to uh run a complicated business model and get off the ground but also I think and get off the ground but also I think and get off the ground but also I think it bears lessons for how we might pursue it bears lessons for how we might pursue it bears lessons for how we might pursue agentic development more generally agentic development more generally agentic development more generally outside of Stripe. So again, think about outside of Stripe. So again, think about outside of Stripe. So again, think about some of the primitives that we talked some of the primitives that we talked some of the primitives that we talked about here today. Agent as a buyer, about here today. Agent as a buyer, about here today. Agent as a buyer, agent as your product, agent as your agent as your product, agent as your agent as your product, agent as your user and disambiguating what the user and disambiguating what the user and disambiguating what the different the different um modes and uh different the different um modes and uh different the different um modes and uh and like implications of those are. And and like implications of those are. And and like implications of those are. And then in addition to that um having then in addition to that um having then in addition to that um having having ways in which we coach the agent having ways in which we coach the agent having ways in which we coach the agent to operate more effectively in including to operate more effectively in including to operate more effectively in including in a in a in a difficult environment.

  14. in a in a in a difficult environment. in a in a in a difficult environment. You can try this for yourself now. So uh You can try this for yourself now. So uh You can try this for yourself now. So uh the easiest way to get started is with the easiest way to get started is with the easiest way to get started is with the commands that are that are listed the commands that are that are listed the commands that are that are listed here and you can see everything that is here and you can see everything that is here and you can see everything that is available through Stripe Projects available through Stripe Projects available through Stripe Projects through Stripe Projects online. Um as through Stripe Projects online. Um as through Stripe Projects online. Um as there are a number of different there are a number of different there are a number of different providers that are onboarding every day. providers that are onboarding every day. providers that are onboarding every day. Um so companies like Versell um like Um so companies like Versell um like Um so companies like Versell um like hugging face etc are basically like hugging face etc are basically like hugging face etc are basically like working in Stripe projects environment working in Stripe projects environment working in Stripe projects environment to be able to make their own products to be able to make their own products to be able to make their own products more discoverable to agents that are more discoverable to agents that are more discoverable to agents that are operating Stripe system.

Summary

This presentation demonstrates how Stripe Projects, an orchestrator for rapid business setup, can provision a Stripe account and necessary backend services, including the Metronome billing agent. The key takeaway is that leveraging Stripe Projects via the CLI allows for faster product and application launches, and the potential for AI coding agents to integrate with this system.

View original episode ↗