mlsanityData to 14 Oct 2026

Can LLM Coding Agents Reason About Time Series?

arXiv 2606.16545 ↗First posted 15 Jun 2026cs.CLcited by 1

On the map: LLM reasoning → Time series reasoning

also in 1 more
Abstract (arXiv)

Large language models (LLMs) are increasingly being used for automated decision-making systems in finance, healthcare, or environmental monitoring. Time series data are ubiquitous in these fields, yet hard to process automatically. Can time series be analyzed by LLM agents? We examine three approaches: providing the agent with raw numerical data, using the LLM as a coding agent, or a combination of both. In the coding agent setup, the model iteratively queries the data using Python code. Using two time series understanding benchmarks, we show that agents with code access can outperform models processing raw data by up to 10%. However, even the best performing agent still answers about 22-34% of the questions incorrectly. To get insights into models' strategies and reasoning gaps, we analyze the model outputs with a strong LLM judge. Our analysis reveals that coding agents can select appropriate statistical tests, but often miss important nuances. Meanwhile, models with access to raw data can reach the right conclusions using back-of-the-envelope calculations.

Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Placed in Time series reasoning, one of 17 directions in LLM reasoning. Builds on 25 of its 40 references that are in the map. First posted on arXiv 15 Jun 2026.

Builds on

25 of 40 references.

Closest ancestors · 2

Same direction, newest first

  1. 2025When LLM Meets Time Series: Can LLMs Perform Multi-Step Time Series Reasoning and Inference1 Sep
  2. 2024Language Models Still Struggle to Zero-shot Reason about Time Series17 Apr

Other references · 23

  1. 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,695
  2. 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,373
  3. 2023A Survey on Large Language Model based Autonomous Agentscited by 2,242
  4. 2020Informer: Beyond Efficient Transformer for Long Sequence Time-Series Forecastingcited by 2,169
  5. 2021Autoformer: Decomposition Transformers with Auto-Correlation for Long-Term Series Forecastingcited by 1,676
  6. 2017DeepAR: Probabilistic Forecasting with Autoregressive Recurrent Networkscited by 1,013
  7. 2024Chronos: Learning the Language of Time Seriescited by 759
  8. 2019N-BEATS: Neural basis expansion analysis for interpretable time series forecastingcited by 753
  9. 2024LLM Evaluators Recognize and Favor Their Own Generationscited by 686
  10. 2022Binding Language Models in Symbolic Languagescited by 228
  11. 2025Evaluation and Benchmarking of LLM Agents: A Surveycited by 152
  12. 2024Large Language Models for Time Series: A Surveycited by 114
11 more
  1. 2025A Survey on Code Generation with LLM-based Agentscited by 106
  2. 2023LLMs as Narcissistic Evaluators: When Ego Inflates Evaluation Scorescited by 90
  3. 2024A Chain-of-Thought Is as Strong as Its Weakest Link: A Benchmark for Verifiers of Reasoning Chainscited by 65
  4. 2025Evaluating Step-by-step Reasoning Traces: A Surveycited by 63
  5. 2024Evaluating Large Language Models on Time Series Feature Understanding: A Comprehensive Taxonomy and Benchmarkcited by 38
  6. 2024Empowering Time Series Analysis with Foundation Models: A Comprehensive Surveycited by 23
  7. 2024Mitigating Misleading Chain-of-Thought Reasoning with Selective Filteringcited by 10
  8. 2026Quantifying and Mitigating Self-Preference Bias of LLM Judgescited by 10
  9. 2025Evaluating Large Language Models for Real-World Engineering Taskscited by 7
  10. 2025Revisiting LLMs as Zero-Shot Time-Series Forecasters: Small Noise Can Break Large Modelscited by 7
  11. 2024Time Series Foundation Models and Deep Learning Architectures for Earthquake Temporal and Spatial Nowcastingcited by 3

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 1.

1 paper.

Similar, not cited

Close in wording, no citation either way

  1. 2026LLM-based Agents for Forecasting and Prediction: Methods, Training, Evaluation, and Applications
  2. 2026LLM Agents for Time-Series: A Survey
  3. 2024Can LLMs Understand Time Series Anomalies?
  4. 2025Toward Reasoning-Centric Time-Series Analysis
  5. 2025Large Language models for Time Series Analysis: Techniques, Applications, and Challenges
  6. 2025TS-Agent: Understanding and Reasoning Over Raw Time Series via Iterative Insight Gathering
  7. 2025Structured Agentic Workflows for Financial Time-Series Modeling with LLMs and Reflective Feedback
  8. 2024A Survey on Large Language Model-based Agents for Statistics and Data Science