轻量可扩展的多智能体框架,让大模型高效完成复杂任务自动化。
Nexus: A Lightweight and Scalable Multi-Agent Framework for Complex Tasks Automation
- 采用灵活的多主管层级结构,支持任务自适应分配
- 在代码生成与数学推理上达到99%通过率,优化任务省电近30%
- 开源易用,适合开发复杂AI自动化系统的研究者
大型语言模型(LLMs)的进步显著提升了多智能体系统(MASs)的能力,使其不仅能自动化任务,还能具备接近人类的推理能力。为实现这一目标,基于LLM的MAS需满足两个关键原则:(i) 具备强大架构以充分挖掘特定任务或任务集中的LLM潜力;(ii) 有效方法使LLM具备执行任务和高效管理信息的能力。然而,预先设定的架构会限制系统的可扩展性和领域适应性。为此,本文提出Nexus:一个轻量级、可扩展的Python框架,用于快速构建和管理基于LLM的MAS。Nexus引入三项创新:(i) 灵活的多主管层级结构,(ii) 简化的工作流设计,(iii) 易安装与开源灵活性——可通过pip安装,采用宽松开源许可,支持自由修改与扩展。实验表明,基于Nexus构建的架构在多个领域表现卓越:在代码任务中,其系统在HumanEval上达到99%通过率,在VerilogEval-Human上实现100%正确率,优于o3-mini和DeepSeek-R1等前沿推理模型;在复杂推理与数学问题求解方面,对MATH数据集随机选取的所有题目均给出正确解答;在多目标优化领域,成功解决VTR基准套件中的时序收敛难题,平均功耗降低近30%。
原文摘要 · Abstract (English)
Recent advancements in Large Language Models (LLMs) have substantially evolved Multi-Agent Systems (MASs) capabilities, enabling systems that not only automate tasks but also leverage near-human reasoning capabilities. To achieve this, LLM-based MASs need to be built around two critical principles: (i) a robust architecture that fully exploits LLM potential for specific tasks -- or related task sets -- and ($ii$) an effective methodology for equipping LLMs with the necessary capabilities to perform tasks and manage information efficiently. It goes without saying that a priori architectural designs can limit the scalability and domain adaptability of a given MAS. To address these challenges, in this paper we introduce Nexus: a lightweight Python framework designed to easily build and manage LLM-based MASs. Nexus introduces the following innovations: (i) a flexible multi-supervisor hierarchy, (ii) a simplified workflow design, and (iii) easy installation and open-source flexibility: Nexus can be installed via pip and is distributed under a permissive open-source license, allowing users to freely modify and extend its capabilities. Experimental results demonstrate that architectures built with Nexus exhibit state-of-the-art performance across diverse domains. In coding tasks, Nexus-driven MASs achieve a 99% pass rate on HumanEval and a flawless 100% on VerilogEval-Human, outperforming cutting-edge reasoning language models such as o3-mini and DeepSeek-R1. Moreover, these architectures display robust proficiency in complex reasoning and mathematical problem solving, achieving correct solutions for all randomly selected problems from the MATH dataset. In the realm of multi-objective optimization, Nexus-based architectures successfully address challenging timing closure tasks on designs from the VTR benchmark suite, while guaranteeing, on average, a power saving of nearly 30%.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。