AgentGL: Towards Agentic Graph Learning with LLMs via Reinforcement Learning

Yuanfu Sun, Kang Li, Dongzhe Fan, Jiajin Liu, Qiaoyu Tan
4/7/2026
cs.CL

Official code: sunyuanfu/AgentGL (15 stars, last commit 2026-04-30).

Abstract

Large Language Models (LLMs) increasingly rely on agentic capabilities-iterative retrieval, tool use, and decision-making-to overcome the limits of static, parametric knowledge. Yet existing agentic frameworks treat external information as unstructured text and fail to leverage the topological dependencies inherent in real-world data. To bridge this gap, we introduce Agentic Graph Learning (AGL), a paradigm that reframes graph learning as an interleaved process of topology-aware navigation and LLM-based inference. Specifically, we propose AgentGL, the first reinforcement learning (RL)-driven framework for AGL. AgentGL equips an LLM agent with graph-native tools for multi-scale exploration, regulates tool usage via search-constrained thinking to balance accuracy and efficiency, and employs a graph-conditioned curriculum RL strategy to stabilize long-horizon policy learning without step-wise supervision. Across diverse Text-Attributed Graph (TAG) benchmarks and multiple LLM backbones, AgentGL substantially outperforms strong GraphLLMs and GraphRAG baselines, achieving absolute improvements of up to 17.5% in node classification and 28.4% in link prediction. These results demonstrate that AGL is a promising frontier for enabling LLMs to autonomously navigate and reason over complex relational environments. The code is publicly available at https://github.com/sunyuanfu/AgentGL.

View on arXivView PDF

Code Implementations(1)

sunyuanfu/AgentGLOfficial100%

Code for ACL'26 paper "AgentGL: Towards Agentic Graph Learning with LLMs via Reinforcement Learning".

150PythonJan 6, 20265 months ago

Similar Papers

Cite this paper

@article{sun2026agentgl,
  title  = {AgentGL: Towards Agentic Graph Learning with LLMs via Reinforcement Learning},
  author = {Yuanfu Sun and Kang Li and Dongzhe Fan and Jiajin Liu and Qiaoyu Tan},
  year   = {2026},
  eprint = {2604.05846},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2604.05846v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2604.05846.svg)](https://codeofpaper.com/paper/2604.05846)

Discussion