S11 E12: The Agentic Auth Crisis: Why AI Agents Are Forcing SaaS to Shift from User Directories to Short-Lived Scoped Token Planes with Ravi Madabhushi, Co-Founder & CTO of ScaleKit [0:00:01] Ravi Madabhushi: What happened was a couple of conversations organically grew into, hey, we're seeing some traffic where some of our customers are asking if we can offer them an MCP server. Hey, we want to offer APIs. How does authentication work around those APIs? So our journey from a very horizontal identity and authentication platform into AI focused authentication platform actually grew organically because of how our customers pulled into that vision. Because they constantly constantly kept telling us that, hey, we have this problem. Can you help solve it? We have this problem. Can you help solve it? I'm Ravi Madabhushi, one of the co-founders of ScaleKit. [0:00:42] Noah Labhart: This is Code Story, a podcast bringing you interviews with tech visionaries. [0:00:48] Clip: Six months moonlighting. There's nothing on the back end. [0:00:51] Noah Labhart: Who share what it takes to change an industry. [0:00:54] Clip: I don't exactly know what to do next. Many goes to get right. [0:00:56] Noah Labhart: who built the teams that have their back. [0:01:00] Clip: A company is its people. The teams help each other achieve more. Most proud of our team. [0:01:04] Noah Labhart: Keeping scalability top of mind. [0:01:07] Clip: All that infrastructure was a pain. Yes, we've been fighting it as we've grown. Total waste of time. [0:01:11] Noah Labhart: The stories you don't read in the headlines. [0:01:14] Clip: It's not an easy thing to achieve, mind you. Took it off the shelf and dusted it off and tried it again. [0:01:18] Noah Labhart: To ride the ups and downs of the startup life. [0:01:21] Clip: You need to really want it. It's not just about technology. [0:01:24] Noah Labhart: All this and more on Code Story. I'm your host, Noah Labhart. And today, how Ravi Madabhushi has built modular auth for AI applications. For the agents, yes, but for users and APIs alike. Ravi Madabhushi finds that all of the stops along his professional journey were accidental. He grew up in a tiny village in the south of India, to sprint across it and to end. His goals back then were common, get a job, get married, etc. But after he moved to Bangalore post-school, he got acquainted with startups and was hooked. Outside of tech, he's married with two kids. He enjoys playing tennis, badminton, and squash. He got introduced to squash when he was playing tennis. It started raining, and they were forced inside to play inside tennis, i.e. squash. Ravi and his team had a successful exit from their prior company and decided to give startups another go. They wanted to solve the authentication problem for builders wanting to focus on their product, not building auth. What they found was a new arena in the world of AI, agents, and authentication of everything in between. This is the creation story of ScaleKit. [0:02:46] Ravi Madabhushi: ScaleKit is an authentication platform for AI applications and agentic workflows. close. So actually the idea for ScaleKit was born from our experience building auth solutions in our previous company, where we saw firsthand how it's incredibly hard to get auth, especially when you're focusing on a lot of customers that range across different personas. It can be SMBs, it can be mid-market, it can be enterprise customers. And building a B2B-focused auth was We looked for solutions out there in the market that we thought we could adapt. But we really didn't find any solution that would be a good fit for us. So we started building it. It took us four years, multiple iterations to get it right. And we realized this is not a fun thing to do for anyone who is building their product or application. Anyone who is building their product actually wants to solve their core problems and not necessarily have to build all the peripherals outside their product just to make it presentable or sellable or secure. So we came out of Freshworks with a vision of making auth really easy for developers who are building their products. And what started as identity and authentication solution, our customers quickly pulled into agentic workflows. They started telling us, hey, it's more than humans. There are agents that we are building or our customers are building. How do we solve auth for that? We moved from a human-first identity and access management solution into an authentication platform for agentic applications and AI workflows. So ultimately, we're about enabling developers to confidently build and scale AI-powered applications, secure agentic access, and unlock new use cases without getting bogged down in the complexity of authentication and authorization infrastructure. structure. So we built our platform in a truly modular manner. So our customers usually adopt either the full package or just the components that they need. For example, some of our customers use our platform to use as an auth for their MCP server or use as auth for their API servers or enterprise auth modules like SSO and SCIM and things like that. So we are a modular platform for AI applications and agents and also human users. [0:05:20] Noah Labhart: So let's dive into the MVPs, that first version of ScaleKit that you built. This would be prior to the agentic side of things. Tell me about how long it took to build and what sort of tools you're using to bring it to life. [0:05:35] Ravi Madabhushi: We spent around four months talking to prospects and customers, even though we knew the kind it once before, but we wanted to understand what actually is the pain point outside of our own lived experiences. What sort of problems that developers do care about. And we realized that one of the biggest things is there are enough libraries out there that kind of help them get started really easily. Like they would slap on a username, password at a login with Google screen, and they can get started really quickly using any of the libraries that their framework already supports. It can be Ruby or JavaScript, things like that. What really mattered for these customers is, once they start acquiring enterprise customers, that's when the trouble begins around authentication. Their customers would ask for, hey, do you have support for SSO integration with my Okta or with my ADFS, or do you support complicated user management, provisioning and deprovisioning? So we focused on building MVP to help companies Companies become enterprise ready really quickly. So we narrowed our value proposition to just that particular problem state. You already have an auth, that's great. But now you're acquiring enterprise customers, use ScaleKit to add SSO and SCIM in just a matter of days. That took us around three to four months. Because we are an auth platform, we had to make sure that we are secure from day zero, we're reliable, we're available from day zero. We made sure that we have the right foundation, but the MVP itself is focused on solving only single sign-on and SCIM as a service, and that took us around three to four months. We kept it very simple and straightforward. We didn't want to boil the ocean. Predominantly we used Google Workspace for the company communication, and we use Slack a lot. We live in the Slack 24 hours a day. Notion is our go-to tool for writing writing everything down, sharing internally what we are writing. Even to customers, we used to share Notion docs because we wanted to keep it extremely transparent about what we're building, how we're building it, and things like that. But to build the product, eventually we relied on some heavyweights. One is we use GCP as our cloud platform. And we wanted to get really high levels of availability from day zero. So we used Cockroach as a persistent store. and our entire platform is built as a monolithic platform on Golang, which is not so memory intensive. We can scale easily horizontally and vertically. We wanted to keep it simple for ourselves and for our customers. [0:08:13] Noah Labhart: So let's go from that MVP point then. So how did you progress and mature the product? And that folds into the next level of authentication with agents and AI and those things. How did that unfold? fold. And I'm curious to wrap in a little box a little bit, what I'm looking for is how you built your roadmap, how you went about deciding that, okay, this is the next most important thing to build or to address with ScaleKit. [0:08:37] Ravi Madabhushi: So one of the things that we constantly focus on is keep a very close relationship with the customers, constantly trying to understand what are the problems that they're going through in scaling their product or scaling their customer segment from SMB to mid-market or enterprise, or what are the new engineering challenges that they're facing? new experiments that they're doing to see if there's any opportunity for ScaleKit to help solve them instead of us living in our own world. That's the point number one. Point number two is because we worked very closely with some of our early customers as part of upgrading their auth journey from a simple username password to kind of enterprise-grade authentication, including SSO and SCIM, they used to come back to us if they need any help with any auth-related challenges in general. So what happened was a couple of conversations organically grew into, hey, we are seeing some traffic where some of our customers are asking if we can offer them an MCP server. And they asked us, okay, how do I build an MCP server? Some of the conversations around, hey, we want to offer APIs, how does authentication work around those APIs? So our Our journey from a very horizontal identity and authentication platform into AI-focused authentication platform actually grew organically because of how our customers pulled into that vision. Because they constantly kept telling us that, hey, we have this problem, can you help solve it? We have this problem, can you help solve it? When we first heard this for a couple of times initially, we went into an advisory mode and helped them solve the problem. But when we keep hearing the same problems again and again, we realize that there is a pattern. And hey, there is something big happening here. So that's when we moved our focus into the agent authentication space. So one of the first things that we started is our customers said, hey, I'm building an MCP server. And the MCP spec says it needs to be OAuth and things like that. Can you help us with that? So that's where it started. So now we have a drop-in authorization platform for MCP servers where anyone can use a platform firm to simply add an OAuth layer for their MCP servers without them having to build the entire OAuth infrastructure by themselves. So we have a lot of customers who are using just that piece, and they constantly give us feedback on how do we improve value that we're offering to them by adding additional components around authentication and authorization. So our constant focus is be as close to our customers as possible, constantly listen to to their feedback, identify patterns, and help improve our product roadmap and solve as many problems as we can for these customers. [0:11:20] Noah Labhart: So I hear you saying we. Tell me about how you built your team. What do you look for in those people to indicate that they are the winning horses to join you? [0:11:29] Ravi Madabhushi: We were a close-knit of people who were part of our earliest startup itself. We kind of value relationships, and we trust each other. There's a group of five or six people who were part of the earlier startup, which is 12 years back. We continued the journey together. And over a period of time, we intuitively know how to trust each other. So this five, six group of people started ScaleKit. But now when it came to adding more people to the team, I think we focused only on, hey, what are their characteristics? Are they accountable? Are they responsible? Are they humble? these are the core things that we focused on and we always look to hire people from our internal referrals if one of the employees says we should bring this person on board we trust that person's judgment based on the past experience are them working together so we always trust that judgment when we bring in new people i think 95 percent of the team members are kind of internal referrals. It's very rare when we go outside, even when we go outside our first degree or second degree of network, they come in through strong references from others that they've already worked in the past with. I think the key thing in any startup, I would say is trust and responsibility and accountability. Skills are something that you can learn over a period of time. So we value more on what characteristics do they bring to the table than what skills do they bring to the table. [0:13:01] Noah Labhart: Let's flip to scalability, and it's in your name, right? So I know that it's important. I'm curious about how you approach scale from the early days and maybe how that progressed, but I'm really curious about, has there been interesting areas where you've had to fight scale as you've grown? [0:13:18] Ravi Madabhushi: one thing that we were very clear from day zero is we are not building b2b grad application where where we are building authentication infrastructure for our customers. That means they trust their product security with our platform. The tenets that we place ourselves for the platform that we are building are security first, reliability, availability, and performance are the most important things beyond what features that we are adding to our product and what features that we are selling to our customers. So from day one, we made sure that we built a scalable and secure platform. One of the reasons why we named the company also comes from the same point, right? Hey, we help you scale your product from 1 to 100 journey through our platform. That means we ourselves need to be scalable before we can help them scale. So scale was never really what we took for granted or what we thought we'll deal with it when it comes to it. From day one we made sure that our foundations were, were right. The architectural choices that we took were right. We never doomed that we will fix scaling problems when we get 100 customers or 1,000 customers or 10,000 customers. Of course we had scaling problems, but not with the platform that we're building. Though we had scaling problems when it comes to processes, when we grew from five member team to 10 member team to 20 member team. How do you make sure that everyone knows constantly what is happening, and how do you communicate effectively within the team about what our vision is, what our roadmap is, what are we doing this month, this quarter, how are we helping our customers? So there have been scaling problems around that, but not scaling our platform reliability and availability. [0:15:03] Noah Labhart: As you step out on the balcony and you look across all that you've built thus far with ScaleKit, what are you most proud of? I [0:15:10] Ravi Madabhushi: think definitely one thing that makes me most proud is the kind of focus on developer experience that we've created and the way we partner with our customers. From the beginning, we set out to make authentication not just easy, but actually something that they can enjoy implementing. We made sure that we have clear documentation. We have a lot of diagrams on our website just to make sure they understand what is happening. The defaults that we set up are secure. They don't have to figure out which setting should they choose or which option should they go with. And most importantly, we made sure that they can implement complex requirements like SSO or SCIM in just a matter of days. We have had actually customers onboard their first enterprise client in just two days using ScaleKit. But it's also not just about the product. We wanted to make sure that we act as advisors and not just another vendors for our customers. us, we help them implement authentication securely and effectively, tailored to their unique needs, and that kind of approach has built a lot of trust and lasting relationships like I spoke about earlier. It made sure that they constantly came back to us, asked us for advice on unrelated problems. Again, that's what pulled us into agentic cosplay, and yeah, I guess if you're asking me what I'm most proud of, none of this would be possible without the great team that we are, that we I think we trust each other innately and we really care about solving problems that matter and we help each other and that's helped us consistently deliver for our customers and keep raising the bar. [0:16:50] Noah Labhart: 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:17:00] Ravi Madabhushi: I think it's a tricky question I think one of the most significant mistakes we made early on was falling into the trap of premature optimization In about six months ago we found ourselves spending a lot of time and engineering effort trying to cover every possible edge case building for hypothetical scenarios that no customer had actually encountered But I think this is also the curse of knowledge because we know all the potential scenarios and edge cases The auth platform that scaled to 2 million daily active users, and it served customers of all sizes. So we know actually what needs to be done, because we know that eventually this is the kind of platform that needs to be built. But as part of trying to make a platform as robust and future proof as possible, we were actually slowing ourselves down and distracting ourselves from solving the problems that mattered most to our customers today. So we realized that this approach is completely unsustainable, and we had to act like a startup where speed and focus are extremely critical. So as a team, we had an open conversation internally saying, hey, let's solve for 90% of the problems that we know our customers are going to face day in day out. And let's only optimize for the extremely corner cases and extremely edge cases when there is a clear and present need for So this mental shift allowed us to move faster and deliver value to customers more quickly and stay aligned with what is real and practical scenarios that happen for our customers as part of their auth workflows. So now we are very much intentional about deeply listening to our users, constantly validating their pain points and our solutions and avoid premature optimization at our cost. our team extremely agile. And our customers are amazed by the speed at which we are shipping features and adding value more aggressively than we did before. So if you ask for a mistake, I think this is one mistake, call it premature optimization or curse of knowledge. But staying grounded and being closer to the reality is something that we didn't do in the past as much as we should have. [0:19:14] Noah Labhart: Okay, so let's move forward. I'm curious what the future looks like. And we've already talked about agentic authentication and AI and things, but I'm sure there's more there. I'm sure there's more that you're planning for. So what does the future look like for ScaleKit, for the product and for your team? [0:19:30] Ravi Madabhushi: I think definitely the future of ScaleKit is centered on enabling and empowering developers secure agentic access to their applications. We have a strong hypothesis that very soon, agentic access, where AI agents actually interact with web applications or APIs, will surpass human user access or even M2M interactions. This shift from human to agentic access introduces completely new challenges when it comes to authentication and authorization, as these agents will operate with different behaviors and securing agentic access needs different requirements compared to human users. So our focus is on developing an authentication platform that is built for this new reality. We are working to ensure that agentic applications can seamlessly discover application capabilities and execute those capabilities securely and do so in a way and auditable. Again, this applies whether agents are acting autonomously or on behalf of users based on their instructions. But our hypothesis is agentic access is something that's coming. It's very real and very near. We have to build our auth platform in such a way that will help developers secure their products and secure their applications from agents accessing their capabilities. So what excites us most building for this particular future is authentication is about logging in a user, verifying their password, and things like that, but actually enabling secure and intelligent collaboration between humans on whose behalf agents could be acting and the actual agents and the systems that they're acting on. So we are committed to staying ahead of the curve. We are working with a few of our close design partners to build agent authentication layer for their applications. We are providing the tools and infrastructure that is needed to make these new patterns safe and accessible. So this vision is what's driving our team every day. And this is what is keeping us motivated to keep pushing the boundaries of what is possible in agentic identity and agentic authentication. [0:21:53] Noah Labhart: Let's switch to you, Ravi. Who influences the way that you work? Name a person or many persons or something you look up to and why. [0:22:00] Ravi Madabhushi: I think the person who was at the biggest influence on who I am today, I would definitely say it's my dad. He grew up from an extremely humble background with almost nothing, one meal a day situation, but he worked hard for himself. He was extremely sincere about what he's doing at all times. His work ethic is great. he not only worked hard for himself but he always made sure that his siblings and the extended family or his friends he made sure that he was able to help them out in every possible way that he could and I think it's extremely hard to look past him when I talk about who influences me he made sure that I'm always humble I'm always focused and he inculcated the sense of responsibility into my work, what I do, and how I'm interacting with. He definitely is an inspiration, and I constantly live up to the values that he taught me. [0:23:05] Noah Labhart: Ravi, 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 we 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:23:19] Ravi Madabhushi: I think one thing that I've realized in the last few years it's not about what you built but it's about how do you communicate the value that you're solving with what you built and whom did you build it for you need to learn or you need to understand what you built and how do you effectively communicate the value that you built to people that matter so i would ask this person if he has already built a great thing then the question that that I would ask him is, whom did you build it for? And what value does it add to those people whom he built it for? I think constantly focusing on those two problems goes a long way rather than the actual capabilities or features or the actual product itself. If you think about Google, it's just a text box and a button, but what it unlocked is it unlocked me to find anything that I want in the internet. From a remote corner in India, getting in, and MIT liberated. So I think that kind of clear articulation of value of what you built and whom you built it for is extremely important, especially when you get started in the first two, three, four years of your journey. I would focus on that. I would ask him to do the same. [0:24:35] Noah Labhart: That's fantastic advice. Well, Ravi, thank you for being on the show today. And thank you for telling the creation story of ScaleKit. [0:24:41] Ravi Madabhushi: Thank you so much, Noah. [0:24:44] Noah Labhart: 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.