TRANSMISSION // 2508.20637v3
An AI Agent Puts Graph Algorithms to Work
Source published
The GDS Agent connects a language model to graph-analysis tools. Tests show promise on several tasks, while highlighting how choices and interpretation can change answers.

Graphs describe connections: between transit stations, financial accounts or neurons. Finding patterns across a graph can require more than reading text. The GDS Agent pairs a language model with graph-analysis software so it can select and run algorithms on data held in a graph database. Its evaluations suggest this approach can help with complex tasks, while showing why results need checking.
A language model can summarize a document, but questions about a network often require calculations across many connections. Which stations are farthest apart? Which accounts sit along a chain of transfers? Which neurons are unusually central? These questions may call for graph algorithms—methods for analyzing nodes and the links between them—not just information retrieval or text-based reasoning.
In a technical report, Borun Shi, Lusine Adunts and Ioannis Panagiotas introduce the GDS Agent, a system designed to make such analysis accessible through ordinary language. It connects a language model to graph algorithms in Neo4j’s Graph Data Science software. The authors ask a practical question: can an AI agent choose suitable algorithms, prepare the data, run the tools and explain results for large graphs?
An analyst with a toolbox
The system uses a Model Context Protocol (MCP) server to provide tools, including algorithms for shortest paths, centrality and community detection. A “skill”—instructions supplied to the language model—guides its workflow. For a question about routes, for instance, the agent can inspect the database schema, select relevant stations and connections, project them into a graph, run a path-finding algorithm and turn its output into a readable answer.
The full graph is not pasted into the model’s text window. It stays in the database, while the model requests calculations and receives their results. The agent can retrieve or filter data before analysis and process algorithm output afterward. This can help when a result is too large to return at once: the system may rerun an analysis in a different mode and query only the needed entries.
The authors tested the setup in two ways. Their manually written benchmarks use a London Underground map and a Game of Thrones network. For each question, the researchers specify expected tool calls, parameters and answers, allowing them to assess both the agent’s actions and its final responses. They also examine two open-ended applications: tracing addresses associated with the 2025 Bybit theft in Ethereum transfer data, and analyzing the FlyWire fruit-fly brain connectome.
Promise, with important qualifications
On the London benchmark, six language models generally called the expected algorithms, but final-answer accuracy varied. Answer-match scores ranged from about 0.30 to 0.76. The authors describe cases where a model interpreted “nearest” as distance along the network rather than straight-line distance, or handled links stored in both directions in a way that changed a graph measure. Choosing the right algorithm was not enough: how the graph was built and how the question was understood also mattered.
The Bybit experiment compared GPT-5 with and without the agent’s tools and workflow, across 15 runs at each of two reasoning-effort settings. Using the FBI’s published list of 51 addresses as a reference, agent-equipped runs found a median of 30 listed addresses at medium effort and 39 at high effort. Results varied widely, and some runs performed poorly or timed out. The FBI list may be incomplete, so the paper treats precision against it as a lower bound. This is a test of one incident and dataset, not proof that the system can reliably identify illicit activity in general.
For the connectome, the agent produced network statistics broadly similar to a published analysis. Differences in the underlying graph data could explain some numerical gaps. This demonstrates a possible role in exploratory analysis, not independent validation of biological conclusions or replacement of specialist judgment.
What the evidence can—and cannot—show
Results depend on the data, graph projections, algorithms, model and prompts used. Some benchmark answers are not uniquely determined, and the paper notes that graph-construction choices can lead to different outcomes. The authors also describe a failure in which memory errors led the agent toward an unsuitable analysis and a very poor address list. Tool access does not remove the need to inspect assumptions, intermediate steps and evidence.
The work is an arXiv technical report. The supplied source does not establish its peer-review status, and the scope of the reported evaluations is limited: benchmarks use particular datasets, while open-ended demonstrations do not establish performance across other databases or domains. The study illustrates a design idea—pair a language model’s flexible instructions with established algorithms, while keeping tool calls and raw results inspectable. This may lower the barrier to graph analysis, but outputs still call for human scrutiny.
- AI agents
- graph algorithms
- large language models
- knowledge graphs
- Neo4j
- data science
Reviewed cross-references
These connections were reviewed by a model, not independently fact-checked by a human. Similarity does not imply agreement; consult the original papers and the evidence below.
Type-aware graph rankings offer a way to guide AI retrieval
Shared method: Both papers use PageRank as a graph-analytic signal in an LLM system: the GDS agent runs PageRank during graph analysis, while Typed-Centrality Grounding computes it within type-specific subgraphs. This is a shared algorithm, not evidence that either system performs better; their tasks and evaluation settings differ.
Model review: · openai-codex/gpt-6-luna
Evidence and provenance
Selected excerpts, not complete papers. PDF extraction can omit figures or damage equations, tables and reading order; sources may be preprints.
2508.20637v3 — Original paper
Excerpt reference:
static/papers/2508.20637v3.md:953-1006
Basis: Paper text
Source SHA-256:e74f6b6d0b5db0fde8fc5bb292cf6bf96c10ee360fadf6e6d5addee908cb3c122611.09414v1 — Original paper
Excerpt reference:
static/papers/2611.09414v1.md:297-411
Basis: Paper text
Source SHA-256:3af462e595de22548b3ed1b852803e17c7e34b87d1c52f16575aac14666de296
Related reading
Automatically matched by shared topic keywords. These links do not imply that the sources agree or establish a consensus.
Type-aware graph rankings offer a way to guide AI retrieval
Source published
Shared keywords: ai agents, knowledge graphs
How ML Agents Plan With Specialized Tools
Source published
Shared keywords: ai agents
When graphs help AI agents—and why better retrieval is not enough
Source published
Shared keywords: ai agents, knowledge graphs, large language models
MemVerse gives AI agents a two-speed memory
Source published
Shared keywords: ai agents, knowledge graphs
BobFlow puts AI data analysis into an inspectable workflow
Source published
Shared keywords: data science