← All episodes
Data Neighbor · Episode 47

How LiveDocs Is Automating Data Science with Agentic AI

Arsalan Bashir joins Data Neighbor to show how LiveDocs brings notebooks, apps and AI-assisted work into one space. The conversation asks which repetitive steps AI can take on and what a person still needs to check before an analysis reaches someone else.

With Arsalan Bashir, founder and CEO of LiveDocs

From the conversation

What we discussed

Go beyond a single chat answer

Arsalan describes a workflow that continues through analysis, visualization and sharing, with some work scheduled to run again. The product demo shows how LiveDocs handled those steps at the time of recording. It is useful to separate that workflow from a promise that AI can own every decision.

Watch from 30:05 →

Context changes the result

The group discusses why a schema is not enough to explain the business meaning of a number. Sources, definitions and a way to inspect an error matter when AI performs part of the analysis. They also discuss where a person should review the work.

Watch from 10:38 →

The handoff is still hard

Getting an analysis to the stakeholder who can act on it remains a bottleneck. The conversation covers how a shared workspace and smaller repeatable tasks might help, while data people still frame the problem and decide whether the result is ready to share.

Watch from 39:06 →

The Agentic Analytics course takes you through designing, building and evaluating your own AI analyst.

Build an AI analyst

Jump into the episode

  1. 10:38Business context in analysis
  2. 20:08What an AI data scientist can do
  3. 30:05LiveDocs demonstration
  4. 34:42Scheduling and automation
  5. 39:06Handoff to stakeholders

Product features and plans are discussed as they were at the time of recording.

Transcript

Automatic captions from the final YouTube video, formatted for reading. Names and technical terms may be misheard. Check the recording for exact wording.

0:01 delta between a good prompt and a poor prompt particularly sort of for data work is is massive being able to sort of understand what do I feed in the context for example in the case of writing let’s say again a SQL query or doing any sort of data work intuitively giving it the schema of the database would be a good idea and like the data types and so on um it’s actually counterintuitive so when you use live docs for example or any sort of like not just live docs any tool that’s writing SQL on your behalf chances are that the data types the schema everything is going to be inferred in runtime. So you actually just like patching the context window the wrong thing like or something that already exists or will be injected automatically for you. It’s actually like describing the the the relations

0:39 the references in the table that’s actually more valuable. Don’t forget to subscribe to data neighbor wherever you listen to podcasts and YouTube and drop a like and comment below. It keeps us bringing you great content like this. Hey everyone, before we get into the show, we want to announce something really exciting. And we’re kicking off two new completely free learning series. One on AI evaluation and one on agentic analytics. If you head over to data neighbor.com, you can see the full live schedule as well as get any of the past recordings and free practical resources.

1:13 We’ve got a ton of really interesting workshop topics planned from analyzing product data and Claude Code to designing your first AI evaluation plan to creating custom annotations tools to validating the business impact of AI features to cracking the data science interview leveraging AI tools. You’ll find the full schedule and everything else at data neighbor.com. And if you want to go even deeper, we’re offering two cohort-based live hands-on courses. One’s called AI analytics for builders where you’ll learn how to leverage AI to become your own product data scientist, become analytically independent, stop waiting on analysts and data scientists to answer your questions. And the other one is AI evaluations for product development where you can start to actually measure the tangible impact of your AI features on user outcomes to business outcomes. They’re both super hands-on practical cohort-based courses.

2:10 You’re going to work with us as well as other AI practitioners in the field to learn week by week for five or 6 weeks. And at the end, you’ll have a really strong understanding of either how to leverage AI to become an analyst or how to conduct the right analysis to evaluate AI features. So, we hope you’ll join us. Check it out at data neighbor.com. Now, back to the show. Welcome back to Data Neighbor with Highest Ravi and Sean and to our special series, the analyst new toolbox. So these are conversations we’re having with founders and builders reimagining how data gets analyzed and how decisions get made in the age of AI today. For decades, data teams have helped companies make decisions by answering questions, writing queries, building dashboards, modeling relationships, and what happens next. But now we’re thinking about what happens when pieces

2:57 of that workflow start to get automated as AI assists analysts and data scientists or even starts doing that analysis itself. So we’re joined by Arcelon Basher, founder and CEO of Live Docs today, a company that’s building what you call your AI data scientist. Arcelon, welcome to the show. Thanks for being here. Thank you for having me on, guys. Welcome. Welcome, Arcelon. Arlon, you’re the founder and CEO of Live Docs. I think I saw you’ve been working on this product for nearly 6 years. I’m sure you’ve seen firsthand how AI is like starting to change real data workflows. So before we get into what you’re building at live docs, um what did you kind of see that’s that’s that’s broken or missing about how teams have used data historically? Like was there a moment where you realized the traditional tools weren’t truly cutting

3:46 it? Yeah. Uh so we started working on live docs uh purely by like kind of poking around the data space and finding this this kind of unique problem space uh that we’re building for right now. Uh what we started off building was like a traditional BI tool. Uh we’ve all been there. We’ve worked at companies kind of where I mean regardless of what company you worked on, data is usually the bottleneck at some point. Uh it comes down to people taking screenshots of charts, you know, copying spread across tables to spreadsheets. Formatting is broken only for all of that stuff to end up in a slight PowerPoint presentation anyways.

4:22 Mhm. Back and forth. And then there’s a lot of human like in the loop. a lot of things break as a result of one number being off. So, we’re trying to build a a BI tool uh you know kind of with a better user experience and it was basically your your average like no code BI tool targeting like non-technical uh people. The theory was that okay if you go to nontechnical people at at companies they might be able to like selfserve analytics that way. and big breakthrough uh honestly the sort of uh the the aha moment for us as a team was when you know when LLMs kind of happened and AI models kind of started becoming more ubiquitous and particularly in their ability to write code cuz that completely shifts kind of the the game entirely because now you don’t have to

5:04 do no code which is essentially code but doing it through a series of drop downs to now have agents who can actually write code which is pretty much what a human data analyst or scientist would do but that complexity of it is now sort of taken away. So nontechnical folks could actually get a robust solution without having to like navigate this maze of drop downs and so on and still be the user experience would still be something that they would be able to kind of navigate. So that was really the moment when we realized that okay traditional BI is a very it’s a trade-off between like how rigid sort of uh your workflow can be. There’s not a lot of there’s no code as an escape hatch. It’s usually some sort of a SQL and a chart charting layer on top of that. So you sacrifice

5:47 that flexibility in order to get some like ease of use and BI again wasn’t like the best way to explore data. It’s really when you have some insight and you want to keep like track track of it and you want like set and forget these dashboards and we realized that’s not the nature of like the kind of problem we wanted to solve and really like change the game for us. And that’s when we realized like okay we need to build a data works race from scratch with while being a bit opinionated about kind of what we’re building as opposed to trying to like build like this behemoth that is like plugs in picks and shovels approach and we want we wanted to build like an AI native kind of data workspace by just asking ourselves and our customers constantly like what does data work look

6:27 like in the future build for that as opposed to like trying to like you know use some glue like solution and hack together like chat with your data and like text to SQL and stuff like that. Yeah. When you when you saw that gap and kind of had that aha moment, was there something you started imagining that would actually replace how data teams work today? I know you kind of you kind of mentioned it a little bit already. Yeah. I mean, the one question we asked ourselves, we continue to ask ourselves very often. I mean, it’s it’s a rare day when we don’t ask ourselves that question, you know, is okay, this is what we’re doing today. This is kind of where the puck is. How do we imagine data work being done 5 years from now and let’s build for that the models are

7:10 going to catch up the technology is going to catch up but like I think the the bridge here is the user experience like when we were doing the BI sort of we’re exploring the BI space there was not a data tool for nontechnical people and we understood like answers of why there is no you know data tool for nontechnical people because at some point you’re gonna have to use the word join and then this gets in the room and nobody seems like a simple word be like SQL is so it’s So to me I’m like man this is English but like it does I guess. Yeah it’s uh it’s uh difficult if you if you don’t know what it is exactly in the beginning. Sorry to interrupt you.

7:44 No I mean but but you’re super um this points out something very interesting that is a you know sort of an a micro pattern you see in and around data that once you see it it’s hard to like unsee it. It’s basically like folks who know what join is and to folks who don’t know. That’s the entire like situation at any team that’s doing. It’s very rare to have a situation where the business context and the actual technical skill are the same person. You’re in the setup where somebody has the has context on what the company’s trying to do and then there’s somebody who knows how to write SQL and Python and all of that stuff. But to them when you look at the data, it’s just numbers.

8:19 It could be any number. They don’t actually know what. So the what does this number imply? Is this good? Is this bad? So there has to be this it’s data is fundamentally something that’s has to be done collaboratively or like the person who’s doing it has to have context on like what am I trying to do at what point do I stop what am I trying to optimize for the problem with like that data data tools in general face is that the context is fragmented you know somebody knows the actual business whether it’s a product manager if it’s a sort of a knowledge domain where like this cross functional work like biotech fintech where the subject matter expert and the actual data scientists are two separate people the whole problem revolves around like getting these people on the same page. So the product

8:57 manager asking for a particular ad hoc query wants to run a specific experiment or wants to sort of improve the product a certain way whereas the data scientist looks at it as a data request. I need to write so and so SQL and does this do the job and then there’s a lot of like ping pong between these two lms fundamentally solve that cuz I mean it does solve that but actually at least streamlines the problem where like you need to give the same amount of context to the model that you would need to give to a human data scientist assuming both of them can write like code SQL Python whatever. So you have to be very specific in like kind of how you prompt it and what context you give it and like how you like steer the output towards kind of

9:31 what you actually want to measure. So this actually directly exposes the heart of the problem and that’s kind of what got me excited like okay the problem space is a lot more defined now and the interactions are a lot more direct. It very closely mimics what a product manager or somebody uh who’s trying to do any data analysis via a proxy of like having a external data scientist or analyst kind of does and that’s when you know sort of we have this like light bulb moment you’re AI data scientist so that’s that’s so interesting hey um quick question for you Arlon did you have a data background of some sort or was this a thing that you’re like I’m just passionate about this I do not have a data background in In fact, I think on our team now a few

10:15 people have a data background but when we started off the core team was like united around this one rally in Christ. So I come from a mechanical engineering background actually. Okay. So I worked at some some automobile companies. I worked at some like uh startups as like a founding engineer and so on. And what really got me into this was like at companies where essentially it was like three guys in a room and a spreadsheet all the way to like automobile like running a fabrication plant. Data was the consistent problem through and through. So it’s like a problem that I kept seeing running over and over and over into in fact at some point in my life I will almost live inside like tools like Tableau tools like PowerBI and that’s kind of what you know got me into this problem but the

10:55 team is united around two things. The first thing is like we all love building high quality software like that’s our thing like we do not tolerate like poor software but we don’t build it we don’t like to associate with it we don’t like to associate with it software and like I think good user experience software and that’s what was lacking in the data space. So that’s that’s kind of something else that drew us to the space but like when you think about like workplace collaboration you have tools like Slack, notion that have like that really like was a step improvement on like the user experience. So before Slack, you’d have like email clients and like you know like poor ways to work collaboratively. Uh there were some attempts but Slack really changed the game where it bought like this chat

11:33 style and notion again before that you had like confluence and like god knows what and they really changed the game and there was nothing like that for data kind of when we started like we want that modern user experience but for data tools cuz data tools are fundamental to like how every company operates. Every company should either be looking into data or like leveraging data to make better decisions or they already are doing that or should be doing that. There’s no other kind of way around it. And then the other thing that kind of got us excited about the space was like we love building amazing software. This seems like a place that could kind of use uh it. And then the fact that we were not like insiders in the data space when we started off really gave us the

12:12 freedom to like you know like experiment with kind of what we’re doing and like really reason from first principles on like okay what is the data scientist or like a data analyst or like just any any person on live docs what are they trying to achieve and what’s the best and shortest path to getting them there? What are reasonable assumptions to make about their workflow? what amount of control do we give them? That’s actually good and that’s flexibility versus like for example like if you’re connecting to 10 different data sources and I ask you to pick the query resolution engine every time that’s just annoying. If it’s a CSV file it’s pretty clear that duct DB is the best way to go you know uh or if you’re using Postgress then there should probably be some native query resolution and so on. These are like

12:53 reasonable assumptions to make so the user experience cleaned up quite a lot. Why should I have to ask you to like simple things like establish semantic relationships between your data in your BI layer when the software can automatically infer or pick it up from your warehouse? So this outsider kind of perspective like why is this happening? A lot of things were happening just because they’ve always had that way. Outsiders gave us the ability to kind of like question these like and like build from first principles. I think the perspectives is actually pretty helpful especially you know like if we think about mega companies. I mean like obviously people who kind of live and breathe the the the the pain would have you know like kind of offer their uh their very targeted vision or whatever that they work towards. But like for

13:36 example like Airbnb wasn’t founded by somebody in the hospitality space like so on and so forth. like you know electric cars was not founded by a car guy uh and and and things like that. It’s it and we’re obviously going to get into that once we you know down down in this uh interview here, but it’s actually pretty helpful to kind of uh perhaps you know down the line that we in this episode we chat about how you’re envisioning kind of like from your perspective the pain the future and the gap from here until then. when you’re um when you’re starting to like build towards this vision in the beginning, what that kind of first version of live docs look like or what was kind of the first thing you were trying to test out when you started building?

14:24 Well, the way we stumbled onto data was we actually started thinking um and back then it was just myself. It was I was thinking about like how do companies actually operate? How do projects in general operate? And I was started I thought a lot about like knowledge ontologies. My previous company was in the edte space where we you know look deeply at curriculums and like how knowledge is organized and what’s the best way to like transfer learning and so on. I I was looking at everything through that prism of like how companies organize knowledge fundamentally. And then this was like in the super early days where I was thinking about okay knowledge can roughly be sort of branched off into two groups. there’s a more static knowledge that’s like you know the things that don’t change often uh like what your product is doing your

15:09 on boarding manual it’s not like it’s change it it is dynamic to a degree but it does not change like to the second you don’t need to monitor it it’s like going to be static until something happens and then there’s a more dynamic sort of knowledge layer which is you know your datari information like data rich documents like your dashboards and so on which tell you very important things about the team the project whatever but those need to be sort of dynamic so the first problem I tried to solve was trying to like organize ize all of this information in some sort of a nonlinear notebook. So it’s like okay the structure the the ontology of this knowledge is nonlinear. It does not read top to bottom like you can go deeper into certain things and you can go so

15:42 it’s only like a stack of cards. So you can look at it in the top layer there’s just two cards and then if you go deeper down that path there’s a lot more cards. Okay under that under that particular card. So that was the first kind of sort of our segue into this problem. From there it was actually a very um like serendipitous like tangent we took into like just focusing on data which is when like folks were like okay at some point all of these documents are substantiated or all this knowledge is substantiated by data very simple as like it was like imagine like a note-taking app and there’s probably a video of this on YouTube somewhere of me doing a demo you’re reading a informationrich like research paper and then at some point you come across a very technical term

16:19 you click on it it opens a stack of cards where you can dive deeper into that specific specific thing. So if depending on your expertise level or your knowhow, you could just read the top level or you could click down and go all the way down to like reading deeper about this one particular thing. At some point one of our early like users, you know, apostles so to speak, um gave us this idea of like it would be cool if we could, you know, actually actually reference live numbers here. If I could say we had X page views and the value of X is filled out from like Google Analytics or something down that direction and that’s eventually we got into this point where we were ingesting data from so many um data providers like source systems, Google Analytics, Strive, Google Ads, the usual suspects.

17:02 We built data sync engines. Then we came into this problem where like raw data wasn’t good enough. We added a transform transformer layer where people could write SQL and then we go back to the drawing board because this product was so good like for nontechnical people it was like you know uh a data tool that’s as simple to use as your favorite note-taking app and now you’re asking them to write SQL queries. So it was a bit of like a learning experience. Okay. Yeah. These guys are not going to write SQL queries. We have to go back and actually build the metrics layer for them. To do that we have to build some sort of a semantic layer so it’s like understandable to them like what they’re doing. Then we were saying okay they can write SQL queries but not everything can

17:39 kind of be done with SQL we need to give them a Python sort of execution environment as well and at that point just LLM just happened and everything just came together like okay we need to a data workspace which is that’s a really where you kind of stuck where it’s like oh man there’s so many dimensions on this how do I round them out and then all of a sudden chat GBT and you’re like job’s done. Yeah, absolutely. Not just that, there are so many it’s interesting. I hope we get a chance to talk about there’s a lot of like incumbents and like tools uh that are big in the data space today that I just don’t see them existing even like 2 years later. Uh just because LLMs are so good at doing uh stuff like that like interesting one was like when we were

18:22 building this data sync engine to like sync data from Google Analytics, sync data from Stripe. It got me thinking about like the air bites and the five brands and so on of the world they’re solving like incredibly hard problem for human for humans to do today just because the nature of the problem like you have to write all this injection uh sort of scripts but then the uh endpoints are changing so rapidly there is so much nuance in all of this every day LinkedIn deprecates some endpoint and some talk on Twitter they have like entire like feature teams I I presume dedicated uh to this and it’s a very difficult job to do but like if you asked an LLM even like not the best model like hey can you pull this data from this endpoint it’s just going to

19:00 spit out the answer and you have this like oneoff ready to go ingestion thing that’s pretty robust and can be used like in broad I mean it’s not that it’s not that complicated it’s not that deep you know and things like that like things that we were doing and even like writing the metrics layer down as uh you know hey mentioned finding out like the dimensions and like what metrics are actually interesting there’s a market research aspect to it like what is actually interesting to see what’s actually interesting like metrics or like uh data points that we should show our customers but then there’s also like how is this data structured can we normalize it anyway is there any standard schema we it can conform to all of those things don’t really matter today you show an LLM within with

19:38 reasonable column and table names I would go on a limb and say like even without like metadata you can probably infer data types and write you want so that is amazing it’s like we have been blessed yeah absolutely especially when you’re building a company where it’s like boom here’s like a huge unlock um So maybe more yeah maybe more along continuing down that thread like uh and you mentioned it earlier like when you say your AI data scientist what does that mean in practice and in the product itself? Yeah. Uh again like uh as I said we were talking a little bit about kind of what um things that we can do today with AI that you cannot could not you could do previously of course but would be timeconuming and would be like a in Q4 we are going to do so and so and now

20:24 it’s just like just give it a charge GPT and it’ll do it like right now uh you know one sort of implicit thing that that’s happened as a result is that uh data products uh were often stuck in these sort of like ground level problems like all the BI tools were like oh what’s the best way to allow people to go from ingesting to like charting. Now that AI exists like you can actually well that’s almost a solved problem. It’s an implementation detail. It’s trivial. What’s non-trivial now is for these companies or data companies to think beyond kind of how do you go from like Google Analytics to seeing a chart or something like that.

20:56 It’s where like we think that this like vision of having like an AI data scientist is actually super relevant. What AI data scientist means today is that every company has or every team has you know experimentation sort of motion where they’re actually constantly experimenting with data. They have something that’s more proactive. For example, you can someone’s always constantly looking for opportunities kind of within your data and looking for like errant patterns looking for you know answering ad hoc queries that your product team makes and there’s a lot of data work generally happening. And then there’s another layer of like internal data tooling and depending on what you’re doing any sort of data work like you’re white labeling a product for internal users having dashboards there’s a lot of like wrangling of numbers that’s happening either to support decision making or to like find

21:40 opportunities increase revenue move the needle um on growth uh and all of that and this work is often often comes with a lot of friction when we say AI data scientist we mean that it’s a two-step kind of um motion today what AI data scientist means that if you are running any sort of uh serious data work in your company uh will help you get from zero to 80% of the job done in a matter of seconds your data folks can focus on only the business logic aspect of it. So what that looks like tangibly today is that let’s say you’re running a SAS business and you know you want to measure uh you want to measure why your customers are churning or something. Now that’s a very loaded question. There’s so many things that require context. But then in order to answer that, there’s a

22:25 lot of like yak shaving. There was this like u very famous uh computer science course called learn Python the hard way. And it was kind of yak shaving like the boring stuff you need to do to actually get to the yak shaving. Is that what you said? Yeah. All right. The boring work you need to do in order to get to the actual work. So now yak shaving. Oh man, it’s another day shaving the yak. God it’s like you know like setting up the environments locally, managing dependencies. Totally getting the connection to the data, pinging John who has the credentials and then setting up something locally and then making like um cleaning up the data. Oh, is there a row missing here?

23:01 Okay, now this date field is not converted into the right format and so on. You have to do all of that in order to get to the point where you’re able to actually start thinking about the problem like oh why are the customers turning like I need that’s what I need to do. That’s where live docs kind of uh adds the most impact today. It gets you right to the point where you’re describing exactly kind of what the business problem that you is. It’s almost like having an assistant uh that lives kind of in this data workspace and you tell it like okay we’re trying to look at churn today you know do the needful I guess uh and it already comes up with like insights and so on and it assists you in all sorts of way uh it’s

23:34 really meant to be a power tool to be clear it’s not one of those uh we’re not trying to build a tool where like it’s like you zero shot questions although you could that’s given the advancements in like the how the models work. Mhm. We’re really meant to like help steer you in the direction of doing like more serious data work like anything from like writing specific Python like I want to do this with polars as opposed to pandas and like things like that. It’s it’s a data domain expert that lives in this sort of workspace that we’ve built. Uh that’s part one of the vision to like accelerate the rate at which data work is done and streamline how how data work is done in general across Python, SQL, whether it’s like writing bash commands, plotting charts, browsing the internet to find a data

24:15 set. All of those things are like it takes care of it while you focus on sort of your uh the actual business problem that you’re trying to solve. This is relevant for two sort of in two ways. The first one is if you’re a data scientist and you want to get a lot more work done uh than uh than you otherwise would or even to teams where like there is no data scientist. There’s someone who’s data literate generally uh you know who knows kind of what they want but is not necessarily a data tool expert. They probably don’t even write SQL. they can actually get a lot more value out of this product where it’s they’re almost like pair programming with it in a way that okay this scientist I have the business context I know okay this CSV file contains the

24:54 data from Facebook ads and this one contain this other table in my database contains you know information from our users stitch the two together plot a chart that kind of work is like happening in an instant now as opposed to something where they would have to like you know the painful job of exporting everything inevitably ends up in like Excel or Google Sheets and someone writing some crazy like multi-line formula, right? That’s kind of step one of our vision of like AI data scientist. The step two is like basically what we’re it’s a very exciting time to be building it right now is like where we imagine like this two-way collaboration like right now data tools are stuck in this phase where like the collaboration is one way. I think chat GPT really spoiled it for us because they UI like write a chat in

25:37 like write a message here it’s just going to chat with you and do whatever. I think that data tools the interactions are going to be very different from just like sort of chatting with an agent. You know, we imagine this two-way collaboration between the human human and the AI agents when it comes to data and we also imagine a lot more autonomy being giving uh given to the AI agents as the models get better at writing code and actually gaining context on business problems. That’s step two. Uh step two for us uh which is something we’re building right now is like giving live rocks more autonomy on kind of your data. That means like without you prompting it would suggest like experiments like hey you know you measured churn the other day maybe you should look at retention I’ve actually

26:15 run some numbers for you here’s a doc take a look at it if it looks good keep it if not discard or that’s like that’s the more like autonomous like AI research sort of like this uh AI doing research on your behalf and it’s not just limited to like BI problems like plotting charts for like more like business facing things but we want to get it to a point where it’s actually doing actual sort of research kind of for you where it’s able to like pull ML models from like hugging face, productionize code, ship it back to your GitHub, send pull requests to your DBT uh repo and so on. All of that stuff that currently is a very blocking sort of synchronous process if it’s a true AI data scientist as it says it is. It should be doing that autonomously. And

26:58 that’s kind of the the feature that we are most excited about. And then also more like proactive steering of like proactively. Yeah. doing stuff more proactively. Of course, we’re always with human in the loop until the models, you know, kind of get good enough for us to trust them to do whatever with human in the loop. But proactive is the name of the game when it comes to data. Like imagine you had a data scientist who just did nothing until you told them, “Hey, give me this.” Yeah. Point. You don’t want to be the person driving that entire operation.

27:23 Yeah, I’ve worked with people like that before. The AI is coming for them. The AI is coming for them. Be proactive, everyone, cuz the AI is going to be proactive soon. Yeah, that’s uh that’s kind of what what I mean by um you know sort of uh what we mean by like when we say AI data scientist it means today it will be sort of like having an actual data scientist with you every step of the way kind of uh answering any questions you might have writing code for you writing queries checking things explaining things you know pulling data from the internet doing some background research uh for you writing terminal commands debugging all of these things that a human data scientist would do today and in the future is going to be like very autonomous like I imagine in

28:01 that it would be a two-way collaboration between the human and the business context owner. Um, you know, and it would actually drive outcomes proactively as opposed to like having to be prompted. And of course, the prompts would get a lot more like abstract in the sense that you wouldn’t have to say like use polars to do so and so. It’s already like assumes the best practices based on like the context around uh around the problem, right? So, yeah, that’s so cool. Me and Harry were just kind of talking about that the other day about like the what do you think the future of data AI tooling is and proactivity was a big part of it. I love your example like hey you looked at your turn yesterday let’s look at retention today that’s like a very clear followup that you would just have someone do who

28:43 was a human. Yeah. Yeah. And then that takes into account also other tools like you have these observability tools where functionally the only like the most important thing is to understand data lineage and understand why data quality drops at a certain point. M now that is something you could use a different tool to do but if you have somebody who say the best way to find out is if your data data team came and told you like hey there’s something wrong with this chart and I can trace it back to this source system cuz I’ve been looking at the data that’s literally my job you know I happened here’s what like that that’s something that happens more proactively you know things like that there’s a whole class of tools that was previously like not built around this idea that data work could be proactive

29:24 it’s just something that you do I think I feel like you uh is is not too long for this world with like clever use of AI and like when we move beyond this paradigm of like chat with your data that’s a good start don’t get me wrong but there’s a whole world to be explored with like what AI can do for data in particular I mean everything that you described is still today’s pain points for sure uh across across the board so I’m excited to kind of see what it looks like should we should we go ahead and see a demo yeah I’m I’m going to I’m going to share my screen All right, if you’re listening on Apple Podcast or Spotify, we’re about to do a really cool demo. So, please move on over to YouTube. You’re not going to want to miss this. So, this is

30:06 Live Docs. The core primitive in Live Docs is Docs essentially, which you can think of as a uh a notebook. It’s a it’s very similar to a Jupyter notebook for folks who work with one, but it has a lot more bells and whistles. So unlike a Jupyter notebook where you’re essentially able to write just Python, in live docs you can write SQL queries, you can plot charts, tables, you can add inputs, you can prompt other LLM. So if you want to build like multistep, you know, you can build them natively kind of in live docs.

30:33 Oh, cool. Yeah. Uh and so it’s really the all-in-one kind of workspace. So you have all of these things like queries, Python, you have access to sort of your terminal environment if you want to do some environment setup before that. And essentially this is what the platform looks like. It’s super open and you can bring in sort of any of the tooling that you’re used to. Uh you can connect live docs to any of your data store systems. Here I’ve connected a few like random like click house, snowflakes and postgress database uploaded a bunch of files and then the the cool part of it is all of this tooling can actually be used by live docs AI which today sort of looks like this where you essentially tag. So here right here for this demo a a CSV file that I’ve exported kind of

31:16 from our CRM from some some CRM and ask it business facing questions like okay what is the top performing branch that should be enough it’s a very simple question you can select whatever model you like so it’s very sort of cursor style and enable or disable extended thinking although this is a very simple question when you hit enter what live docs does the first thing it does is it makes a git commit in In this case, it’s empty, so there won’t be a commit. And then exploring uh yeah, it starts exploring the data the way a human data scientist would do.

31:50 It would start personalize a couple of rows from the data. It would print out sort of what the try to understand what the structure looks like. And of course, at any point, you can kind of see what it’s doing in the end. So this is a fairly simple kind of prompt. So it’s able to like literally write couple of SQL queries and just plot the chart and tell you like, yeah, this is the branch that is performing the best. here are some follow-up suggestions and then it commits the results. Uh which is all of this what you see it’s essentially a Python file. There’s no like proprietary format or anything like that. It just exports to a regular Python file or an IP IPI notebook format. You can work with both of those formats and then you can ask it follow-up questions or or any

32:30 other sort of prompts uh you like. Now, this is a very simple kind of a prompt for something that you see happening in your average team like multiple times a day where it’s like one-off questions and so on. Uh but we have you know uh more extended sort of analyses uh available um on our landing page for like examples of stuff you can do which is everything from like forecasting all the way to like sentiment analysis and more complex sort of things. Um so and then once you’re done you literally could uh you know uh share this analysis uh with a single click you can ask live docs to like okay give it a title and give it a description.

33:06 Oh nice share and you would either copy the link to this document which would include the queries and you know uh the charts and everything or you could go into sort of this app mode where you only want to show them sort of the chart and you don’t want to show your business users kind of the the SQL queries. One way you’ve seen this being used is actually with inputs. So if I add a slider input and then I add a SQL query and I’m going to select this exact uh so if I were to write a query like select star from sales.csv just to see what this data looks like and here let’s say I wanted to filter this data by like quantity I would call it quantity and then I would get a value of 1 1 to 10 looks about

33:47 right. I could do something like where quantity equals do this and then input do and then I could just run these cells and so now as I that’s pretty slick change this and then I could also chart the results. So the entire notebook environment is reactive. It knows what cells to run right here because I changed the a little bit. It tells me that these cells are stale. I can now select this data frame that it yielded and kind of go and plot a chart from it. And now if I want to share this with my stakeholders, they don’t necessarily want to see this query aspect of things.

34:24 All they want is this slider and they want a chart. So now whenever they slide it uh once it’s published, it’s going to update the results for them. So you can ship these like internal tools almost that you know actually people can use and embed into other other platforms other websites and so on. Yeah. So that is super featurerich as as a product and uh you know you could have notebooks scheduled to be run every time. Uh for example this analysis we just ran I wanted to run every morning at 9:00 a.m.

34:55 Uh and I would save and I could then set it up to notify me by email. Uh, I could say send it to a livedocs.com. Give it a custom subject line. Hey, sales report is here. And then I would do something like oops, uh, salon, here’s the chart of our sales. And I could tag that particular cell in it. And in the actual email, it would sort of swap swap this out uh for like Yeah, it would swap it out for a screenshot of this chart or just send you can notify folks by like email, Slack, or Slack. That’s cool. Okay.

35:37 Slack too. It would insert like a screenshot of the actual cells that you wanted to do and also notify by web hook. Yeah. So that way you can actually you can actually trigger schedules with web hooks as well. So that way you could have like one notebook where it’s running some logic with Python to like ingest data from any source system for example and then you can also write that data using this DV save cell back to your database and then that would trigger another notebook would just do the charting parts. That way you can have like a separation of concerns.

36:08 Liveox understands the ontology of kind of what needs to run when. So it always make sure the injection notebook run then that triggers the notebook that actually runs the visualization. So you can actually build like complex like tag like workflows with just notebooks and you know you’ll be able to go back to this kind of for you tab and just monitor them from here. Okay, it runs successfully and you know you have everything you need in one sort of glance. Yeah. So this is kind of where live docs is today. I could go on and on about kind of uh all of the different features cuz I said it’s a very featurerich platform. There’s a lot micro problems we’ve solved uh but at the high at a high level this is kind of uh what LiveLabs does. That’s so cool.

36:46 How how do you um in the sort of like the agent mode when you ask natural language prompts to get data and answers, how or I guess two questions. One is how does it what happens or how do you check for correctness accuracy? The second one is if it made a mistake, what do you do? So how uh well the second question is actually easier to answer than the first one. In the in the second question actually uh how do you sort of if it makes mistakes what do you do? There’s two types of kind of mistakes it can make. The first one is like errors. The query doesn’t run for source systems actually that query systems that support dry runs. For example, BigQuery allows you to dry run a query. It’s very easy to catch that before the user even sees

37:27 it. Even if the user sees an error from the actual query, it’s going to like try to reenriage the context and try to sort of write the query again. And so, uh, if it makes an error in the query, it’s easy to pick up and fix. The difficult one actually is sort of where it measured the wrong thing. thing. It wrote a query that actually tracks the wrong thing. For that, we always make sure that the agent is constantly giving you sort of like commentary on what it’s doing and we can read the train chain of thought. The only way to really sort of account for those errors is to have women in the loop. There’s a human who has context. One thing we allow to uh users to do in order to sort of prevent errors like that is to give it massive

38:03 amounts of context beforehand before actually running the queries that goes beyond like giving it the schema of the table, the data types and so on which stuff it can actually infer in sort of runtime. Uh you can actually upload like product documentation to the data tab. You can upload like uh internal like data glosseries and all that stuff. You can give it web links like here’s the link to our documentation. complete sort of context and as much context as possible in order to like write accurate queries even then I would say and this is a problem that LLMs face very often is that if you give it like a very broad query like measure my you know profit then it’s as a complex query it needs to take your revenue into account any source of like any like accounts payable

38:42 sort of like anything that’s deducting from that and there’s so many ways even in super large companies you’d be surprised like how I mean I’m sure we’ve all seen there’s like 10 ways to measure oh yeah and everyone’s doing their own thing kind of situations like to avoid them at some point a data glossery comes in similar techniques as I said at the beginning like you know the problem is very similar to actually how you get a human data scientist to like avoid or data analyst to avoid measuring the wrong thing if a SQL query doesn’t run they wrote the wrong query that’s the best possible outcome actually because now there’s a very clear like back race but if they’re measuring the wrong thing ultimately comes down to like how much context you give it and um and do that

39:19 in order to like how do you check for the correctness is again to like explain the query back to the user, explain what it did. In fact, now we’re kind of having this sprint where after like around this week, you’ll be able to like explain results of queries by looking at the actual query and something will come in and say like, okay, this is what this query actually does. It joins this table with this table and as a result, it measures this this set of rows and you know this is what you’re looking at exactly. So making sure that even if the user is non-technical, they actually understand kind of what what is being done here.

39:49 Yeah. Yeah. too. It’s kind of like um I mean I think I think with these kind of products like for a data scientist for me it’s like that SQL query was right there in the notebook before that graph popped out. So like that’s somewhere I can look at it. Um and in terms of a kind of yeah non-technical stakeholder who might not know that background I could imagine being like hey run run this like there’s hopefully there’s still a data scientist in your uh organization somewhere that you are uh paying a salary ideally fingers crossed from me but um you know you can have them mean it’s my stakeholders today right like they don’t they don’t know what’s in the SQL query behind the numbers I give them but I really like the the idea that you have there of like

40:30 it’ll explain itself like what actually got joined together. So you can at least piece together the business logic. Ideally we want to like uh one of the things we’re looking to sort of uh thinking deeply about and as I said we’re running that first principles kind of uh thinking behind it is how do you do good handoff so there this is a very important interaction in the data world where nontechnical user or like business problem owner asks data person a very broad question that person translates it into some sort of query/analysis does some work and then comes back to them it’s like two worlds colliding one person only cares about like driving outcomes. The other person is like, “Hey, have I done the right thing here?

41:08 Like, is this what you want?” And the other person’s like, “I don’t know cuz I don’t know what I’m looking at.” Um, so it’s like the data scientist trying to explain the query and the business problem owner trying to explain kind of what the question was in the first place. That handoff experience can be improved quite a lot. One way that LiveDoc does it today, which actually can be improved quite a lot, is like commit all of this work to GitHub. Then you have a very clear like pull request and so on. But that’s not good for nontechnical people. the handoff realistically I mean in the future is going to be like the AI does some amount of work and then comes back to the human data scientist uh to have some something like uh something like a pull request

41:42 but not asking you whether I wrote the right code or like is this this is a diff between the two queries not just that but also telling him like very specifically what was done here I’ve read from these sources and I’ve brought a chart here because in my understanding for example revenue comes from this source system which is stripe and and all the expenses are going out from this sort of mercury or whatever. So that’s why I did what I did and the human sort of data scientist approves that. So the human in the loop needs to be very explicit especially when it comes to data problems and then hand off to the non like nontechnical sort of business problem owner. This handoff process like really needs to be like super slick.

42:19 It’s almost like a pull request being merged but for kind of the data world. It’s not just code. It’s actually aligning all these stakeholders on like what was done, whether that meets the original prompt and so on. and also at the same time creates this sort of like this tribal knowledge of what was done so that the next time around it doesn’t need to ask you again uh what is uh revenue what do you mean by revenue what do you mean by churn uh that’s that’s kind of uh something the way I imagine it being done you know uh this whole AI do data work u matures as as a thing in in teams I think one sort of uh I guess underrated underlining here is that uh we talk about like the technical data science scientist and then the

43:01 non-technical stakeholders. You can even imagine for for example like I lead a the data team at uh uh Sean and I both work at the same company. As one gets more and more senior and less less hand hands-on as a data professional, at some point you’re going to hope to be able to actually do whatever the stakeholders, you know, today are doing. But then you don’t actually need to go through the motions of uh trying to figure out which table is the right thing, which logic is the right thing. And most of the time I’m trying to connect the dots across many disciplines and so that gets exponentially harder because we have data scientists who are very familiar with this area. I’m very familiar with this area, but then like when you connect the dots, there’s a bunch of joins that just don’t, you know, like

43:46 that’s not as clear how to do that, but like you know, like like that helps um a lot of the leaders in in the data space itself as well. And I I would imagine not not just kind of like leaders, but like tangential functions where people aren’t as familiar even if they could have the technical skills to actually pull it off, it would just make them massively more um you know. Yeah. Absolutely. I feel like every team has some sort of like tribal knowledge which unfortunately lives in the mind of one guy if he’s off today seeing today. Ideally, you want your AI systems or any sorts of software layer that you use to actually embody this tribal knowledge especially with AI now if you can tap into this it can like that’s the real bottleneck there. uh you know it’s

44:32 not the actual writing of the SQL query it’s actually like what do you actually want to you describe it as you correctly kind of pointed out having these having this tribal knowledge live in the context of whatever AI systems you’re using is really like worth its weight and gold for like u you know AI point at some point in the future I feel like there’s a there’s a I don’t know if it’s vanity but there probably would be a metric of how comprehensive is your AI repository like imagine like you know like the way that we kind of measure how data driven in a company is kind of is based on how big your data team is or whatever it is. But like the true measure of it is probably how much does your AI know about the data/metrics of the entire company’s uh knowledge and

45:15 be able to kind of you know that feels pretty objective. Yeah, I mean we kind of do look at this too. The way we kind of thinking about it is like you know when you write unit test as code coverage a similar thing happens with live docs. If you choose to enable indexing in your live doc settings, what happens is that it goes and sort of indexes your data. What that means is if you upload a product documentation, it does not have to be read in runtime. It’ll just go and do it in the background. A percentage value of like how much of your data, how many of your data sources are covered. That means the AI has kind of looked at them, try to understand what’s in them, wrote written down descriptions, helpers like create embeddings from those uh sort of

45:53 uh descriptions and then also from that point asked you any questions beforehand like hey I looked at this table and it’s not clear to me like what’s in it. Could you give me a quick description? That sort of coverage is a very sort of interesting metric and it roughly correlates with how good the AI agent is actually doing. So like if you give it a random data warehouse with a bunch of random tables and you upload some like CSV PDFs in there like separately and you ask it a question it won’t be it won’t do the best job because it has no idea kind of what you asked it to do.

46:22 But if it’s indexed the codebase it’s asked you any questions you’ve clarified everything beforehand it actually correlates really well. So that’s a very interesting sort of uh number to kind of look at like what is the coverage that your AI has what amount of context have across all of your source systems and then some more. It’s not the end all, but you know, it’s a good start. Harrison, as um these AI powered data tools or platforms become the norm of how we work with data in the future, what sort of new skills do you think data teams or or non-technical folks kind of will need to adapt to in order to to le like very high leverage of these? A couple I guess I’ve heard so far is you mentioned people will need to be able to review what’s coming out of

47:09 these things like you said with like the the PRs like you’re going to be able have to be very good at that and then kind of what maybe just mentioned now people will need to be good at loading as much context and probably there’s certain some sort of way to like load context in about a company to make it as performant as possible. Are there other skill skills you think people will need in a future where they’re we’re leveraging these kind of AI tools for data? Um, yeah, I mean two that come to mind.

47:36 The first one is and by far the most important one is actually prompting. Prompting is one of those ones where it like seems fairly straightforward, but the more you sort of dive into it, it could be like the delta between a good prompt and a poor prompt particularly sort of for data work is is massive. So being able to sort of understand what do I feed in the context for example in the case of writing let’s say again a SQL query or doing any sort of data work intuitively giving it the schema of the database would be a good idea and like the data types and so on uh it’s actually counterintuitive so when you use live docs for example or any sort of like not just live docs any tool that’s writing SQL on your behalf chances are that data types the schema everything is

48:15 going to be inferred in runtime so you actually just like packing the context window with the wrong thing like or something that already exists or will be injected automatically for you. It’s actually like describing the the the relations, the references in the table that’s actually more valuable for live docs particularly. We have a prompting guide uh which is actually generic. It lives in our documentation that we actually say like it works for anything. Even if you’re using like chat GPT to like uh do any data analysis knowing how to prompt it, what’s a good prompt versus a bad prompt uh to get in order to get the job done. So prompting is uh definitely uh the number the number one thing. And then the other sort of uh skill is actually as you said you know sort of uh understanding how to sort of

48:58 process kind of what the AI has done and why it has done it which is that review step necessarily like reviewing a pull request where you’re purely looking at code and you’re looking for like bugs and like logical errors. In this case it’s actually understanding like the AI has done a certain amount of work that I’ve asked it to do. Is this does this really meet my objective? If not what can I not generally improve in the prompt but also in the context that I gave it uh to actually improve the output and understanding that different models or like different modalities of even prompting the models are better at specific things. So if you want to write let’s say explain this chart to me any image model that just looks at it can tell you it’s going up and to the right

49:36 but then if you want to write code having an understanding of like as if you’re completely nontechnical you’re not often aware of like what coding a specific model like using codeex or one of the frontier models 45 sonic whatever is actually better at writing code but if I want to like rewrite this email I I’m actually better off picking a faster model or something that’s like understanding these like basic like nuances in like how different models specialize in certain things could actually help you get a lot more out of per token like your yield would be higher. You know, if you want to write like do complex analysis, you’ll pick a stronger more coding specific like model. If you want to like explain a report or let’s write out a message to stakeholders from some data work that you’ve done, you’d better off going with

50:20 a model that has like more ways to plug in context your images, PDF, screenshots, whatever. and it would actually synthesize a nice message for you that gets the point across concisely. Understanding that, learning how to prompt these models and then also learning how to like always take what the model gives you at least for the night really for the next year. Take it with a pinch of salt like always don’t just like zero shot it. There’s no why data analysis unfortunately. uh if the data doesn’t work, you know, have to really read what it Yeah, these would be like sort of things I think would be, you know, good skills to have in order to make the most of like AI tools in general.

50:56 That’s great. Get really good at AI, which we also have a lot of content for. So, check check us out on the other episodes, too. Sweet. Well, I think that brings us to the top of our hour. Uh before we close out, Urselin, is there what’s the best way for our audience listeners to kind of keep up to date with what LiveDocs is doing? Yeah, we’re at livedocs.com. Live Docs is uh free to sign up, free to use, but you need more power features, you can upgrade so much. You can get started with LiveDocs today. We’re at live.com.

51:25 Do give us a like follow on Twitter. We’re lived HQ. That’s it. Sweet. Yeah, check out live.com. I was scoping it out this past week. Really cool. lots of great resources and like pre-made workbooks with the use cases you guys have put together like like was shown today. Awesome. Well, thanks for joining us, Arcelon. Thanks to our listeners and our audience for tuning in. If you enjoyed this episode, please give us a like, give us a subscribe, drop any comments if you have a question for us or Arcelon, and yeah, thanks again for joining us.

51:58 Much for having me. Thank you, Arcelon. Thank you.

The Agentic Analytics course takes you through designing, building and evaluating your own AI analyst.

Build an AI analyst