Code Story · Transcripts

S12 E16: The LLM Wild West: Moving Beyond Fragile Notebook Prompts to Build a Multi-Model Enterprise AI Control Plane with Nikunj Bajaj, Co-Founder & CEO of TrueFoundry

April 28, 2026 · 32:36
Listen to the episode Download .txtDownload .vtt
Nikunj Bajaj

TrueFoundry provides an enterprise-grade AI gateway product. And our AI gateway definition is slightly broader than the industry. So we encompass something called an LLM gateway, MCP gateway, and agent gateway. Think of these three as three components, LLMs, MCPs, and sub-agents to build your agentic applications. AI gateway literally sits in the middle of your traffic to every single API call that you're making to your LLMs and agents. sits in the critical path of your request, you want to make sure that piece of software always stays up. So we actually chose a design principle that is called a split-plane architecture. My name is Nikunj Bajaj. I'm co-founder CEO at True Foundry.

Sound bite

This is Code Story,

Noah Labhart

a podcast bringing you interviews with tech visionaries.

Sound bite

It's six months moonlighting. There's nothing on the back end.

Noah Labhart

Who share what it takes to change an industry.

Sound bite

I don't exactly know what to do. Many goes to get right.

Noah Labhart

Who built the teams that have their back.

Sound bite

A company is its people. The teams help each other achieve more. Most proud of our team.

Noah Labhart

Keeping scalability top of mind.

Sound bite

All that infrastructure was a pain. Yes, we've been fighting it as we've grown. Total waste of time.

Noah Labhart

The stories you don't read in the headlines.

Sound bite

It's not an easy thing to achieve, mind you. Took it off the shelf and dusted it off and tried to begin.

Noah Labhart

To ride the ups and downs of the startup life.

Sound bite

You need to really want it. It's not just about technology. All this and more.

Noah Labhart

on Code Story. I'm your host, Noah Labhart, and today, how Nikunj Bajaj has built an enterprise-ready platform with a target AI gateway and a Gentic deployment. Nikunj Bajaj was born in India and completed his undergraduate studies there. The intrigue of Silicon Valley in 2013 brought him to the Bay Area, where he got his master's His studies and his time after school supremely inform what he is building now at his current venture. But outside of tech, he is an outdoorsy person enjoying running, biking, and scuba diving, with his favorite place to dive being Bali. He enjoys playing board games with his friends and listens to a lot of audiobooks from a wide range of genres. After joining Meta, Nikunj realized that building machine learning models for the company is different than using public ecosystems. systems. He realized early on that machine learning models will hit an inflection point where the stacks will need to change and adapt. He and his team decided to take on this challenge ahead of that inflection point. This is the creation story of True Foundry.

Nikunj Bajaj

True Foundry provides an enterprise grade AI gateway product. And our AI gateway definition is slightly broader So we encompass something called an LLM gateway, MCP gateway and agent gateway. Think of these three as three components, LLMs, MCPs and sub-agents to build your agentic applications. We serve large enterprises, help them connect, observe and govern all of their agents into a single control plane. Besides the gateway layer, TrueFoundry offers another product that we call AI deployments. This helps enterprises to deploy and train custom LLMs on their own GPUs, host their MCP servers, and even run these custom agents, all through a Kubernetes native interface on their own on-prem or VPC compute layer. So that's our product, basically summarizing the two major modules that you asked for, AI Gateway and AI deployments. The starting story of True Foundry actually goes way back and the motivation starts from our time at Meta. So before joining Meta, I was actually at a startup where we were building a lot of machine learning models and ML infrastructure, but using the public cloud ecosystem. ecosystem. When I joined Meta, a realization hit me that the way you build machine learning models, ML applications at Meta is actually foundationally different from how you do it using public cloud ecosystem outside. Meta really thinks of machine learning as a special case of software engineering and Generative AI as a special case of machine learning. So you can almost think of this as a stacked, vertically stacked platform, software in the middle and generative AI in the top, all of them running through a unified interface on some underlying infrastructure basically. What that helps me do as a machine learning developer at Meta is I can take a generative AI model or an ML application and run them on thousands of nodes without actually depending on backend engineers or infrastructure people at all. On the other hand, most of the enterprises create two completely parallel stack for running their software applications, their machine learning applications, and actually now even third stack for their agentic AI applications. When we started back in 2022 beginning, like this was before ChatGPT, our core hypothesis was at some point machine learning will hit an inflection point where more organizations will want to ship large enough number of models to production, where this parallel stack won't work and they will need to switch to this verticalized stack like that of Meta and that was the driving factor for us to kick start a platform like this where we take our inspiration from Meta and adapt it for the requirements of large enterprises.

Noah Labhart

Let's dive into what you would consider the MVP for TrueFoundry. That first version of the product you built, how long did it take to build and what sort of tools were you using to bring it to life?

Nikunj Bajaj

Actually, it turns out that given we always aimed to build True Foundry as a software that manages production workloads, the MVP of True Foundry was not something like an MVP that you hear in the traditional sense of MVP that you roll something out within a few weeks and it's ready to go. It's one of those things where founders have started with a core belief, with a fair understanding understanding of what needs to be built with an opinion of how the world will evolve and when you start companies like these typically your MVP actually takes a fairly long amount of time to build this out so in fact we spent more than a year heads down developing the platform because we were building the core infrastructure on top of which enterprises can start building their machine learning and generative AI applications and start launching them to production so we We actually spent a lot of time building out this plumbing layer. The two technologies that we ended up taking a bet on was actually Kubernetes layer, where we believed that at some point all of machine learning will also get orchestrated through Kubernetes layer. And actually this is one of the other things where we took an attack informed bet in the beginning of the founding story of True Foundry, where we noticed a void getting created in in the industry where Kubeflow that used to be the only piece of software that was meaningfully helping run organizations, machine learning on top of Kubernetes was actually seeing a declining contribution. Google was investing more and more in Vertex, Kubeflow started declining and it actually was very in line with our bet that machine learning will run on Kubernetes. So we actually took that opportunity, invested heavily into Kubernetes and built built our entire software ML GenAI stack to be run on top of Kubernetes, which by the way also gave us flexibility to run on any underlying infrastructure, AWS, GCP, Azure, on-prem, etc., which is extremely desirable now in the world of GenAI.

Noah Labhart

Okay, so then you've got that version, it's working, you're getting the feedback you want. How are you building your roadmap for True Foundry? How are you deciding that, okay, this is the next most important thing to build or to address with the product?

Nikunj Bajaj

There are two things that have always guided our product roadmap and our product thinking. One is the foundation, right? We think about the architecture, which stays consistent with everything that's happening in the industry. Some of the core principles of building, how you manage your infrastructure, how do you run your applications and workloads, that's foundational. consistent in this grounding principle that we learned at Meta. And then the second aspect of it is the UX layer, the DevX layer basically, which by the way, kept adapting as the modus operandi of the day was changing. So actually, if I walk you through the timeline a little bit, end of 2022 is when ChatGPT was launched. And that was the aha moment of the industry that you can start sending out these amazing prompts and you start getting some very meaningful responses from these large language models. models. Then enterprises realized that actually these responses are not as useful unless they start grounding themselves in their own data sources. Right? So RAG became a thing. Retrieval Augmented Generation became the new model, apparently in 2023. As 2024 emerged, the world started to think about agents and multi-agentic systems. And in 2025, this evolved into MCPs or model context protocol, A2A or agent-to-agent communication. So you see that every single year, the modus operandi of the world kept changing. And the way TrueFoundry informs its product decisions is we adapt to the modus operandi. We built out the UX layer around the modus operandi, but we bring them always back to the same grounding foundational principle that we had started with about how you run these workloads on the same underlying infrastructure. So the biggest and most meaningful shift that happened in this roadmap is how enterprises are building agentic applications and how you need to connect all these components that I talked about with the evolution, right? your actual agents, your MCPs, your LLMs, your guardrails, all of that through one unified layer or a control plane that we call as AI gateway. I think that ended up being the most informed shift from that MVP that we talked about to the thing that literally every enterprise that we know of today is jumping towards.

Noah Labhart

Okay, I hear you saying we. Tell me about how you built your team. What What do you look for in those people to indicate that they are the winning horses to join you?

Nikunj Bajaj

I think the team is the most, call it like our proudest, we win at True Foundry. First of all, let me give a little bit of a background about my co-founders, because when we started, I think that ends up becoming the right seed for the company. So my co-founders, Anurag and Abhishek, they are actually my very close friends from undergrad. And by the way, now our undergrad is approximately two decades old. So we practically grew up together. Great to be building the company with your close friends. But also we were fortunate at the fact that my close friends were also like bringing lots of complimentary skill sets to build the company together. For example, Abhishek was also at Meta where he led the entire videos org and brings in this very deep infrastructure experience from Meta. And Anurag used to use machine learning to build trading strategies at WorldQuant and he was a member of the founder's office and has led a lot of expansion initiatives within including expanding the company to different geographies as well. So this actually brought us from my machine learning, Abhishek's infrastructure and Anurag's strategy and go-to-market background. It formed the right team to begin with. Then we started hiring and actually turns out that the first few months of the company, we actually ended up spending quite a bit of time of the founders in just hiring. We look out for, of course, some of the hard skill sets because building enterprise infrastructure, you can't teach everything from scratch. So people should bring in some of those hard skills. we focused on whether people cared about solving this problem, whether people believed in this vision that we are working towards and do they naturally align with what we're talking about because that's the thing that in the early stage of building a startup you don't want too much deviation from that vision like people should be aligned on the mission and your vision from the beginning. So we would look out for that talent and lastly the fact that they are bringing in the kind of ownership, the founder mindset that's needed to build an early stage startup essentially And fast forward to today, we are approximately 90 to 100 people in the team. And even today, we have every single person who joins TrueFoundry gets through founder interviews. We are extremely deeply involved into building the team. We think that's the highest value that a founder can create in a company.

Noah Labhart

Okay, let's flip to scalability. And I'm curious about this, you know, given obviously the nature of what you're building, and it's sort of ingrained in probably how you build a product. how you approached it in the beginning. And then if there has been interesting areas where you've had to fight scale as you've grown.

Nikunj Bajaj

Scale has two aspects to it, right? I always think about the entire business when I think about scale. Now, one aspect to scale is around your platform core infrastructure, right? Which lets your product scale meaningfully. And the second aspect of your scale is how you think about the overall company scaling, your go-to market scaling. And both of those are important aspects, right? First of all, the general infrastructure scalability of our platform was heavily rooted in the right design principle that we started with, right? Everything that we did not, we end up making it compliant with the industry standards, the enterprise stack, all running on top of Kubernetes and all getting exposed in the rawest form of Kubernetes, a language that every enterprise understands. We ended up exposing that as part of our product. So that helped us leverage the entire community-based development around Kubernetes, autoscale, horizontally scale our product basically. The second around the infrastructure side, which becomes even more important, is the AI Gateway product. And let me actually throw some light into why scalability is critical here. AI Gateway literally sits in the middle of your traffic to every single API call that you're making to your LLMs and agents. And if something sits in the critical path of your request, you want to make sure that piece of software always stays up. So we actually chose a design principle that is called a split plane architecture. Okay, where we have control plane, the brain of the system sits separate from the actual gateway plane, which basically sits in the middle of the critical path of your request. And the Gateway plane itself, we designed it as a lightweight system that you can deploy multiple instances of it across different regions of the world. Today, our Gateway plane runs across 17 different regions of the world as a highly available piece of software. So that continued to help us scale and maintain our SLAs. And fast forward to today, sharing some metrics here. We are actually able to achieve more than four nines on our Gateway. Gateway and we are running SLA of less than 5 milliseconds worth of latency that Gateway introduces which is remarkable compared to other Gateway products that achieve in the industry. And our customers are running our product today in production critical application where we have tens of thousands of requests per second that we are fielding through our Gateway product. So the system has really scaled from a software standpoint. The last part around scale is how do you think about scaling the entire company, the go-to And this is an area like where we have followed an experiment or stay extremely lean approach until we have proven that something works. And when we realize something works, we create a machinery around this thing. So what I mean by machinery around this thing, we mean that then we scale in that function aggressively. We hire in that function aggressively. We run training programs. We run onboarding programs. And we programatize the entire thing that this itself can now run as a truly automated scalable piece of an organization, basically. So that's a modus operandi that we have followed from the beginning, where we experiment in a lean way until we prove and then we scale aggressively.

Noah Labhart

I want to dig into something here. Why do you think that there is a pull for AI Gateway? And what are enterprises realizing now that wasn't obvious before?

Nikunj Bajaj

We have actually seen the entire evolution of this AI gateway not being in demand to AI gateway being in critical demand over the last three years since the ChatGPT moment. And let me actually walk you through this timeline a little bit. Back in 2023, enterprises were toying around the GenAI applications, right? They were building some internal productivity applications, mostly prototypes, POCs type of things. In 2024, as agents started to become a reality, enterprises started realizing the value that these agents will likely be able to create over a period of time. So they started becoming more and more serious about GenAI going to production. Okay, and at that time, one of the big shifts that had happened in the industry was every new launch of a model from different providers was better than the other ones, right? So OpenAI, Anthropic, Gemini, and open source models, all of them were and nobody was ready to take a bet that this is a winning horse. This model provider is a winning horse. So multi-model stack became a reality in 2024. But at that point, all of these models were what we call what we call as our OpenAI compliant API signatures. So people thought that I'm going to build out an internal LLM proxy layer that will help me route these queries to any of these model providers. Great. It worked. It set in the critical path of their model queries and nobody was looking for an AI gateway externally. This is in the beginning of 2024. As we started moving towards the end of 2024, these applications, agentic applications that they started actually started going to production, which means the uptime of these applications became critical. But at the same time, the world outside of these enterprises started changing very rapidly, which means these model API signatures that were consistent earlier started diverging. proxy layer has to maintain this completely diverging model API signatures. But at the same time, new protocols started to emerge. So like MCP started to emerge, A2A started to emerge, and people could now see that what started as a thin LLM proxy layer will start duplicating itself in the MCP world and in the agent world. So now this proxy layer has to become an overall control plane for for all of the agentic or GenAI applications that are being run within the enterprise with all the things around guardrails, compliance rules, cost, FinOps layer. All of these things have to be centralized within this control plane. They had to centralize the observability, governance layer of these agents into one single control plane. And that's when enterprises started realizing that building a piece of software as complex as this while I need to maintain these applications in production becoming too complex, and that's when a natural pull for AI gateway started happening in the industry. So we started seeing this in the Q1, Q2 timeframe of 2025, where we started seeing inbound requests. And by the way, putting it into perspective, Gartner also predicts that by 2028 we will have more than 70% of enterprises that will end up adopting an AI gateway and we are really seeing that pull coming to life right now.

Noah Labhart

As you step out on the balcony, you look across all that you've built. Thus far with True Foundry, what are you most proud of?

Nikunj Bajaj

The absolute thing that I'm most proud of is the team that we have built at True Foundry. The reason I believe that is the biggest win is because we see this very smart group of dozens of people who are at True Foundry who are extremely motivated to solve this problem long-term. just quick wins. People want to solve this foundational problem. People are ready to roll up their sleeves, get into any of the problems within the company, cross-functional challenges, talk to customers, fix customer problems, build the products, right? Salespeople are talking to product people, giving feedback, product people are jumping on customer calls. So this kind of motivation that we have within the company is the biggest win. And it also shows in the rate of hiring, the rate of retention, the rate of churn of these people within the company. I think that's the massive win. Outside of this, when we think about the overall product landscape, one of the biggest things that I'm proud of from a product standpoint is this core engineering or the plumbing layer that we have built out, where how we can run any piece of software fitting into an an existing complex enterprise stack and just run this in production, right? So our stack, our foundational stack, not depending on a modus operandi, really allows us flexibility to adapt to the market. That I think is such a massive differentiator that True Foundry has built over the years that is extremely challenging to replace for any other new player out there.

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.

Nikunj Bajaj

Back in 2024, remember how I mentioned that all the enterprises thought that this LLM proxy layer is going to be a thin layer sitting in a critical path of the request and people will build this in-house, right? That's what the enterprises were thinking. And actually, TrueFoundry, while we had that product back then, while we had built this out for our own internal usage, we had built this out as an external proxy layer, we also believed that this is a layer that will be built more in-house and it's such a thin layer that people will actually not buy this. That mistake made us lose some of the development that we could have made for the year between 2024 beginning to 2025 beginning around the product of AI Gateway, right? And then we adapted to solve for this mistake by keeping our eyes and ears open to signals that we were seeing in the market, how this gateway layer evolved and how this became a component of the overall enterprise infrastructure over a period of time. And the way we saw for this mistake was actually responding to it really fast once we notice that trend, once we notice that pull from our customers. And we are obviously in a great vantage point where we are privy to these signals early on, we responded extremely fast. Like, we acted quickly, decisively. We invested a lot of our engineering effort, product effort, go-to-market effort around this thing, and within six months we actually built out so much we covered so much ground that today we are proud to say that we actually are one of the most advanced ai gateway products out there and this again kudos to the team that they shifted so quickly and built the product out that fast let's

Noah Labhart

look into the future then so what does the future look like for true foundry for the products you built for the team for the company and you know as you look into the industry too like maybe the the challenges around enterprise-gen AI projects and what that looks like moving forward?

Nikunj Bajaj

The reality is that even today, by the way, with all the buzz around agents and agentic applications, I think most of the enterprises are still building these agentic applications in a very low-risk, low-reward setting. And what that means is people are probably building hundreds of these AI agents, which which are primarily personal productivity boosters, or maybe at best, a small group of people, a small group of analysts, a small group of marketing people. So these are like things that are being built for small functional units. And the impact of these applications are likely not as big. So I think the first challenge that the industry will need to solve for is actually go from these like extremely microagentic applications to applications that have meaningful business driving impact. Enterprises that have done the best in the GenAI world are the ones who have taken some of these bolder bets and put these agents in the critical path of their business as opposed to these side case. So I think that's the first version that will start changing in the industry, and we're starting to see this trend happen as people start putting agents in the critical path of their business, ensuring that they have complete control over these agents, it does not end up doing performing unintended behaviors, right? People do not have prompt injection attacks, agents don't end up giving out these thousand dollar flight tickets for free through people jailbreaking and stuff, right? So those are some of the things that they will really need to tee up, because one such big mistake will again take back all the investments around the agentic side within the enterprise. So these are a couple of things that the industry will absolutely need to solve for, which means that architecting their stack right, having where they are able to see meaningful applications landing in production while they can do this with confidence. So that I think is the industry level challenge. And that also very nicely shapes up in how we think about the company evolving. Because at this point, it's fair to take the bet that the biggest type of advancement in the compute utilization will happen through the agentic applications. Like most of the compute in the world will start going more and more towards these agentic applications. And from a TrueFoundry lens, we are actually building out the orchestration platform, the control plane layer, where we can manage all of this compute flowing through a single gateway layer. So we have observability and governance and we can run this compute to our AI deployment layer all on top of Kubernetes. it is right so we start becoming this one platform where agents are developed and orchestrated runs okay and this i'm still talking about the next few years where agents become a real thing but in the long term the vision of the company is that we want to become the central compute orchestration platform for organizations. So reasonable way of mapping TrueFoundry is what data warehouse companies like Databricks or Snowflake did for data of an organization. They unleashed magic by centralizing the data of an organization. TrueFoundry intends to do the same thing by centralizing compute of an organization. Because once you start bringing all the compute layers in one central control plane, you will notice that a lot of the other things start falling into place. and this vision that we started with in the beginning is starting to become more and more apparent with agents taking control of this compute layer through MCP layer and skill sets, skills of the agents basically.

Noah Labhart

Let's switch to you, Nikunj. Who influences the way that you work? Name a person or many persons or something you look up to and why.

Nikunj Bajaj

Maybe I will mention two people here, one from my personal life, one from my family an entrepreneur that I respect a lot. So the one from my family is actually my dad, who influenced a lot of how I work. Maybe I'll share a story here. There's one day when I was ironing my shirt, and while i was ironing my shirt i left the bottom 10 of your shirt that you tuck in actually i left it unironed, okay? And my dad was like, of course, my rationale was that nobody gets to see it, so why Why do iron it? And my dad was like, it actually doesn't matter that people get to see it or not. But if you are doing something, you do it with perfection because you know there's an unironed edge, quite literally, of what you have worked on basically. And that will never give you confidence that you executed on something perfectly. That's the modus operandi with my dad works. Do whatever you take with all your heart into it and with all the perfection. And that now shapes literally everything that I end up doing. Like what is known as probably the most meaningless task in building a company, I still do it with that complete dedication and try to execute that with perfection. So that has just shaped how I operate as an individual in life, not just in company building. And then an entrepreneur that I admire a lot, the way he operates is actually Elon Musk. I read a lot about him. Of course, there's always these controversial statements that keep happening about Elon Musk in the world. but like the sheer dedication where he boils down everything to first principles and he takes these bold bets and is not scared of building out these extremely large like long-term problem statements and showing that if you are executing on these problem statements with a lot of dedication you create that kind of environment like that alignment towards the vision of what you're are working towards then you have a team that follows it right and what we have seen in our team and this is like not just true with my modus operandi like my co-founders as well that the three of us align on this vision that we are working towards long-term vision right where we are solving a problem that really matters the team is bought into that problem statement and now even when things are slightly rough the team will just come together and they will work towards it right like they will work through patches of the company building and that's you care about and the fact when they see that founders are truly driven towards working towards that mission they are putting their heart and soul into doing that thing the team starts emulating that behavior and that is one of the things that when I look up to the stuff that Elon Musk has done in life like I keep taking inspiration from that.

Noah Labhart

Nikunj 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 off to you to give that person having gone down this road a bit.

Nikunj Bajaj

Like at any point in time, you are either earning your reputation or you are burning your reputation, okay? And reputation, I do not mean to say in the shallow sense, you know, where people know about you and they're talking about you. I'm not talking about your brand. I'm talking about your reputation as a person, as an entrepreneur at a deeper fundamental level, right? And what that means is that if you are a person who is doing things with the right intent, and you're communicating that thing always, every single time, clearly, honestly to everyone around you, where you do treat your you do not have this three different faces that you show to your team, to your investors, and to your customers. You keep things consistent. If you make mistakes, you call that out to everyone. If you have a vision, you work towards that. If you make some changes, you call that out. You keep people aligned on what you're working towards, and you're ready to own things up. That repetition keeps on building, and then even if at some point you make a mistake, people know that whatever you are saying is all there is to know, and they do not have to second guess what you are doing. So like your entire ecosystem that is critical for your own success will stay aligned with you through and through, and that I think is the biggest piece of advice that I would give to any upcoming entrepreneur, that just focus on that, do not try to game the system. Life has a way of adjusting, getting refined and working in your favor over a long horizon of time.

Noah Labhart

That's fantastic advice. Well, Nikunj, thank you for being on the show today. Thank you for telling the creation story of True Foundry.

Nikunj Bajaj

I really appreciate this, Noah. Thank you so much for having me on the show.

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.

Transcribed with Whisper and reviewed for names and terms; speaker labels are automatic and may contain small errors. Timestamps link to that moment of the transcript.