GraphAgent: Agentic Graph Language Assistant

Yuhao Yang, Jiabin Tang, Lianghao Xia, Xingchen Zou, Yuxuan Liang +1 more
12/22/2024
cs.AI

Official code: HKUDS/GraphAgent (364 stars, last commit 2025-02-08).

Abstract

Real-world data is represented in both structured (e.g., graph connections) and unstructured (e.g., textual, visual information) formats, encompassing complex relationships that include explicit links (such as social connections and user behaviors) and implicit interdependencies among semantic entities, often illustrated through knowledge graphs. In this work, we propose GraphAgent, an automated agent pipeline that addresses both explicit graph dependencies and implicit graph-enhanced semantic inter-dependencies, aligning with practical data scenarios for predictive tasks (e.g., node classification) and generative tasks (e.g., text generation). GraphAgent comprises three key components: (i) a Graph Generator Agent that builds knowledge graphs to reflect complex semantic dependencies; (ii) a Task Planning Agent that interprets diverse user queries and formulates corresponding tasks through agentic self-planning; and (iii) a Task Execution Agent that efficiently executes planned tasks while automating tool matching and invocation in response to user queries. These agents collaborate seamlessly, integrating language models with graph language models to uncover intricate relational information and data semantic dependencies. Through extensive experiments on various graph-related predictive and text generative tasks on diverse datasets, we demonstrate the effectiveness of our GraphAgent across various settings. We have made our proposed GraphAgent open-source at: https://github.com/HKUDS/GraphAgent.

View on arXivView PDF

Code Implementations(1)

HKUDS/GraphAgentOfficial100%

[EMNLP2025] "GraphAgent: Agentic Graph Language Assistant"

36453Shell, PythonDec 18, 20241 years ago
agentgraph-datalanguage-assistantlarge-language-models

Similar Papers

Cite this paper

@article{yang2024graphagent,
  title  = {GraphAgent: Agentic Graph Language Assistant},
  author = {Yuhao Yang and Jiabin Tang and Lianghao Xia and Xingchen Zou and Yuxuan Liang and Chao Huang},
  year   = {2024},
  eprint = {2412.17029},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2412.17029v1}
}

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/2412.17029.svg)](https://codeofpaper.com/paper/2412.17029)

Discussion