mlsanityData to 24 Nov 2026

Same Context, Different Agents: A Behavioral Study of Semantic Layers, Orchestration and Compaction in Data Agents

arXiv 2610.20959 ↗Submitted 14 Oct 2026cs.CL cs.AIcited by 0

On the map: LLM agents and tool use → Web, search, and research agents

Abstract (arXiv)

Answering questions over heterogeneous data means combining evidence from files, databases, documents and the web. Data agents automate this, but their success depends on context. Three context-engineering techniques (CETs) help by shaping it: semantic layers describe the data, orchestration splits work among agents, and compaction condenses interaction history. Existing studies validate each CET alone, leaving open how agent behavior shapes its effect. We present a comprehensive analysis of the three CETs, alone and combined, with seven large language models (LLMs) on 1,514 long-horizon tasks from five benchmarks, covering behavior, accuracy and cost. We find that data agents without CETs form three behavior groups: investigators, premature answerers that answer without inspecting data, and early stoppers that give up. Each CET delivers its known benefit, from more investigation to smaller prompts, but only the behavior group it matches turns that benefit into accuracy, such as premature answerers under orchestration. For investigators, the same CETs can hurt: the semantic layer stops them from looking, orchestration makes them overconfident, costing 5 percentage points, and compaction makes them repeat steps. Combining CETs yields smaller gains and losses than their sum. We derive guidance for choosing CETs by agent behavior, task demands and accuracy-cost trade-offs.

Key facts. No citing papers in the map yet (data through 24 Nov 2026). Placed in Web, search, and research agents, one of 16 directions in LLM agents and tool use. Builds on 29 of its 34 references that are in the map. Submitted 14 Oct 2026.

Builds on

29 of 34 references.

Closest ancestors · 3

Same direction, newest first

  1. 2026EvoOntology: A Self-Evolving Ontology Layer for Data Agents14 Sep
  2. 2024DSBench: How Far Are Data Science Agents from Becoming Data Science Experts?12 Sep
  3. 2024Data Interpreter: An LLM Agent For Data Science28 Feb

Other references · 26

  1. 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 9,589
  2. 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,871
  3. 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,765
  4. 2023AutoGen: Enabling Next-Gen LLM Applications via Multi-Agent Conversationcited by 2,189
  5. 2023MemGPT: Towards LLMs as Operating Systemscited by 1,655
  6. 2018Spider: A Large-Scale Human-Labeled Dataset for Complex and Cross-Domain Semantic Parsing and Text-to-SQL Taskcited by 1,205
  7. 2023Can LLM Already Serve as A Database Interface? A BIg Bench for Large-Scale Database Grounded Text-to-SQLscited by 747
  8. 2025MEM1: Learning to Synergize Memory and Reasoning for Efficient Long-Horizon Agentscited by 274
  9. 2024Spider 2.0: Evaluating Language Models on Real-World Enterprise Text-to-SQL Workflowscited by 267
  10. 2025Towards a Science of Scaling Agent Systemscited by 177
  11. 2025ACON: Optimizing Context Compression for Long-horizon LLM Agentscited by 171
  12. 2025Context Length Alone Hurts LLM Performance Despite Perfect Retrievalcited by 154
14 more
  1. 2024The Death of Schema Linking? Text-to-SQL in the Age of Well-Reasoned Language Modelscited by 71
  2. 2024BEAVER: An Enterprise Benchmark for Text-to-SQLcited by 51
  3. 2026Single-Agent LLMs Outperform Multi-Agent Systems on Multi-Hop Reasoning Under Equal Thinking Token Budgetscited by 47
  4. 2025KramaBench: A Benchmark for AI Systems on Data-to-Insight Pipelines over Data Lakescited by 41
  5. 2023A Benchmark to Understand the Role of Knowledge Graphs on Large Language Model's Accuracy for Question Answering on Enterprise SQL Databasescited by 30
  6. 2025ToolScope: Enhancing LLM Agent Tool Use through Tool Merging and Context-Aware Filteringcited by 26
  7. 2026LOCA-bench: Benchmarking Language Agents Under Controllable and Extreme Context Growthcited by 19
  8. 2025FDABench: A Benchmark for Data Agents on Analytical Queries over Heterogeneous Datacited by 16
  9. 2026Can AI Agents Answer Your Data Questions? A Benchmark for Data Agentscited by 14
  10. 2026DataSpace: Benchmarking Data Agents for Verifiable Analytics over Heterogeneous Workspacescited by 6
  11. 2026Semantic Layers for Reliable LLM-Powered Data Analytics: A Paired Benchmark of Accuracy and Hallucination Across Three Frontier Modelscited by 5
  12. 2026SOMA-SQL: Resolving Multi-Source Ambiguity in NL-to-SQL via Synthetic Log and Execution Probingcited by 2
  13. 2026Benchmarking Hybrid Deep Research Across Database Querying and Web Searchcited by 2
  14. 2026DataClawBench: An Agent Benchmark for Exploratory Real-World Financial Data Analysiscited by 1

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2026From Question Answering to Task Completion: A Survey on Agent System and Harness Design
  2. 2026LongSeeker: Elastic Context Orchestration for Long-Horizon Search Agents
  3. 2025Supporting Dynamic Agentic Workloads: How Data and Agents Interact
  4. 2026When Your Agent Opens the Chat App: Agent-Controlled Search over Raw Chat Logs Rivals Structured Memory
  5. 2025Hindsight is 20/20: Building Agent Memory that Retains, Recalls, and Reflects
  6. 2026Agentic Context Cracking: Token-Efficient Data Reasoning Agents via Adaptive Structuring of Unstructured Data
  7. 2026Structured Context Engineering for File-Native Agentic Systems: Evaluating Schema Accuracy, Format Effectiveness, and Multi-File Navigation at Scale
  8. 2026AlphaDiana: A Measurement System for Agents in Verifiable Reasoning Tasks