Title: GDS Agent for Graph Algorithmic Reasoning

Abstract: Large language models (LLMs) have shown remarkable multimodal information processing and reasoning ability. When equipped with tools through function calling and enhanced with retrieval-augmented techniques, compound LLM-based systems can access closed data sources and answer questions about them. However, they still struggle to process and reason over large-scale graph-structure data. In this technical report we introduce the GDS (Graph Data Science) agent. The GDS agent introduces a comprehensive set of graph algorithms as tools, together with preprocessing (retrieval) and postprocessing of algorithm results, in a model context protocol (MCP) server. It is accompanied by a skill that guides the LLM through graph analysis. The agent can be used with any modern LLM out-of-the-box. GDS agent allows users to ask any question that implicitly and intrinsically requires graph algorithmic reasoning about their data, and quickly obtain accurate and grounded answers. We introduce new benchmarks that evaluate intermediate tool calls as well as final responses, and the results indicate that the GDS agent solves a wide spectrum of graph tasks. We also demonstrate how the GDS agent can perform open-ended analyses at the level of domain experts, on tasks such as money laundering tracing and pattern mining in biology. Finally, we discuss the remaining challenges and the future roadmap.
Subjects:Machine Learning (cs.LG) ; Artificial Intelligence (cs.AI); Computation and Language (cs.CL)
Comments:Technical report
Cite as: arXiv:2508.20637 [cs.LG]

cs.LG recent