DeepEye: A Steerable Self-driving Data Agent System

Boyan Li, Yiran Peng, Yupeng Xie, Sirong Lu, Yizhang Zhu, Xing Mu, Xinyu Liu, Yuyu Luo · DOI

TL;DR

DeepEye is a steerable, self-driving data agent system that moves away from fragile, linear "ChatBI" interfaces toward a robust, workflow-centric architecture. By modeling complex data analysis tasks as transparent Directed Acyclic Graphs (DAGs) and employing a database-inspired workflow engine, it seamlessly integrates heterogeneous data sources while mitigating LLM hallucinations through strict context isolation.

What Problem Does This Paper Address?

While Large Language Models (LLMs) have made natural language interfaces for data analytics highly popular, current production deployments suffer from three major bottlenecks:

  1. The Heterogeneity Gap (C1): Real-world decision-making requires cross-referencing structured data (like SQL databases) with unstructured knowledge (like PDF market reports). Existing tools are siloed—Text-to-SQL handles databases, while Retrieval-Augmented Generation (RAG) handles documents—lacking a unified framework for joint analysis.
  2. Context Explosion (C2): Complex, multi-step analytical tasks force tool descriptions, intermediate observations, and chat history into a single global context window. This overload inevitably leads to LLM hallucinations, loss of focus, and instruction-following failures.
  3. Unreliability and Inefficiency (C3): The non-deterministic nature of LLMs clashes with the rigorous demands of data engineering. Existing agents generate "black-box" execution chains that are difficult to validate, debug, or optimize, and they typically execute tasks sequentially, resulting in high latency.

Methods

DeepEye addresses these challenges by introducing a workflow-centric architecture that structures data analysis as a transparent DAG.

Figure 1: The System Architecture of DeepEye.

Key components of the system include:

  • Unified Node Protocol & Context Isolation: The system abstracts all capabilities into a formal protocol classifying nodes into two types: ToolNodes (deterministic, rule-based operations like running code or reading a data source) and AgentNodes (probabilistic, LLM-driven sub-agents). Crucially, AgentNodes operate within private, isolated context windows, shielding the global planner from intermediate reasoning noise.
  • Memory-Augmented Planner: Utilizing a dual-memory system (short-term working memory for dialogue/state and a long-term vector Knowledge Base for historical workflows and metadata), the planner translates high-level user requests into executable DAGs. It supports self-correction by feeding runtime execution errors back into the planner for automatic re-planning.
  • Database-Inspired Workflow Engine: Borrowing principles from modern DBMS query engines, the engine processes the plan through four distinct phases:
  • Compilation: Parses the planner's logical JSON plan into a structural DAG object.
  • Validation (Static Analysis): Performs rigorous safety checks, including cycle detection via Depth-First Search (DFS) and strict schema type-compatibility checks between connected ports.
  • Optimization (Runtime): Utilizes Kahn's Algorithm to group independent tasks into execution layers, enabling automatic parallelization (e.g., running a database read and a document search simultaneously).
  • Execution: Schedules and dispatches the optimized layers to an asynchronous cloud-native infrastructure powered by Celery, Redis, and Docker.

Datasets

Not discussed in the paper. (As a system demonstration paper, it focuses on architectural design rather than benchmarking on standard datasets, though it notes the integration of the authors' prior Text-to-SQL framework, DeepEye-SQL).

Key Insights and Ideas

  • Treating LLM Agents like Database Queries: The core "aha moment" is applying classic database compiler and optimizer principles to LLM agent workflows. By treating LLM steps as operators in a query plan, the system gains static validation (preventing failures before execution) and topological optimization (speeding up execution via parallel layers).
  • Context Isolation as a Cure for Hallucination: Instead of feeding an entire multi-turn history into one giant prompt, breaking the task into modular nodes with strict input/output schemas keeps the LLM focused on small, deterministic sub-problems.
  • Steerability and Human-in-the-Loop Design: Unlike fully autonomous "black-box" agents that users must blindly trust, DeepEye provides a visual canvas where users can inspect node internals (like generated SQL), manually edit them, and rely on the system's static validator to immediately catch downstream schema mismatches.

Key Results

The authors demonstrate DeepEye's capabilities through a "Global Sales Performance Analysis" scenario.

Figure 2: The Demonstration of DeepEye.

The system successfully ingests heterogeneous data (SQL databases and PDF documentation) and autonomously orchestrates a parallelized workflow. It synthesizes these diverse inputs into rich, multimodal outputs, including Data Videos, Dashboards, and Analytical Reports. The runtime optimizer successfully identifies independent tasks, significantly reducing end-to-end latency compared to traditional sequential execution, while the user interface provides fully transparent, auditable "Thought-Action" traces.

Limitations and Future Work

Not discussed in the paper.

Summary updated

BibTeX
@inproceedings{li2026deepeye,
  author = {Boyan Li and Yiran Peng and Yupeng Xie and Sirong Lu and Yizhang Zhu and Xing Mu and Xinyu Liu and Yuyu Luo},
  title = {{DeepEye: A Steerable Self-driving Data Agent System}},
  booktitle = {SIGMOD Companion},
  year = {2026},
  doi = {10.1145/3788853.3801612},
}
Figure