TL;DR
The Data Agent Benchmark (DAB) is a new, realistic benchmark designed to evaluate AI data agents on complex, multi-database enterprise tasks. Grounded in a study of production workloads, DAB reveals that frontier LLMs struggle significantly with real-world data messiness, with the best model achieving only a 38% pass@1 accuracy.
What Problem Does This Paper Address?
While text-to-SQL and Table-QA benchmarks have driven massive progress in LLM capabilities, they fail to capture the chaotic reality of enterprise data. In production, data is rarely neatly organized in a single relational table. Instead, it is fragmented across heterogeneous database systems (e.g., PostgreSQL alongside MongoDB), plagued by inconsistent join keys (like trailing whitespaces or mismatched prefixes), and buried inside unstructured text fields.
Existing benchmarks evaluate isolated components of the data pipeline rather than the end-to-end workflow of integration, transformation, and analysis. To bridge this gap, the authors introduce DAB to systematically identify where AI data agents fail when faced with real-world enterprise complexity.
Methods
The authors first conducted a qualitative formative study of production query patterns from enterprise customers across six industries. This study surfaced four core challenges:
- Multi-database integration: Combining data across different database management systems (DBMSes) and query dialects.
- Ill-formatted join keys: Reconciling mismatched identifiers across systems.
- Unstructured text transformation: Extracting structured attributes from free-text fields.
- Domain knowledge: Applying company- or industry-specific business logic.
To evaluate LLMs against these challenges, the authors built an evaluation framework using the ReAct (Reasoning and Acting) pattern. Agents are equipped with four tools: list_db, query_db, execute_python, and return_answer.
Datasets
Because enterprise data is proprietary, the authors constructed DAB by sourcing 12 open-source datasets spanning 9 domains (including finance, healthcare, and e-commerce). They then manually and systematically perturbed these datasets to inject the four real-world complexities identified in their formative study.
DAB comprises 54 natural-language queries distributed across 4 different database systems (PostgreSQL, MongoDB, SQLite, and DuckDB).
The dataset creation process involves removing clean columns and re-embedding their values into free-text fields or altering join keys to force the agent to perform non-trivial data cleaning and extraction.
Key Insights and Ideas
- The "Regex Trap": When tasked with extracting structured data from unstructured text, every single agent relied exclusively on writing regular expressions. None attempted NLP parsing or LLM-based extraction. This caused catastrophic failures on datasets like
patents, where varied natural-language date formats broke the brittle regex patterns. - SQL Aggregation vs. Python Pulling: Pushing computation into SQL (e.g.,
GROUP BY) yields massive cost efficiencies. Models like GPT-5-mini naturally lean on SQL, whereas models like Kimi-K2 frequently pull massive, raw datasets into Python to process them serially, skyrocketing API costs. - The Goldilocks Zone of Exploration: Agents that explore data too little or too much both underperform. The most accurate models (Gemini-3-Pro and GPT-5-mini) consistently allocate roughly 20% of their tool calls to data exploration (sampling tables, checking schemas) before executing analytical queries.
- Planning and Implementation are the Real Bottlenecks: An LLM-judge error analysis revealed that 85% of failures stem from incorrect planning or faulty implementation, rather than selecting the wrong data sources. Agents generally know where the data is; they just don't know how to process it correctly.
Key Results
The authors benchmarked five frontier models: Gemini-3-Pro, GPT-5-mini, GPT-5.2, Kimi-K2, and Gemini-2.5-Flash over 50 independent trials per query.
- Accuracy: Gemini-3-Pro achieved the highest accuracy at 38% pass@1, followed by GPT-5-mini at 30%. Even when allowed 50 attempts (pass@50), the best model's accuracy topped out at 69%, proving that simply scaling attempts is insufficient for hard data tasks.
- Cost-Efficiency: GPT-5-mini emerged as the clear winner for cost-accuracy, achieving its 30% accuracy for a total benchmark cost of just $67. In contrast, Gemini-3-Pro was 20× more expensive ($1,355) for an 8 percentage point gain.
- Case Study: Evaluating DAB against PromptQL (a commercial data agent platform that utilizes a semantic layer) improved pass@1 performance by 7 percentage points over the baseline ReAct framework. However, like the standalone LLMs, it still failed entirely on queries requiring bulk text extraction.
Limitations and Future Work
A primary limitation of DAB's evaluation framework is its validation script, which relies on substring matching. This favors recall over precision, meaning an agent that returns the correct answer alongside extraneous incorrect data still passes. Additionally, to guarantee deterministic ground-truth answers, the authors had to exclude highly open-ended analytical reasoning tasks and live API integrations.
Future work highlights the need for agent frameworks to surface richer text-extraction primitives (like dedicated date parsers or LLM-based extraction operators) alongside standard SQL and Python tools to solve the benchmark's hardest queries.
Summary updated