MagicAgent: Towards Generalized Agent Planning

Xuhui Ren, Shaokang Dong, Chen Yang, Qing Gao, Yunbin Zhao +19 more
2/22/2026
cs.AIcs.HC

No confident code implementation found for this paper.

Abstract

The evolution of Large Language Models (LLMs) from passive text processors to autonomous agents has established planning as a core component of modern intelligence. However, achieving generalized planning remains elusive, not only by the scarcity of high-quality interaction data but also by inherent conflicts across heterogeneous planning tasks. These challenges result in models that excel at isolated tasks yet struggle to generalize, while existing multi-task training attempts suffer from gradient interference. In this paper, we present \textbf{MagicAgent}, a series of foundation models specifically designed for generalized agent planning. We introduce a lightweight and scalable synthetic data framework that generates high-quality trajectories across diverse planning tasks, including hierarchical task decomposition, tool-augmented planning, multi-constraint scheduling, procedural logic orchestration, and long-horizon tool execution. To mitigate training conflicts, we propose a two-stage training paradigm comprising supervised fine-tuning followed by multi-objective reinforcement learning over both static datasets and dynamic environments. Empirical results demonstrate that MagicAgent-32B and MagicAgent-30B-A3B deliver superior performance, achieving accuracies of $75.1\%$ on Worfbench, $55.9\%$ on NaturalPlan, $57.5\%$ on $τ^2$-Bench, $86.9\%$ on BFCL-v3, and $81.2\%$ on ACEBench, as well as strong results on our in-house MagicEval benchmarks. These results substantially outperform existing sub-100B models and even surpass leading closed-source models.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Cite this paper

@article{ren2026magicagent,
  title  = {MagicAgent: Towards Generalized Agent Planning},
  author = {Xuhui Ren and Shaokang Dong and Chen Yang and Qing Gao and Yunbin Zhao and Yongsheng Liu and Xinwei Geng and Xiang Li and Demei Yan and Yanqing Li and Chenhao Huang and Dingwei Zhu and Junjie Ye and Boxuan Yue and Yingnan Fu and Mengzhe Lv and Zezeng Feng and Boshen Zhou and Bocheng Wang and Xuanjing Huang and Yu-Gang Jiang and Tao Gui and Qi Zhang and Yunke Zhang},
  year   = {2026},
  eprint = {2602.19000},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2602.19000v1}
}

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

Discussion