MegaFlow: Large-Scale Distributed Orchestration System for the Agentic Era

Lei Zhang, Mouxiang Chen, Ruisheng Cao, Jiawei Chen, Fan Zhou, Yiheng Xu, Jiaxi Yang, Liang Chen, Changwei Luo, Kai Zhang, Fan Yan, KaShun Shum, Jiajun Zhang, Zeyu Cui, Hu feng, Junyang Lin, Binyuan Hui, Min Yang · Submission to ICLR 2026 · Rejected

Abstract

The rapid development of interactive and autonomous AI systems signals our entry into the agentic era. Training and evaluating agents on complex agentic tasks such as *software engineering* and *computer use* requires not only efficient model computation but also sophisticated infrastructure capable of coordinating vast agent-environment interactions. However, no open-source infrastructure can effectively support large-scale training and evaluation on such complex agentic tasks. To address this challenge, we present **MegaFlow**, a large-scale distributed orchestration system that enables efficient scheduling, resource allocation, and fine-grained task management for agent-environment workloads. MegaFlow abstracts agent training infrastructure into three independent services (*Model Service*, *Agent Service*, and *Environment Service*) that interact through unified interfaces, enabling independent scaling and flexible resource allocation across diverse agent-environment configurations. In our agent training deployments, MegaFlow successfully orchestrates tens of thousands of concurrent agent tasks while maintaining high system stability and achieving efficient resource utilization. By enabling such large-scale agent training, MegaFlow addresses a critical infrastructure gap in the emerging agentic AI landscape.
BibTeX
@misc{zhang2026megaflow,
  author = {Lei Zhang and Mouxiang Chen and Ruisheng Cao and Jiawei Chen and Fan Zhou and Yiheng Xu and Jiaxi Yang and Liang Chen and Changwei Luo and Kai Zhang and Fan Yan and KaShun SHUM and Jiajun Zhang and Zeyu Cui and Hu feng and Junyang Lin and Binyuan Hui and Min Yang},
  title = {{MegaFlow: Large-Scale Distributed Orchestration System for the Agentic Era}},
  year = {2026},
  eprint = {2601.07526},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2601.07526},
}
Figure