SwarmAgentic:基於群體智慧實現全自動代理系統生成
SwarmAgentic: Towards Fully Automated Agentic System Generation via Swarm Intelligence
June 18, 2025
作者: Yao Zhang, Chenyang Lin, Shijie Tang, Haokun Chen, Shijie Zhou, Yunpu Ma, Volker Tresp
cs.AI
摘要
大型語言模型的快速進展推動了智能代理系統在決策、協調和任務執行方面的發展。然而,現有的智能代理系統生成框架缺乏完全自主性,無法實現從零開始的代理生成、自我優化的代理功能以及協作,這限制了系統的適應性和可擴展性。我們提出了SwarmAgentic,這是一個用於完全自動化智能代理系統生成的框架,它從零開始構建智能代理系統,並通過語言驅動的探索,將代理功能和協作作為相互依賴的組件進行聯合優化。為了實現對系統級結構的高效搜索,SwarmAgentic維護了一組候選系統,並通過反饋引導的更新來進化它們,這一過程受到粒子群優化(PSO)的啟發。我們在六個涉及高層次規劃、系統級協調和創造性推理的真實世界、開放式和探索性任務上評估了我們的方法。僅給定任務描述和目標函數,SwarmAgentic在所有基線方法中表現優異,在TravelPlanner基準測試中相對於ADAS實現了+261.8%的相對改進,這凸顯了在結構無約束任務中完全自動化的有效性。該框架標誌著可擴展和自主智能代理系統設計的重要一步,將群體智能與完全自動化的系統多代理生成相結合。我們的代碼已公開發佈於https://yaoz720.github.io/SwarmAgentic/。
English
The rapid progress of Large Language Models has advanced agentic systems in
decision-making, coordination, and task execution. Yet, existing agentic system
generation frameworks lack full autonomy, missing from-scratch agent
generation, self-optimizing agent functionality, and collaboration, limiting
adaptability and scalability. We propose SwarmAgentic, a framework for fully
automated agentic system generation that constructs agentic systems from
scratch and jointly optimizes agent functionality and collaboration as
interdependent components through language-driven exploration. To enable
efficient search over system-level structures, SwarmAgentic maintains a
population of candidate systems and evolves them via feedback-guided updates,
drawing inspiration from Particle Swarm Optimization (PSO). We evaluate our
method on six real-world, open-ended, and exploratory tasks involving
high-level planning, system-level coordination, and creative reasoning. Given
only a task description and an objective function, SwarmAgentic outperforms all
baselines, achieving a +261.8% relative improvement over ADAS on the
TravelPlanner benchmark, highlighting the effectiveness of full automation in
structurally unconstrained tasks. This framework marks a significant step
toward scalable and autonomous agentic system design, bridging swarm
intelligence with fully automated system multi-agent generation. Our code is
publicly released at https://yaoz720.github.io/SwarmAgentic/.