Code Story · Transcripts

S11 Bonus: Moving Past Semantic Layers to Eliminate Hallucinations and Build Dependable Enterprise Data Agents with Tanmai Gopal, Co-Founder & CEO of PromptQL

October 23, 2025 · 27:19
Listen to the episode Download .txtDownload .vtt
Tanmai Gopal

As AI started to become a thing, we got together, spun up a small team inside the company and said, if the future is going to be AI accessing data and not apps accessing data, what are the challenges that exist? What problems need to be solved? And we spent a fair bit of time really working through that, getting really deep into the space. And what we realized was that the hardest problem with AI accessing data inside a business is a problem of accuracy and trust. And as everything improves, the accuracy and trust trust problem is going to be the most important challenge to solve as it's not going to be connectivity. It's not going to be the format of the API. It's really going to just be accuracy and trust. I'm Tanmai Gopal. I'm the co-founder at PromptQL. This

Noah Labhart

is Code Story, the podcast

Sound bite

bringing you interviews with tech visionaries. Six months moonlighting. There's nothing on the the back ends who share what it takes to change an industry. I don't exactly know what to do. Many goes to get right who built the teams that have their back. Company is its people. The teams help each other. She was proud of her team. Keeping scalability top of mind, all that infrastructure was, 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. My shelf and dusted it off and try to begin Jim, 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.

Noah Labhart

I'm your host, Noah Labhart. And today, how Tanmai Gopal is giving you custom AI with near-perfect accuracy, enabling you to build reasoning specialized for your business. this. Tanmai Gopal is a repeat guest on the podcast. Back in season seven, he came on to tell the creation story of Hasura, which is a universal data access layer for next generation apps. He talked through he and his colleagues' frustration with building API after API and taking steps to ensure people wanted to not do that work anymore. As Hasura started to take off, Tanmai started to ask the question around what was the right method for developers, in particular their applications, to access data. With the advent of AI, he and his team dug into what the right problems were to solve with AI. And they identified the main problem with this type of tech was accuracy and trust. This is the creation story of PromptQL. well.

Tanmai Gopal

PromptQL is the second product from our company Hasura and we got started about two years ago and launched our product early this year in January, February. Think of it as a virtual AI analyst inside your organization. Instead of business stakeholders or customers having to talk to a data analyst or data scientist or data engineer to help them get access to data and get get access to insights, they instead talk to the AI analyst to get that insight or to set up a workflow on their data. And the existing kind of data team, the data engineers, the scientists, the analysts, they turn into teachers of the AI analyst. And also the problem that we were solving there was providing a safe, performant way for apps to access data over a GraphQL API. Saying that, hey, as application development is coming faster and developers want better tools, What's the right API that needs to exist for apps to easily access data? And then as AI started to become a thing, our founding engineers and can recruit some folks from Google search and do it, stuff like that. And we got together and we said, spun up a small team inside the company and said, if the future is going to be AI accessing data and not apps accessing data, what are the challenges that exist? What problems need to be solved? And we spent a fair bit of time really working through that, space and understanding as AI models continue to improve, what will be the tough problems to solve. And what we realized was that the hardest problem with AI accessing data inside a business is a problem of accuracy and trust. And as everything improves, the accuracy and trust problem is going to be the most important challenge to solve as it's not going to be connectivity. It's not going to be the format of the API. It's really going to just be accuracy Accuracy and trust. Everything else will get solved, but that's the piece that'll be hard. And so we spent a lot of time, our lab did a lot of work to figure out what that is. And then when we launched in January, the ramp was insanely powerful. It was really fast. The product was very powerful. And that kind of gave us an adoption ramp for PromptQL amongst our enterprise customers that was really good. So good that we now don't say we're Hasura and our second project is PromptQL. PromptQL. Just to not confuse people, right? But of course, if you dig in deeper, you'd be like, oh, cool, Hasura, second product, PromptQL. But now we're just like, we're PromptQL.

Noah Labhart

Let's dive into what you would consider the MVP for PromptQL then. So I'm sure it's embedded in that story you just told. How long did it take to build and what sort of tools in particular are you using to bring it to life?

Tanmai Gopal

Zero to public beta, which I would say is the MVP that was customer facing took about two years. That's from zero, like all the way from like ideation stage to building. Yeah, I think the core, maybe engineering and AI bit of it was probably shorter, maybe about a year, slightly more than a year, a year and a half. The kind of tech stack is very much the kind of foundation of the technology. And this is the reason why we were able to leapfrog ahead of a lot of other folks in the ecosystem. If you think about what an AI analyst needs to do, that needs to be somebody, something as a user, you want to talk to the AI analyst, give it a question, have it understand your question, go do some stuff with the data, and then respond to you in a way that you can trust it, right? Now, there are multiple parts of this problem. If you look at the bottom most foundational part of the problem, that part is data access itself, which is how is the AI system, whatever this AI system is, it magically understands what you're saying, it's magically accurate, assume that part is taken care of, how does it actually access the data? And that's the place existing technology that we'd set up with Hasura really was foundation, right? And if you look at kind of the work that we do with the GraphQL, we essentially had data connectors with really fine-grained authorization policies that were powering transactional applications that we'd already built, right? And we're powering application that massive scale for in really mission-critical scenarios for the Fortune 100. And so when you think about that foundational stack already existing, what we did was we replaced kind of the GraphQL layer and instead So it was the same data connectors, the same security, the policy engine. And this data layer realized everything as SQL instead of GraphQL. So we changed kind of the top bit of that data access, federated data access technology to speak of virtual SQL API instead of a GraphQL API. And that kind of became the data connectivity piece. And what that guaranteed was a sane way to talk to any data source, structured, unstructured, whatever. Apple. That was essentially saying, if you're accessing a database, that's a SQL database, select star from users. You're accessing a Mongo, it's still select star from users. You're accessing Google Calendar, it's select star from events. So it doesn't matter what you access. It doesn't matter if it's an API, it doesn't matter if it's a vector database, it doesn't matter if it's NoSQL, SQL, it all feels like a SQL API, a virtual SQL API. And that kind of became the foundation data access piece, right? So think of it as if you plug in an MCP server, our AI sees does see. So it doesn't care about where that data is and what its API technology is and whatnot. And then on top of that came the AI piece, which was a whole other challenge. And that's the piece that took a fair bit of time to build, which is the part that can understand what you're saying and respond to you accurately and stuff like that.

Noah Labhart

That's actually a perfect point to kind of move forward into the next part of it. I'm curious about how you progressed and matured PromptQL, Well, similar to what we've talked about before, how did you build your roadmap? How did you go about deciding what was the next most important thing to build, to add or to address with PromptQL?

Tanmai Gopal

It's two parts of the problem, right? Which is first, what is the core architecture going to be of the AI system that is going to be scalable? And the second part of it that we looked at, especially when it comes to AI, is what is the business problem and use case that we're going to attach ourselves to product market fit, right? Because especially with AI, it's really important to get your first set of customers right, because they will guide the rest of the product journey, right? Everything is so new with AI in general, that you can't take an established playbook and apply it, right? You can't say, this is the playbook for building an open source database and commercializing it. This is the playbook for building an observability SaaS solution, right? Or this is the playbook for an on-prem cybersecurity company, right? Like these kind of playbooks over the last 20 years have really matured. We've learned what works, what doesn't work, right? But that doesn't exist for AI. The only thing that can help is the market, right? So the first set of customers that we choose was going to be very important. So what is the business problem that the North Star that we would attach ourselves to that would help us choose the right set of customers? And those are the two real pillars, right? What is the core architecture going to be so that we can keep investing in it and its skills? And second, what is that business North Star going to be that helps us get the right set of customers and keep evolving the product in the right way?

Noah Labhart

You know, are you saying we, and this is how we approached roadmap, how did you build that team? How'd you go about building that team? And, you know, maybe it's similar to Hasura, but how did you go about deciding that those folks were the right horses to join you?

Tanmai Gopal

it's a little bit of a founder instinct I would say when you've worked with enough people and you know what the right founding engineer and founding member team looks like for different types of the problems right and then certain kinds of knowns and unknowns so it'll be different for everybody but for us what really worked was we needed people with kind of a foundation understanding of AI systems all the way from say machine learning systems to LLM systems not at a AI lab lab research scientist level where they're thinking about the AI model two years from now. Not that level of understanding, but let's say anybody at an AI lab who's working as an AI researcher on once the pre-training is done of the model, right? And we knew that we needed that level of understanding of the AI and ML space to be able to really understand what the right AI architecture is going to be. And so that's our first pillar of setting up the right architecture. and you need the right people to figure out the known unknowns, to help navigate the unknown unknowns and set up what that AI architecture is going to be. And so for us, that was very kind of foundational knowledge of like computer science, computer systems, and kind of systems level understanding of how the entire stack works, plus AI ML foundational knowledge, maybe what I would call like a level of masters or maybe the first few years of your PhD kind of level knowledge of how AI and ML systems work. So that kind of was on the tech side. And then I would say on the business side and go-to-market side, my co-founder and some kind of members of our GTM team, when we looked at that side of the team, what we really wanted was, according to our business North Star, we weren't sure till we launched in February whether it's going to be product-led, it's going to be top-down, it's going to be a combination, it's going to be SaaS. like what's the go-to-market motion going to be? So we needed kind of people with enough breadth on playbooks to do rapid experiments and decide what go-to-market motion we were going to go for.

Noah Labhart

This will be interesting given it's, you know, it's embedded in your bread and butter, right? I'm curious about scalability specifically for PromptQL. Has there been, you know, areas where you had to think through this as far as architecture? Was it sort of just baked in all the time? Or have there been areas where you've had to fight it as you've grown?

Tanmai Gopal

So scalability is very core to PromptQL and to the PromptQL kind of value prop, right? And so those kind of two pillars that I talked about, the business pillar that we ended up choosing the business pillar that we ended up choosing and that North Star was actually accuracy that scales. And so what we realized early on is that there are going to be two parts of the problem. One is the core architecture that gives you baseline accuracy. is going to be the architecture that allows accuracy to scale. And if you look at the way AI systems work today, right? If you take a really narrow use case, you take a small amount of data, you take a small number of users, you can actually get AI to be really accurate, right? The more you narrow it, the more specific your use case is, the easier it is to achieve high accuracy. And what we figured was that's not going to be enough for AI. What needs to happen is that accuracy needs to scale to a breadth of use cases, to a breadth of users, to the breadth and chaos of data that actually exists in an organization. And that's what we anchored on. And that's the bet that we took. So we said that building a specific agent that works on 20 tables, helps you do analytics on it, ask questions, do visualization, maybe set up a workflow, move data from here to there, right help me do this whatever it is not it's not good enough what is important is how can thousands of users interact with a data system that has hundreds of thousands of tables and metrics and apis and how can i solve that problem how can it solve this problem at massive scale and still be accurate right how can we provide accuracy that scales and that became our business North Star, and we realized that was the better take and it was really gratifying last month when article came out on, and then where we got, I did an interview with Forbes and with Fortune talking about exactly our experiences. When that report came out of 95% of enterprise AI projects are stuck in pilot. That's exactly what our hypothesis was. And we were saying, hey, most of your AI projects in pilot will work. The demos will work, but it will never scale for two reasons. It won't scale because the behavior change that a user needs to go through to adopt AI is pretty serious, right? It's like a very, it's a very big change for a user. So if the AI doesn't do enough for me, I won't change the way I work, right? It has to do enough for me to change my behavior. And so a narrow use case, that's too narrow. If it automates setting up a calendar event for me when I chat with it, right? Just, it just does that really well. It's not good enough. I don't want to change my behavior. I'd rather go to the calendar app and choose my own meeting. it needs to be broad it needs to be able to do calendar and email together so that i can change my behavior otherwise it's just too much pain to do this and the second part of it was accuracy can be achieved in a in that small thing and you'll feel good about it you'll be like oh cool look at my pilot it's so accurate it works and the instant it hits the real world where you don't have 10 users testing it but thousands of users right you can't tell them how to prompt engineer You can't teach people how to prompt engineer, right? They learn themselves. How are you going to tell a thousand people that if you prompt my product this way, it'll give you really accurate results. And if you prompt it this way, it'll suck. Not going to work. So those kind of two things happen. That's exactly what the report says is the problem. And we've circumvented that problem and seen success with that at scale. And that really, that bet panned out, which I feel really good about.

Noah Labhart

So as you step out on the balcony, look across all that you've built with PromptQL in particular, what are you most proud of?

Tanmai Gopal

I think the fact that we've focused on solving the accuracy at scale problem and we achieved that, right? We go live with a few public case studies, but some of the world's largest like operations companies, Fast Food, Global Chain, one of the largest networking tech companies, the largest like quick commerce, like online delivery grocery companies in the world, two of them in the world, are our customers and deploying it at massive scale. And where we've beaten out the incumbents, whether it's Snowflake and Databricks on one side, it's other startups that had a clean slate and just went for solving that data analytics problem. It's not as dime a dozen startups and products that help solve that. And then, of course, beating out the AI labs at solving that problem. I think that's been amazing to see. It's a very intense feeling to be just six months to a year ahead of the rest of the market in an extremely competitive space. It's very exciting because you're just ahead. You're seeing problems around the curve just a little bit sooner than anybody else's. And you have solutions for those problems that matter just before anybody else does. and just being in the flow in that kind of zeitgeist with the market, right? Is I think one of the most tremendous, is kind of one of the most powerful things to achieve for a startup, right? The other way you could think about it is it's called a product market fit vector. You never always have PMF, but you have to be in a vector that keeps increasing product market fit. So to really be on that vector is one of the most amazing feelings. And I feel like being able to crack that in the AI space has been, absolutely proud of our team for being able to do.

Noah Labhart

Okay, Tanmai, let's flip the script a little bit. Tell me about a mistake you made and how you and your team responded to it.

Tanmai Gopal

Two of the most kind of useful things or mistakes that I could, if I look back and I could tell myself to watch out for, and that I think we corrected really well for. So one was this problem where we're building, and this is going to apply to a lot of startups startups that are like us, where AI is an inflection point for you, right? So you can choose to align with AI and move forward, or you can choose to not do AI and continue to do what you're doing. And I think when you're in that position, where you're not, say, starting an AI product or startup from scratch, where it's a team from scratch, right? What you have to do is do this kind of transformation in the organization that allows the AI product to get launched in a way that doesn't destroy the organization or the bits of the organization that you don't want to destroy. Managing that transition is very hard. One of the things where this problem was central is the boundary between product and go-to-market. So which is basically saying, look, we're building product, we're iterating, we're learning on the fly, right? We're building the plane as we're flying it, but in the early days, not even in like the usual, you've gotten your first 100 customers stage of the startup, but you're getting your first 10, 20 customers stage of the startup. So in this stage, what is very challenging is And the go-to-market boundary, one of the challenges that shows up and that showed up for us was, how are we going to, who's going to be responsible for taking that product knowledge and enabling the go-to-market team with it? Are we going to have people who do that? Because that's what we did earlier, because it was scaled up. Or do we not do that because it's too slow? And initially, we kind of started off with having an existing product management process. You have a product person, a product marketing person, you have the sales team, right? team talks to the product person talks to the product marketing person talks to the sales people and this is this already exists right for one part of the company and then you're tempted to repeat that for this new product the ai product but that's too slow that's just way too slow so what we did was we created this thing called the one true deck and the one true deck was something that i maintained and this was the definitive and only deck that described what what the product is, right? There was no other source of knowledge. It was just this dense set of slides. There was no variation of this slide of the one true deck that was allowed. This was the only one true deck that was allowed to exist. And there was a small set of people and their job was on a daily or weekly level to keep iterating on the deck. So we would listen to customers. We would listen to product. We would listen to what the sales team is doing and how they're pitching. We would go out and pitch whatever it is. And then we'll keep evolving that one true deck. messaging deck that was allowed. Nobody, you were not allowed to have variations or copies of, create copies of that. Design improvements were not allowed, nothing. It was just that one true deck. And that deck evolved every day, every week for seven months from January to just last month where iterations paused. But till then, it was, that was the single source of truth for everybody in the organization, whether product or go-to-market. And that kind of became the central point. And that was maintained by me as the CEO and two, three other people. They had to sign off on any update and then everybody had to enable themselves. So nobody was going to go from the product team and enable the sales team and teach them what the product is and what the deck is. It was every, there was cultural transition that we did top down where we said, everybody has to learn what is in the deck themselves. And if they don't, they have to ask why something changed or what it is. So we would not do any enablement. We would not have multiple people. We would not have multiple places where you can find the information. We controlled that and put that in a single place and that really worked. That became such a beautiful point of collaboration where as we were learning how to pitch, we would evolve the pitch. As we learned from the product, we would evolve from the product. And that one true deck became that kind of point of transition between product and go-to-market. So that was really impactful.

Noah Labhart

So let's move forward then. This will be exciting. The industry is changing every day. Things are moving really fast and PromptQL is a step ahead. What does the future look like for the product and for your team?

Tanmai Gopal

so we believe that the AI future the next unlock is going to be what we call AI co-workers so I think we're on this trajectory of we did AI assistants AI agents and the next is going to be AI co-workers and AI co-workers are going to have two kind of fundamental properties that agents don't have it's going to be the next evolution and the AI co-worker is going to be multiplayer, it's going to be a co-worker. So it will interact with multiple stakeholders. And the second thing it'll do is it's going to be able to learn on the fly. So it's going to have a continuous learning loop. I think those are going to be the two big things that people start to unlock and start to add on top of kind of the base LLM, right? And of course, there'll be a combination of LLM improvements, post-training improvements, context engineering improvements, itself that will help with that. But we believe that's the next thing. I think it's already started to happen. But I think it will become a big deal and top of mind first half of next year. It's already started to happen. You can already see OpenAI and Anthropic starting to talk about AI co-workers. You can already see them tease this idea of multiplayer. Dwarkesh Patel on his podcast talks about the missing thing with AI is its inability to learn on the job. So people are starting to talk about it. I think we are the first AI co-worker exists. We'll go public with it and talk about it a lot more in the next month or so. But I think it will become an industry standard thing first half of next year.

Noah Labhart

Tanmai, let's switch to you. You know, and I've asked you this question before, but I'm curious if it's the same or if it's changed. You know, who influences the way that you work? Name a person or many persons or something you look up to and why?

Tanmai Gopal

I think it's remained the same. I think my answer has been the same, which is in the moment there there's so many interesting things happening with so many different industry leaders that I really enjoy learning from and seeing the different ways that they operate and take kind of notes from them, interact with them. And I think I remember from the last time we were chatting, it could be people who are more publicly known to people who are not. And I think over the last few years, it's been fascinating to see, of course, Elon Musk operate and learn more about how he operates through through people like Karpathy, et cetera. And again, that's been very interesting. And then of course, you look at other people from that generation, which has been amazing. I think new for me has also been looking at Jensen Huang from NVIDIA and the operating kind of rhythm that Jensen has at NVIDIA is extremely controversial and very different, which has also been, there's a really nice YouTube interview, I think that the Stripe CEO, Patrick, did with Jensen talking about and how he operates. And then, of course, following there's been a bunch of very interesting material, both on the grapevine and public that has been really interesting to learn from. And I think in the AI world, there's going to be such a massive shift in how people operate that it's going to be particularly important to see how companies that are able to navigate and move quickly work. So that's what I keep my eye open for. But people who are able to navigate the current ecosystem, top of mind for me.

Noah Labhart

Okay, Tanmai, last question. And again, I've asked you this one before, but I'm curious if it's changed. Now that you've deployed another product, another company with PromptQL, I'm curious about where you'll go with this. So you're getting on a plane, 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 on the plane. What advice do you give that person having gone down this road a bit?

Tanmai Gopal

the amount of disruption that you want to make has to be proportional to the depth that the market has is the way that i would put it which is to say that so all of us as entrepreneurs have a desire to disrupt and to change the way things work and the more you want to change the more disruptive your invention solution product service business is the more depth the market needs to for being able to absorb that disruption. So, and so that kind of balance is really important to be aligned on in kind of a, in what is a very intense journey for every entrepreneur, right? And so I think getting that alignment is really important.

Noah Labhart

I think that's fantastic. Well, Tanmai, thank you for being on the show again. And thank you for telling the creation story of PromptQL.

Tanmai Gopal

Thank you for having me, Noah.

Noah Labhart

And this concludes another chapter Love, 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.