What Happens When the Model Eats the Stack? Rethinking the Research Agenda for Data Agents to Withstand the Bitter Lesson

Liana Patel, Siddharth Jha, Negar Arabzadeh, Carlos Guestrin, Ion Stoica, Matei ZahariaarXiv 2026

TL;DR

As large language models (LLMs) rapidly internalize reasoning and planning, general-purpose coding agents are beginning to outperform specialized, hand-engineered data pipelines. However, these models still fail when they lack specific environmental knowledge, highlighting an urgent need for future data systems to natively support, store, and maintain "persistent semantic context."

What Problem Does This Paper Address?

Rich Sutton’s famous essay The Bitter Lesson posits that general methods leveraging massive computation eventually triumph over hand-engineered domain knowledge. In the data systems community, researchers have spent years building highly specialized data agents with rigid scaffolding, custom text-to-SQL prompts, and fixed task-decomposition steps to compensate for LLM limitations.

This paper asks an existential question: As frontier models inevitably get smarter and "eat" these engineered system layers, what systems problems will actually endure?

The authors discover that while modern LLMs are rapidly mastering reasoning and code generation, they fundamentally struggle with non-parametric environmental knowledge—the organization-specific schemas, implicit join paths, and nuanced metric definitions unique to any given enterprise data store. Currently, agents wastefully re-discover this context across queries, leading to massive inefficiencies and semantic failures.

Methods

The authors evaluate the evolution of agentic capabilities over a two-year horizon using frontier models spanning 2025 to 2026: OpenAI's o3, GPT-5, and GPT-5.6 Sol. They compare a flexible, general-purpose coding agent harness (Codex) against state-of-the-art, human-designed data agents (Agentar-Scale-SQL and DeepEye).

To address the environmental knowledge gap, they introduce and evaluate persistent semantic context. Instead of forcing an agent to explore a database from scratch for every query, they shift this work offline. They prompt the agent to analyze historical query traces and data environments to author its own natural-language Markdown context files (Self-Curated contexts) or use automated prompt optimization (GEPA) to guide downstream online queries.

Datasets

The paper utilizes two recent, rigorous data agent benchmarks:

  • TAG-Bench: Queries that require a combination of exact database computation, semantic reasoning, and world knowledge over relational databases.
  • Data-Agent Benchmark (DAB): Multi-step analytical tasks executed over fragmented enterprise data environments (e.g., SQLite, DuckDB, PostgreSQL, MongoDB).

Key Insights and Ideas

  • The Subsumption of the Stack: Rigid, human-designed agent pipelines that impose human priors actually hinder performance on newer frontier models. As models internalize planning and debugging, general coding agents generalize much better.
  • The Speculation Myth Debunked: Prior work suggested that future data systems would be bottlenecked by massive, inefficient "agentic speculation" (floods of low-quality queries). Instead, the authors show that newer models natively become more efficient, solving tasks with significantly fewer turns and tokens.
  • Knowledge, Not Reasoning, is the Bottleneck: Top-tier models rarely fail due to broken code or logical fallacies. Instead, over 60% of failures stem from semantic misinterpretations, such as using the wrong data source or misunderstanding a business metric.
Figure 3: Failures by root-cause cluster for Coding Agents across model generations on TAG and DAB.
  • A New Systems Overhead: Moving data profiling offline into a persistent semantic context layer dramatically improves accuracy, but it introduces massive systems overheads in build time and storage cost, mirroring classical database indexing challenges.

Key Results

  • Coding Agents Take the Lead: Powered by GPT-5.6 Sol, the general coding agent substantially outperformed specialized human-designed agents on both benchmarks, nearly matching an expert-written Oracle baseline on TAG-Bench.
Figure 1: Performance of general coding agents (blue) and human-designed data agents (orange) with successive model versions, including o3 (released early 2025), GPT-5 (released mid-2025), and GPT-5.6 Sol (released mid-2026) on two data-agent benchmarks, TAG-Bench and DAB.
  • Drastic Efficiency Gains: GPT-5.6 Sol reduced the average number of turns per query on DAB by roughly 4× compared to the older o3 model, driven by a sharp decline in required verification and recovery steps.
Figure 2: Turns per query for Coding Agents across model generations on DAB.
  • Context Boosts Accuracy: Appending a "Self-Curated (Accuracy)" persistent context to the prompt gave the coding agent a massive 19 percentage point accuracy boost over the no-context baseline.
  • The Cost of Context: Constructing these contexts is computationally expensive. Generating a comprehensive schema-focused context took over 3,400 seconds and cost $9.60 for a small-scale experimental setup of just 12 datasets.

Limitations and Future Work

The primary limitation acknowledged by the authors is scale. The empirical tests were conducted in a small-scale environment with 12 historical traces. Real-world enterprise environments span terabytes of data, thousands of tables, and long-horizon agent interactions, which will compound context sizes and costs exponentially.

Consequently, the authors outline a new research agenda for the database community to treat persistent semantic context as a first-class abstraction:

  1. Semantic Consistency: How do systems automatically update natural-language context files when underlying schemas, business definitions, or data distributions change?
  2. Physical Design & Data Structures: Much like classical B-trees or vector indexes, what are the optimal data structures to store, partition, and retrieve heterogeneous semantic metadata?
  3. Context Compression: How can systems compress millions of tokens of documentation and execution logs into compact representations that fit within an LLM's context window without losing critical downstream utility?

Summary updated

BibTeX
@misc{patel2026what,
  author = {Liana Patel and Siddharth Jha and Negar Arabzadeh and Carlos Guestrin and Ion Stoica and Matei Zaharia},
  title = {{What Happens When the Model Eats the Stack? Rethinking the Research Agenda for Data Agents to Withstand the Bitter Lesson}},
  year = {2026},
  eprint = {2609.03141},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2609.03141},
}
Figure