Code and data for the paper "Plan-over-Graph: Towards Parallelable LLM Agent Schedule". [paper]
Large Language Models (LLMs) have demonstrated exceptional abilities in reasoning for task planning. However, challenges remain under-explored for parallel schedules. This paper introduces a novel paradigm,
- Clone the repository:
git clone https://github.com/zsq259/Plan-over-Graph.git
cd Plan-over-Graph- Create a virtual environment and install dependencies:
conda create -n planovergraph python=3.12
conda activate planovergraph
pip install -r requirements.txt- Download the dataset:
mkdir data && cd data
wget https://huggingface.co/datasets/hastin/plan-over-graph/resolve/main/data.zip
unzip data.zip && rm data.zip
cd ..We provide our results in
result/folder for your reference.
- Run the testing script: You can run the testing script to evaluate the model on the test set.
./script/test.sh # script for testing abstract graph
./script/test_query.sh # script for testing textual query without extraction
./script/test_extract.sh # script for testing textual query with extractionIf you find this code useful for your research, please consider citing our paper:
@misc{zhang2025planovergraphparallelablellmagent,
title={Plan-over-Graph: Towards Parallelable LLM Agent Schedule},
author={Shiqi Zhang and Xinbei Ma and Zouying Cao and Zhuosheng Zhang and Hai Zhao},
year={2025},
eprint={2502.14563},
archivePrefix={arXiv},
primaryClass={cs.AI},
url={https://arxiv.org/abs/2502.14563},
}