# S11 Bonus: Accurate AI for Enterprise Data with Tanmai Gopal of PromptQL

Published: 2025-10-23
Duration: 1639s
Audio: https://pdst.fm/e/pscrb.fm/rss/p/audio4.redcircle.com/episodes/25f269bb-fd4f-41cb-bc46-2ea1f93a3c32/stream.mp3

## Key Takeaways
- Accuracy and Trust Come First: Tanmai's team concluded that the hardest problem for AI accessing business data isn't connectivity or API format. It's accuracy and trust, which they expect to matter even more as everything else improves.
- Hasura as the Foundation: PromptQL kept Hasura's data connectors, security and policy engine, but swapped the GraphQL API for a virtual SQL API. Databases, APIs and vector stores can all be queried the same way.
- Accuracy That Scales: A narrow pilot can look accurate with 10 users. PromptQL's North Star is staying accurate for thousands of users across hundreds of thousands of tables, metrics and APIs.
- The One True Deck: To bridge product and go-to-market, Tanmai maintained a single messaging deck with two or three others. No copies or variations were allowed, and everyone had to learn the updates themselves.
- From Agents to AI Co-Workers: Tanmai sees AI co-workers as the next step, defined by two traits: they're multiplayer, working with multiple stakeholders, and they learn continuously on the job.

**Accurate AI for enterprise data: returning guest Tanmai Gopal of PromptQL on getting reliable answers from company databases, after telling the Hasura story in Season 7.**

———

Tanmai Gopal is a repeat guest on the podcast. [Back in Season 7](https://codestory.co/podcast/e20-tanmai-gopal-hasura-graph-ql/), he came on to tell the creation story of Hasura, which is a universal data access layer for next generations 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 - and they identified the main problem with this type of tech was accuracy and trust.

This is the creation story of [PromptQL](https://promptql.io/).

Sponsors

- [Vention](https://ventionteams.com/codestory)
- CodeCrafters helps you become a better engineer by building real-world, production-grade projects. Learn hands-on by creating your own Git, Redis, HTTP server, SQLite, or DNS server from scratch. Sign up for free today using this [link](https://l.mailtrack.com/l/23126a66ca05e0f5c6fed5631effe0f55a6e32d1?u=12932909) and enjoy 40% off.
- [Full Scale](https://productdriven.com/codestory)
- [Paddle.com](https://www.paddle.com/)
- [Sema Software](https://www.semasoftware.com/)
- [PropelAuth](https://www.propelauth.com/)
- [Postman](https://www.postman.com/podcast/codestory)
- [Meilisearch](https://www.meilisearch.com/?utm_campaign=podcast&utm_medium=ad&utm_source=codestory)

Links

- [https://promptql.io/](https://promptql.io/)
- [https://www.linkedin.com/in/tanmaig/](https://www.linkedin.com/in/tanmaig/)
- [https://codestory.co/podcast/e20-tanmai-gopal-hasura-graph-ql/](https://codestory.co/podcast/e20-tanmai-gopal-hasura-graph-ql/)

  

Timestamps

00:00 – Intro

05:10 – Building the PromptQL MVP

08:11 – Shaping the PromptQL Roadmap

09:55 – Building the PromptQL Team

12:03 – Scaling PromptQL

15:55 – Proudest Moment

17:45 – Mistakes and Lessons Learned

21:57 – The Future of PromptQL

23:45 – Influences on Tanmai's Work

25:28 – Advice for Young Entrepreneurs

Times are from the episode recording; ad breaks in your player may shift them a bit later.

  

Read the key answers from this episode, with quotes and timestamps from Tanmai Gopal from PromptQL: [https://www.codestory.co/episodes/s11-bonus-moving-past-semantic-layers-to-eliminate-hallucinations-and-build-dependable-enterprise-data-agents-with-tanmai-gopal-co-founder-ceo-of-promptql/](https://www.codestory.co/episodes/s11-bonus-moving-past-semantic-layers-to-eliminate-hallucinations-and-build-dependable-enterprise-data-agents-with-tanmai-gopal-co-founder-ceo-of-promptql/)

  
  

Current Sponsors:

- [Tiger Data](https://tigerdata.com/)

- [Protected Harbor](http://protectedharbor.com/codestory)

- [Render](https://render.com/)

- [Fitnexa](https://www.fitnexa.com/)

- [Perplexity](https://pplx.ai/codestory)

- [Entelligence](https://entelligence.ai/)

Checkout our [Substack](https://news.codestory.co/subscribe)

Checkout our [Stacklist!](https://stacks.codestory.co/)

Checkout our [Patreon!](https://www.patreon.com/cw/codestory)

Hosted by  [Noah Labhart.](https://noahlabhart.com/)

  
  
Our Sponsors:  
* Check out Granola and use my code granola.ai/CODESTORY for a great deal: https://granola.ai  
* Check out Perplexity: https://pplx.ai/codestory  
  
  
Advertising Inquiries: [https://redcircle.com/brands](https://redcircle.com/brands)  
  
Privacy & Opt-Out: [https://redcircle.com/privacy](https://redcircle.com/privacy)

## Chapters
- 0:00 — Intro
- 5:10 — Building the PromptQL MVP
- 8:11 — Shaping the PromptQL Roadmap
- 9:55 — Building the PromptQL Team
- 12:03 — Scaling PromptQL
- 15:55 — Proudest Moment
- 17:45 — Mistakes and Lessons Learned
- 21:57 — The Future of PromptQL
- 23:45 — Influences on Tanmai's Work
- 25:28 — Advice for Young Entrepreneurs

## Frequently Asked Questions
- **Q:** What is PromptQL and how does it work? — **A:** PromptQL is a virtual AI analyst that business stakeholders or customers can ask for data insights or use to set up workflows on their data. Tanmai Gopal explains that the existing data team takes on a new role: "the analysts, they turn into teachers of the AI analyst." [03:15]
- **Q:** How does PromptQL connect AI to different data sources? — **A:** Tanmai says the team reused Hasura's data connectors, authorization policies and policy engine, replacing the GraphQL layer with SQL. Whether the source is a database, an API or a vector database, "it all feels like a SQL API, a virtual SQL API." [07:40]
- **Q:** Why do enterprise AI projects get stuck in the pilot stage? — **A:** Tanmai argues that narrow pilots don't do enough to change how users work, and their accuracy doesn't hold up when thousands of people start using them. In his view, accuracy has to "scale to a breadth of use cases, to a breadth of users, to the breadth and chaos of data" [13:15] inside an organization.
- **Q:** What is the One True Deck that Tanmai Gopal used at PromptQL? — **A:** It was a dense set of slides that served as the only definition of the product for both product and go-to-market teams, evolving for seven months as they learned from customers, product and sales. As Tanmai put it, "There was no other source of knowledge." [20:04]
- **Q:** What advice does Tanmai Gopal give to young entrepreneurs? — **A:** Tanmai advises founders to match their ambition to disrupt with a market deep enough to absorb it. He says that "the amount of disruption that you want to make has to be proportional to the depth that the market" [25:52] has.
