Timon Harz
December 12, 2024
Meet DataLab: A Unified BI Platform with LLM Agents and Computational Notebooks
DataLab brings together cutting-edge LLM technology and a flexible notebook environment to enhance business intelligence workflows. Explore how this unified platform revolutionizes data analysis, making insights faster and more accessible.

Business intelligence (BI) faces persistent challenges in efficiently transforming vast data volumes into actionable insights. Traditional workflows involve multiple intricate stages—data preparation, analysis, and visualization—that demand close collaboration among data engineers, scientists, and analysts using a variety of specialized tools. These processes are often time-consuming and labor-intensive, requiring significant manual intervention and coordination. The reliance on fragmented tools and the complex interdependencies between professionals slow down the generation of insights, delaying decision-making and limiting organizational agility. These challenges highlight the urgent need for integrated and automated approaches to BI workflows.
Existing BI platforms such as Tableau, Power BI, and Databricks have sought to address these issues by offering graphical user interfaces for data transformation and dashboard generation, along with natural language interfaces to simplify operations. Additionally, research efforts have explored ontology-based techniques to enhance semantic interpretation and query capabilities. Studies have also examined data analysts' interactions with large language models (LLMs), identifying barriers such as effective contextual data retrieval and prompt refinement. However, most existing solutions focus on isolated tasks, failing to provide a unified approach to the entire BI workflow.
Introducing DataLab: A Unified BI Platform
To address these limitations, researchers from Zhejiang University, Tencent Inc., Southern University of Science and Technology, and Peking University have developed DataLab, a next-generation BI platform. DataLab integrates a one-stop LLM-based agent framework with an enhanced computational notebook interface to streamline BI workflows. It supports a wide range of BI tasks, bridging the gaps between data roles, tools, and processes in a single cohesive environment. By overcoming the fragmentation of existing tools, DataLab offers a revolutionary approach to BI, enabling faster, more efficient insights for decision-making.
Key Innovations of DataLab
DataLab’s architecture centers around two core components:
LLM-Based Agent Framework
The framework employs a multi-agent system to handle diverse BI tasks, using a directed acyclic graph (DAG) structure for flexibility and scalability. Each agent specializes in specific procedural tasks and leverages tools such as a Python sandbox for code execution and a VegaLite environment for data visualization. This modular approach allows seamless integration of LLM APIs and other tools, with reusable nodes representing distinct components and edges defining their interconnections.Augmented Computational Notebook Interface
This interface combines the adaptability of traditional notebooks with advanced LLM-powered customization, providing an intuitive and unified environment for data professionals. It simplifies interactions across BI tasks, enhancing collaboration and productivity.
DataLab’s holistic design addresses the shortcomings of current BI tools, offering an integrated solution that reduces manual effort, accelerates workflows, and fosters organizational agility. Its innovative approach has the potential to redefine how businesses tackle data analysis and decision-making.
Exceptional Performance Across BI Benchmarks
DataLab demonstrates outstanding performance across a wide range of BI tasks, consistently surpassing state-of-the-art LLM-based baselines on prominent benchmarks, including BIRD, DS-1000, DSEval, InsightBench, and VisEval. This superior performance is attributed to its innovative domain knowledge incorporation module and advanced data profiling strategies.
For symbolic language generation tasks like NL2SQL, NL2DSCode, and NL2VIS, DataLab achieves high-quality results by leveraging intermediate domain-specific language specifications. In complex multi-step reasoning tasks, DataLab outperforms existing frameworks such as AutoGen by margins of up to 19.35% on certain benchmarks.
These results highlight DataLab’s advanced capabilities in data understanding, as well as its structured inter-agent communication mechanism, which enables the platform to deliver detailed and actionable insights with remarkable efficiency.

Large Language Models (LLMs) and computational notebooks are transforming the Business Intelligence (BI) landscape by integrating sophisticated data analysis, automation, and enhanced decision-making capabilities. LLM agents, such as GPT models, are reshaping how businesses interact with data. These models can perform tasks like natural language querying, summarizing large datasets, and even generating insights from unstructured data. This shift toward using LLMs empowers users to ask intuitive questions and receive data-driven insights without deep technical expertise, democratizing data analysis for a broader audience.
Computational notebooks also play a pivotal role in this transformation. They provide an interactive environment where users can combine code, data, and visualizations in a seamless workflow. This integration enables both technical and non-technical users to explore data, run experiments, and visualize results, all within the same platform. Computational notebooks are becoming a standard tool in modern BI because they allow for iterative analysis, real-time updates, and clear documentation of the thought process behind insights.
Together, LLMs and computational notebooks help businesses break down complex data silos, speed up decision-making processes, and uncover hidden patterns through more accessible, automated workflows. These technologies not only enhance the accuracy of predictions but also streamline collaboration across teams, making it easier to turn data into actionable insights.
What is DataLab?
DataLab is a unified platform designed to simplify the process of data analysis and intervention. By combining large-scale data exploration with powerful tools for dataset diagnostics, it empowers users to gain insights and enhance data quality in a more interactive and accessible manner. The platform allows for comprehensive data assessments across various dimensions, enabling users to perform in-depth statistical analyses, detect potential biases, and identify key dataset characteristics, all within a user-friendly environment. With its capabilities extending beyond basic analysis to feature operations such as preprocessing, aggregating, and featurizing datasets, DataLab provides a robust foundation for machine learning model development.
Furthermore, DataLab facilitates fine-grained dataset diagnostics and bias analysis, helping to identify artifacts, gender biases, or hate speech within datasets. This makes it particularly valuable for ensuring that models are trained on high-quality, unbiased data. Whether it's through its innovative tools for dataset comparison, bias detection, or advanced statistical analysis, DataLab stands out as a comprehensive and efficient solution for data scientists, researchers, and developers looking to streamline the data preparation process.
DataLab stands out in the field of business intelligence (BI) and data processing due to its powerful blend of flexibility, advanced functionality, and integration with large language models (LLMs). One of its core strengths lies in its ability to seamlessly process both structured and unstructured data, supporting various data formats and operations for batch processing. This makes it a versatile tool for various industries, including scientific research, healthcare, and quality control.
Key features that make DataLab unique include its ability to conduct in-depth data diagnostics, detect biases or inconsistencies, and its semantic dataset search capability, which helps users identify relevant data based on textual descriptions. The platform also excels in operation standardization, offering pre-built functions for data preprocessing, aggregation, and visualization.
For users seeking a high level of customization, DataLab supports a plugin system that allows the easy addition of industry-specific features and tools. Its interactive Python console and advanced image processing capabilities further enhance its ability to cater to diverse data analysis needs. Additionally, DataLab offers multiple modes of usage, including stand-alone, embedded, and remote-controlled modes, allowing users to integrate it flexibly into their existing systems.
The Role of LLM Agents in DataLab
In DataLab, Large Language Model (LLM) agents enhance functionality by leveraging their ability to automate and optimize various business intelligence (BI) tasks. These agents work seamlessly across multiple BI processes, such as data transformation, analysis, and visualization. The integration of LLM agents allows DataLab to not only automate tedious manual steps but also improve the overall efficiency of BI workflows. By acting as intelligent assistants, these LLM agents interact with users and various data tools in real-time, understanding and processing complex queries and instructions.
For example, LLM agents can perform tasks like transforming natural language into structured queries (e.g., NL2SQL), interpreting domain-specific queries, and generating insights in a fraction of the time it would take a human to do so manually. This capability significantly reduces the cognitive load on data professionals, allowing them to focus on higher-level decision-making. Additionally, the use of LLM agents allows for sophisticated communication between different data roles—data engineers, analysts, and scientists—ensuring smoother collaboration and more accurate results.
These agents also bring advanced contextual understanding, enabling them to refine complex prompts and queries with higher precision. By incorporating domain-specific knowledge and using their powerful semantic processing abilities, LLM agents help deliver actionable insights that are tailored to the specific needs of the user and business context, significantly enhancing the BI platform's capabilities.
LLM-based agents are increasingly being used in business intelligence (BI) to automate various tasks involving data extraction, summarization, and analysis. These agents assist by processing large datasets and generating actionable insights from natural language queries. One significant example of this is DataLab, a unified platform that integrates LLMs to perform task planning, reasoning, and actions based on business data.
The platform combines LLMs with a customizable computational notebook interface, facilitating a more efficient workflow across various BI tasks. These agents can automatically extract data from diverse sources, summarize it based on user queries, and analyze it to uncover insights that might otherwise require complex manual analysis. Notably, DataLab incorporates modules for domain-specific knowledge, enabling customization for enterprise tasks, and allows agents to communicate across the BI workflow, enhancing data sharing and task completion.
These capabilities improve decision-making by making data more accessible and actionable, reducing the need for manual intervention, and enhancing the accuracy of outcomes. By automating the extraction, summarization, and analysis of data, LLM-powered agents streamline decision-making, especially in enterprise environments.
Computational Notebooks in DataLab
Computational notebooks, like Jupyter and other modern platforms, are interactive tools that enable data scientists and analysts to combine code, visualizations, and narrative in a single document. These notebooks are essential in data analysis and visualization for several reasons.
Firstly, they allow users to document their thought process alongside their code, making it easier to understand and share results with others. This combination of code, output, and commentary fosters clear communication, particularly in collaborative environments where multiple team members may work on a project. Moreover, notebooks support various data science techniques, from model training to data visualization and complex analyses, all within an accessible interface that requires minimal setup.
Secondly, computational notebooks are widely used because they facilitate experimentation and rapid prototyping. The ability to execute code in small chunks, adjust parameters, and instantly see results allows for more efficient exploration of data, especially when working with large datasets. With integrated support for various tools and languages like Python and R, notebooks also provide seamless integration with databases, machine learning models, and external APIs, enhancing their versatility.
Lastly, these notebooks democratize data science by lowering the barrier to entry for individuals without extensive technical expertise. Cloud-based platforms like Google Colab and DataCamp allow anyone to start using notebooks without needing to install or manage complex infrastructure. This makes them valuable not only for data scientists but also for citizen data scientists who may not have formal training but still need to perform sophisticated analyses and share insights.
DataLab integrates notebooks into the data exploration and modeling process to offer a more interactive and efficient workflow for users. By leveraging AI capabilities, DataLab enhances the traditional notebook experience, allowing users to explore and analyze data using natural language. The AI assistant in DataLab can generate SQL queries, Python code, and visualizations based on user prompts, making it easier to dive into data without needing extensive coding skills. As users interact with the system, they can quickly iterate on their analyses with short feedback loops, refining their inquiries to obtain deeper insights.
Furthermore, DataLab’s integration of a fully-featured data notebook allows users to seamlessly switch from AI-generated responses to code review. This setup not only makes the AI’s outputs more transparent but also allows users to tweak, rerun, and share the code behind the results. This combination of AI-driven exploration and manual code editing within the notebook ensures a more flexible and controlled approach to data modeling and insight generation.
How DataLab Improves BI Tasks
DataLab excels at streamlining Business Intelligence (BI) tasks such as data visualization, trend analysis, and reporting. Its integrated tools allow for the rapid transformation of data into meaningful visual representations, making it easier to communicate insights.
For data visualization, DataLab supports a variety of powerful chart types like waterfall charts, variance analyses, and heatmaps. These visualizations help users quickly spot trends and highlight key data points, such as positive or negative variances, to inform decision-making. For example, DataLab enables the use of charts like bridge or lollipop charts, which are particularly useful for visualizing data transitions and understanding contributions to changes over time.
In trend analysis, DataLab empowers users to identify patterns within their data, which can lead to more accurate predictions and insights. Through its intuitive interface, users can uncover insights from complex datasets, making it easier to observe fluctuations and trends across different time periods or business dimensions. For example, a data analyst using DataLab was able to automate previously lengthy reporting processes, reducing a multi-month task to just minutes, and uncovering deeper insights into the data.
Finally, DataLab excels at simplifying the reporting process. Users can automate report generation, saving significant time and effort while ensuring accuracy. The AI-powered tools in DataLab enable users to generate reports that highlight trends, variances, and key metrics, which helps businesses make informed, data-driven decisions.
When showcasing the performance of large language models (LLMs), a key area to focus on is how these models handle diverse, real-world tasks across various benchmarks. For example, DS-1000, a code generation benchmark focused on data science problems, tests a model's ability to solve realistic problems using Python libraries like Numpy and Pandas. This benchmark evaluates model performance by examining both functional correctness and surface-level constraints. In practice, the best models, such as Codex-002, only achieve around 43% accuracy on this benchmark, suggesting room for improvement in handling complex, contextually rich tasks.
Moreover, LLMs are also evaluated for their ability to generalize rather than simply memorizing data, ensuring that the model’s solutions are based on reasoning rather than regurgitating pre-trained answers. In addition, benchmarks like MMLU (Massive Multi-Task Language Understanding) highlight the capability of LLMs to handle a broad range of tasks, from mathematics to language translation, reflecting their versatility. By leveraging such comprehensive performance evaluations, you can demonstrate not just the raw accuracy of a model, but its ability to tackle a variety of practical and diverse challenges across industries.
Key Benefits of Using DataLab
Automated workflows and task execution with LLM agents have become a powerful tool in modern software development. LLM-powered systems like Microsoft’s AutoGen framework, for instance, enable the creation of "conversable" agents that can carry out tasks based on natural language instructions. These agents can function independently or work together to complete complex workflows.
For example, AutoGen’s multi-agent framework allows different agents to perform specialized tasks, such as code generation, debugging, or interacting with external APIs. These agents can communicate, share information, and even handle errors autonomously. If one agent encounters a problem, others can adjust the plan or take corrective action, ensuring the workflow continues without human intervention.
Moreover, LLM agents can execute tasks such as generating content, fetching data from databases, and performing computations, all while collaborating with other agents to optimize the process. This approach reduces the need for manual inputs and speeds up task completion, especially in domains like finance, software engineering, and marketing.
The seamless integration of these agents into a unified BI platform like DataLab enhances the potential for automation, allowing businesses to run sophisticated workflows that once required extensive human input. This reduces errors, increases efficiency, and allows for faster decision-making across teams.
DataLab's ability to handle complex multi-step reasoning tasks sets it apart as an advanced BI platform. The framework leverages the power of large language models (LLMs) to perform step-by-step reasoning, which is essential for solving intricate problems across various domains. One of the key factors in this capability is the use of intermediate reasoning and domain-specific instructions, which guide the LLMs to arrive at high-quality results for tasks such as natural language to structured query translations (e.g., NL2SQL) and symbolic reasoning tasks.
Research into multi-step reasoning with LLMs, such as Chain-of-Thought (CoT) methodologies, has proven effective for improving model performance in tasks requiring deeper analysis. These approaches often involve generating multiple candidate solutions and filtering them to select the most plausible answer, which is particularly helpful in complex domains like mathematics and code generation.
DataLab takes advantage of such mechanisms, not just by generating responses but also by verifying and refining them through an iterative process that optimizes reasoning accuracy. For instance, through training methods that incorporate reward-based evaluations, including outcome-reward models (ORMs) and process-reward models (PRMs), the platform can ensure that multi-step solutions are aligned with expected outcomes. This approach enhances DataLab's ability to tackle problems involving both reasoning and data manipulation across diverse business intelligence tasks.
This complex reasoning framework, combined with an innovative data profiling strategy, ensures that DataLab can consistently outperform other BI tools, particularly in scenarios requiring detailed, multi-step analysis.
DataLab enhances business intelligence (BI) insights through its structured inter-agent communication and integration of domain-specific knowledge. This approach enables the platform to manage complex multi-step tasks with high efficiency and accuracy by fostering seamless interactions between specialized agents.
In multi-agent systems like DataLab, each agent is designed to focus on a specific aspect of the BI process, such as data transformation, analysis, or visualization. These agents collaborate by sharing relevant information through structured communication protocols, which ensures that all tasks benefit from the combined knowledge. The integration of domain-specific knowledge allows these agents to refine their processes, make informed decisions, and adapt their strategies based on the context they are working within.
This model improves performance in complex reasoning tasks, as agents don't just exchange raw data—they also assess the relevance of the information exchanged, leveraging past experiences to enhance decision-making. By utilizing memory-based attention networks, DataLab ensures that agents can effectively select relevant data, improving the accuracy and depth of insights across various BI tasks.
Ultimately, DataLab's structured inter-agent communication facilitates more refined and timely insights, enabling organizations to make better-informed decisions faster and more effectively.
Use Cases and Applications
DataLab, with its unified BI platform and powerful multi-agent LLM-based framework, can benefit a wide range of industries by streamlining data workflows and improving decision-making processes.
Healthcare: In healthcare, DataLab can help with medical diagnosis by analyzing large volumes of patient data, supporting predictive models for disease prevention, and enabling personalized treatment strategies. LLMs can process vast amounts of clinical data to recommend targeted interventions.
Finance: The finance sector can leverage DataLab to improve financial analysis, risk assessment, and fraud detection. By processing and analyzing financial reports, market data, and transactions, DataLab's agents can generate insights for trading strategies, investment decisions, and compliance.
Retail and E-Commerce: DataLab can be used to optimize inventory management, customer segmentation, and demand forecasting. Its ability to handle complex datasets enables retailers to anticipate trends, personalize marketing strategies, and improve customer experiences.
Manufacturing: In manufacturing, DataLab's AI agents can assist with predictive maintenance, supply chain optimization, and production efficiency. By analyzing sensor data and historical trends, the platform can provide actionable insights to reduce downtime and optimize operations.
Law: Legal professionals can benefit from DataLab's ability to analyze case law and streamline document drafting. The platform can automate the research process and help legal teams draft more precise contracts, improving productivity and reducing errors.
By integrating these insights across industries, DataLab empowers organizations to enhance their data workflows, make faster decisions, and gain a competitive edge in their respective fields.
One of the most compelling success stories comes from Will Appling, a data analyst who transformed his workplace’s reporting process. Previously, creating reports took months, but with DataLab, he automated the reporting using pivot tables, reducing the process from three months to under five minutes. This shift not only accelerated workflows but also improved the quality of insights extracted from the data.
Additionally, large companies like AXA and SNCF have integrated similar data labs within their organizations to enhance their decision-making processes. AXA’s data lab, for instance, was designed to explore data-driven solutions like personalized insurance policies based on driving behavior. It has proven crucial in shaping their digital transformation, with the lab becoming a center for innovation and talent development. On the other hand, SNCF, leveraging its vast historical data on train schedules and maintenance, established a data lab to enhance safety, optimize performance, and share data across departments, creating a collaborative environment for innovation.
Conclusion
DataLab offers several key strengths that make it a powerful tool for data analytics, particularly for those leveraging LLMs (Large Language Models) and computational notebooks.
AI-Powered Chat Interface: DataLab provides an intuitive chat interface that allows users to interact with data as if they were communicating with a skilled colleague. The AI Assistant helps users by writing and running code, interpreting results, and answering data-related queries. This conversational format significantly simplifies data exploration and analysis.
Seamless Data Access: DataLab integrates with a wide range of data sources, including CSV files, Google Sheets, and major databases like Snowflake and BigQuery. This flexibility ensures that users can access their data from multiple platforms securely and efficiently.
Generative AI and Notebooks: While the AI Assistant writes and updates code, DataLab also allows users to review and modify the generated code in a full-featured notebook environment. This combination of AI automation and manual control ensures a high level of trust and accuracy in the insights derived from data.
Built-in Reporting: As users interact with their data, DataLab automatically generates live-updating reports. These reports can be customized and shared with a single click, streamlining the process of communicating findings.
Collaboration and Version Control: DataLab supports real-time collaboration, scheduling, and role-based access control, making it a robust tool for team environments. Its version history feature allows users to track changes and maintain the integrity of their work over time.
DataLab is a cutting-edge unified BI platform that integrates LLM agents and computational notebooks to streamline business intelligence tasks. It offers a unique combination of artificial intelligence and traditional data science tools, making it an ideal solution for teams looking to enhance their data analysis and decision-making processes. DataLab allows users to "chat with their data" using its AI assistant, which generates, edits, and fixes code while guiding users toward actionable insights.
Designed for both experts and beginners, DataLab provides a powerful IDE with built-in support for R, Python, and SQL, plus seamless integration with external databases. This makes it possible to conduct complex data analysis without the need for specialized programming skills. The platform also features easy-to-create visualizations and collaborative tools, allowing teams to work together in real time and produce shareable, insightful reports.
For those seeking a unified approach to BI, DataLab is a game-changer. Its innovative framework bridges the gap between various data roles and tasks, providing a comprehensive solution to previously fragmented BI tools. It’s time to explore DataLab for your next BI project and experience firsthand how LLM agents and computational notebooks can transform your data workflow.
Press contact
Timon Harz
oneboardhq@outlook.com
Other posts
Company
About
Blog
Careers
Press
Legal
Privacy
Terms
Security