Agentic AI
Researchers Build Causal Reasoning Agent That Lets LLMs Handle Tabular Data Problems
A new framework equips large language models with specialized causal tools to reason about structured data, tackling gaps in how LLMs process complex causal relationships.
Large language models excel at natural language processing but struggle when faced with causal reasoning tasks—especially when working with structured, tabular data. Researchers have now addressed this mismatch by developing a Causal Agent, an agent-based framework that bridges the gap between LLMs' language strengths and the demands of causal inference.
The Core Challenge#
Causal problems present two fundamental obstacles for LLMs. First, causal theory and methods are difficult to express and convey through natural language alone, limiting the model's ability to apply them accurately. Second, causal datasets typically come in tabular form—rows and columns of structured data—which conflicts with the type of information LLMs naturally process. This structural mismatch prevents LLMs from reasoning effectively over such datasets without external help.
How the Causal Agent Works#
The Causal Agent combines three key components: a tool module that encapsulates causal functions and translates tabular data into natural language via Python code execution; a reasoning module that iteratively applies these tools to solve problems step-by-step; and a memory module that stores and retrieves causal graphs as a dictionary indexed by variable names.
By equipping the LLM with specialized causal tools within an agentic framework, the system can tackle causal inference tasks that standalone language models cannot handle.
Benchmark and Performance#
To measure effectiveness, researchers created CausalTQA, a benchmark containing roughly 1,400 questions spanning four difficulty levels:
- Variable-level reasoning
- Edge-level causal relationships
- Full causal graph construction
- Causal effect estimation
The Causal Agent achieved accuracy rates above 80% across all four levels. When tested on a real-world dataset (QRData), it outperformed the previous state-of-the-art baseline by 6 percentage points, demonstrating both breadth and practical impact.
Research details and implementation are available in the project's GitHub repository.

