S11 E16: The Vanity Metric Deception: Why Counting Lines of Code Fails the Cursor Era and How to Calculate True "Weave Hours" with Adam Cohen, Co-Founder & CEO of Weave [0:00:00] Adam Cohen: When we released that insights tool, the feedback was, hey, this is like really interesting, but prove to me that it works. And we were like, what do you mean? Nobody can prove that it works. That's been impossible. This is like the age-old question in engineering. Every founder struggled with this, of understanding how much work is my engineering team getting done. What we did is we went and built a model to actually measure engineering work. So how did we do this? We had to train our own custom machine learning model. Ultimately, it's trained on thousands and thousands of PRs, like hand-labeled PRs, to measure how much work is actually getting getting done and how long these PRs should take. I'm Adam Cohen, the co-founder and CEO of Weave. [0:00:43] Noah Labhart: We've... This is Code Story, a podcast bringing you interviews with tech visionaries, six months moonlighting, nothing on the back end, who share what it takes to change an industry. I don't exactly know what many goes to get right, who built the teams that have their [0:01:04] Clip: back. Company is its people. Teams help each other. each other achieve. Most proud of our team. Keeping scalability top of mind. All that infrastructure was a pain. Yes, we've been fighting it as we grow. Total waste of time. The stories you don't read in the headlines. It's not an easy thing to achieve. Took it off the shelf and dusted it off and tried it again. To ride the ups and downs of the startup life. You need to really want it. It's not just about technology. All this and more on Code Story. [0:01:32] Noah Labhart: I'm your host, Noah Labhart, and today how Adam Cohen is giving you engineering metrics for the AI era, combining LLMs and domain-specific ML. Adam Cohen grew up in Toronto and North York. He showed early signs of entrepreneurship by putting his lemonade stand on a wagon and taking it door to door, or hustling his friends to buy souvenirs on a school field trip. His dad was in VC and was a big influence on his life, pushing him hard to succeed. But outside of his professional life, he's big into sports, specifically basketball. In the past, he loved playing fantasy sports, which also influenced how he built his business ventures. Adam and his team went through several iterations of AI tooling summarizing Slack, integrating Git and Jira, etc While they were doing this, they realized that the best way to make a difference was to first focus on the data itself This is the creation story of Weave [0:02:42] Adam Cohen: Ultimately, what we do is we combine machine learning with LLMs to show engineering teams how much work is getting done, how good it is, and how much is done by AI. So we got here on a bit of a long and windy road, but ultimately where we started is around going from Slack summarization to insights for engineers. But the kind of vision here is we want to build Gong for the engineering teams. And we just realized that to do that, you actually have to start with really good data, which you're not able to get anywhere right now. The first iteration was we ultimately, Andrew and I, wanted to create something that was just summarizing Slack. Using AI to summarize all of your work. We started with Slack, then we wanted to integrate your Git, your Jira, and say, here's what went on this week, here are the actions that you need to take, here's what went well, and here's where things could improve. We joke now that we We think this is like the AI modern tar pit idea. I think everyone has tried some iteration of this. So we released that to the wild after about a week of work. And the feedback was quite constructive, to say the least. In general, just people felt like it was noisy and it wasn't actually solving any pain. From there, what we decided was, OK, we need to get a bit more advanced in the insights we're providing. So we actually started building out a platform not in Slack. And it was focused just around insights. So an insight could be for engineering, it was like your PR size is too big. And it would actually scan the PR, run it through an LLM and say, based on what you were doing, you actually had two or three different focuses in this one PR. And it should have been split into multiple PRs. For those listening that are non-technical, I'm not sure how many of those will be. But think of a PR as like a task. That's how we like to describe to non-technical folks. So if one task is too big, it's actually recommending breaking it down into like smaller tasks. [0:04:41] Noah Labhart: I'm curious now about the MVP for Weave, maybe the MVP of the version of what it is right now. How long did it take to build, which probably is a combination of a bunch of things and what sort of tools are you using to bring it to life? [0:04:55] Adam Cohen: Ultimately, when we released that insights tool, the feedback was, hey, this is like really interesting, but prove to me that it works. like, what do you mean? Nobody can prove that it works. That's been impossible. This is like the age old question engineering. Every founder struggled with this of understanding like how much work is my engineering team getting done? What we did is we went and built a model to actually measure engineering work. So how did we do this? We had to train our own custom machine learning model. And ultimately, it's trained on like 1000s and 1000s of PRs, like hand labeled PRs to measure how much work is actually getting done and how long these PRs should take. So that took us about two to three weeks to get the base version out. Obviously, we've had to continue to fine tune it since. And that was about November last year before we officially launched it. [0:05:51] Noah Labhart: You know, you're building anything, you've got to make decisions and trade offs around, you know, how you're going to approach the problem. And I think you touched on a few few things that I could probably cherry pick, but I just want to ask directly, what is the, maybe the biggest decision or trade-off you had to make in that early version of Weave and how you coped with it? I [0:06:08] Adam Cohen: think some of the early trade-offs that we had to make was this like insights versus data. Ultimately, our vision is like, we want to be the helper to every single knowledge worker that's reading all of your data and being able to provide very specific action items of here's where you can improve. We believe that there will always be like humans in the loop where we're going to piggyback off. So the trade-off here is, okay, you can veer off your initial plan of just providing insights and go the data route or not. You could try, sorry, you could either do the insights or you can go down the data route. And what we ultimately decided was for best use for our customers, as well as to actually get first paying users, we had to go down this data road. So that's what we built. And that's why we started there. And now we're starting to really explore getting back to more of the inside side of the platform. [0:07:03] Noah Labhart: Awesome. Okay. That's actually a perfect segue into my next question, Adam. So I'm curious about, you know, how you are progressing and maturing the product and to kind of wrap that in a box a little bit and look for is how you are building your roadmap, how you go about deciding that, okay, this is the next most important thing to build or to address. [0:07:23] Adam Cohen: We are not in a unique spot. Everyone has to balance their roadmap of versus what is your vision? And how do you make those two things align? How do you make sure that you're building for them while still building what you believe is the right solution? What I think is maybe a bit unique right now is it is the fastest changing environment that you could imagine selling to engineering teams. Their needs are changing pretty much every month. The data that we're able to connect with is changing weekly. APIs from Cursor, Windsurf, being able to integrate and take data from Devin, is getting like quite complex and changing super quickly. To go back to your question, really what we're doing is we're doing it in sprints where we're looking at here are all the requests from customers. If it can be done really quickly, we're going to go get that done immediately. If not, we're going to really add it to the roadmap, but really try to focus our time on what we believe is going to be the biggest bang for our buck. Specifically right now, that's been focused on AI usage analytics. So understanding who's using AI the best and how to replicate those best practices and start suggesting how teams can actually use AI for their engineering function better. [0:08:38] Noah Labhart: So how did you go about building your team and what do you look for in those people to indicate that they're the winning horses to join you? [0:08:45] Adam Cohen: We look for passion more than anything. I want people that are fanatic about anything previously. So that's like our core. That being willing to just be very open-minded are the two kind of core pieces. One of our teammates is a triathlete, Ironman, does every single thing in the book and is like super passionate about fitness. Another is obsessed with movies, has watched pretty much a movie every single day, has the biggest laundry list of movies. a big bonus for my life getting his list as well. So in general, we just want to find people that are like super passionate about things that they've done before and that are passionate about being efficient and bettering themselves because that's what our product is about as well. [0:09:36] Noah Labhart: Let's flip to scalability. I'm really curious about scale and where that comes into play. You know, you can approach scale, right? Building it from the beginning, but there's always always interesting places where it pops up its head. Can you tell me some stories around where you had to fight scale as you grew? [0:09:52] Adam Cohen: Transparently, we are just starting to get into these issues. We're still on the earlier stage. So I think one more recent example was our platform's performance just went to complete garbage about a month ago. It was taking 30 seconds a minute for pages to load, and we just realized, like, we had a few customers complain, but we also had a couple of prospects say no to us for that reason, and we just had to go blitz and fix that. So we did a ton of performance optimization, a lot on our queries, and now we're like wicked fast again. But it's a perfect example of just like we were shipping as fast as we possibly could without performance in mind. It caught up to us, and then we had to go fix that. And now I'm sure there's going to be the same issue out. [0:10:42] Noah Labhart: Well, Adam, as you step out on the balcony, look across all that you've built thus far. With Weave, what are you most proud of? [0:10:49] Adam Cohen: Andrew and I were talking about this just recently. We did a product hunt launch last week and also about a year and a week ago, completely coincidentally. And he was just leaving on a trip, first trip he's taken in that year as well. And we were just having a debrief about this. And I think the thing we're most proud of is just about the team that think the movement that we've started in general. When we started selling or pushing this narrative that engineering could be measured, pretty much every single person laughed in our face, rejected us, said it wasn't possible, said that we were doing it the wrong way. And since then, it's already the narrative's completely changing, where people are excited about it. They're looking at it as an empowerment tool, as an enhancement or optimization tool. We've had a bunch of competitors like attempt to copy us. They're doing a really poor job so far, but I'm excited that they're trying because I do think that like everyone should get behind this mindset of everything can be measured and it can be used to really help us if it's used in the right ways. [0:11:54] Noah Labhart: So let's flip the script a little bit. Tell me about a mistake you made and how you and your team responded to it. [0:12:01] Adam Cohen: One mistake we made, and I still struggle thinking about what what was the right thing to do here? But we were going through our seed fundraising in March and we also had our biggest enterprise contract on the line. And even though our seed fundraising was able to be wrapped up quite quickly, we ended up losing that deal. And I think it was like quite a winnable deal. It would have made a meaningful impact to like us as a company, but we lost it because I was spending way too much time talking to investors, dealing with creating a deck, negotiation of those things. I think like what we've learned from that is just no matter what we need to prioritize our customers, revenue, fundraising is very important. Don't get me wrong. But still, the most important thing is winning these deals. As long as you win, the fundraising will follow. [0:12:53] Noah Labhart: Adam, this will be fun. I'm curious to hear, you know, the passion in your voice. What does the future look like for Weave, for the product, for what you're building, for the team? [0:13:02] Adam Cohen: Ultimately, what we're doing is we're building the operating system for knowledge workers in this AI age. So we really look at engineering as just the beginning. We think it's the perfect testing ground because everything is recorded and therefore should be quantifiable, and engineers are the most skeptical, meaning that if you can win here, similar as Slack, then you can likely win in other spots as well. So our vision is to become this like measurement and optimization layer for all of the knowledge workers. And yeah, I guess you can imagine a company where every person, every AI agent is continuously improving, continuously getting feedback, understanding exactly where they can improve. And human potential is really maximized through partnering with these AI tools. We want to be that like data layer and that insight layer that makes that really possible. [0:13:53] Noah Labhart: Adam, let's switch to you. Who influences the way that you work? I'm a person or many persons or something you look up to and why? [0:14:01] Adam Cohen: My dad was like a huge influence to me. That was like the biggest one, just seeing how he worked, his work ethic, his balance of work and family. That was massive. I think more recently, our Y Combinator partners, specifically like Jared Friedman, Eli Brown, Ankit, were instrumental in just like how we think about building. They all give Jared the, he specializes in taking very complex ideas and being able to say them in a single sentence that really like packs a punch. And it just made our understanding of ourselves and our product much more clear. Eli brings this like intensity. He probably built one of the best engineering teams around at Gilded. And he really influenced the way that we think about building and that truly the most important thing is shipping speed. We believe that if we continue to ship and sell, then those are the only two things that matter. And we sign off every single daily standup as ship and sell for that exact reason. [0:15:01] Noah Labhart: Okay, Adam, last question. So you're getting on a plane and you're sitting next to a young entrepreneur who's built the next big thing. They're jazzed about it. They can't wait to show it off to the world and can't wait to show it off to you right there on the plane. What advice do you give that person having gone down this road a bit? [0:15:15] Adam Cohen: On the plane, be fanatical. Take every opportunity you can. I know I'm certainly probably rub people the wrong way with how aggressive I've been with selling, but it's a name of the game. Ultimately, I strongly believe that we are massively helping teams get better and helping individuals perform better. If you are starting something, be super realistic with yourself, but sell, take the feedback back, iterate, sell, take the feedback, and iterate again. [0:15:45] Noah Labhart: That's fantastic advice. Well, Adam, thank you for being on the show today. And thank you for telling the creation story of Weave. [0:15:51] Adam Cohen: I really appreciate your time. And Noah, I haven't gotten the chance to interview you yet, but maybe we can save that for another day. [0:15:58] Noah Labhart: We'll work on that. And this concludes another chapter of Code Story. Code Story is hosted and produced by Noah Labhart. Be sure to subscribe on Apple Podcasts, Spotify, or the podcasting app of your choice. And when you get a chance, leave us a review. Both things help us out tremendously. And thanks again for listening.