Manuscript Offprint

arXiv:2610.39193

Goal-Aware Dynamic Multi-Agent Collaboration for Long-Horizon Tasks

Xu Shen, Lingyong Yan, Shuaiqiang Wang, Jianmin Wu, Zhikai Chen, Jiliang Tang, Jie Ren

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Xu Shen

Michigan State University

East Lansing, USA

shenxu@msu.edu

Lingyong Yan

Baidu, Inc.

Beijing, China

Jianmin Wu

Baidu, Inc.

Beijing, China

Shuaiqiang Wang

Baidu, Inc.

Beijing, China

Zhikai Chen

Michigan State University

East Lansing, USA

Jiliang Tang

Michigan State University

East Lansing, USA

Jie Ren ∗^{*}

Massachusetts Institute of Technology

Cambridge, USA

rjie@mit.edu

Abstract

LLM-based agents are increasingly used to complete complex, long-horizon tasks without human intervention. To make progress toward the task goal, agents need to perform different duties, such as planning and verification, when needed. To understand how single agents manage these duties during long-horizon execution, we conduct a preliminary study. Our analysis shows that verification has the strongest association with task success, but often occurs late, leaving limited opportunities for correction. We also find that the proportion of duty-relevant information decreases as records from different duties accumulate in a shared context. These findings lead us to examine whether multi-agent systems (MAS) can address these problems by assigning duties to agents with separate contexts. Our analysis shows that this separation alone is insufficient. Agents can lose track of the overall goal and repeat prior investigations. They may also lack necessary background while receiving irrelevant information from others. To maintain goal awareness and coordinate collaboration as task needs change, we propose Goal-Aware Dynamic Multi-Agent Collaboration (GAD). It uses a growing execution graph to organize subtasks and their dependencies. To keep agents focused on their goals, each context retains the original instruction and the assigned task's goal and acceptance conditions. To adapt collaboration and information sharing during execution, agents can divide tasks into subtasks and specify dependencies based on execution evidence. These dependencies guide when agents work and which results they receive. Verification and recovery check subtask results and full task completion against their goals, providing feedback for repair when checks fail. Experiments with Claude Sonnet 4.6 and Qwen3.7-Plus on Terminal-Bench 2.1 and SWE-bench Pro Hard-51 show performance improvements over the evaluated baselines and lower token costs than multi-agent baselines on jointly solved tasks.

CCS Concepts

• Computing methodologies → Artificial intelligence.

∗^{*}Corresponding author.

References (20)