Agent-Kernel: A MicroKernel Multi-Agent System Framework for Adaptive Social Simulation Powered by LLMs
Yuren Mao, Peigen Liu, Xinjian Wang, Rui Ding, Jing Miao, Hui Zou, Mingjie Qi, Wanxiang Luo, Longbin Lai, Kai Wang, Zhengping Qian, Peilun Yang, Yunjun Gao, Ying Zhang
TL;DR
Agent-Kernel tackles the rigidity of existing MAS frameworks by introducing a society-centric modular microkernel that decouples cognitive agents from external environments and actions. The framework provides a five-module core (Agent, Environment, Action, Controller, System) and a plugin-based ecosystem, enabling runtime adaptability, global configurability, deterministic execution, and strong reusability via a Database-per-Plugin model. Demonstrations on Universe 25 and the Zhejiang University Campus Life showcase the system's ability to handle evolving populations and large-scale, heterogeneous agent populations with detailed performance and behavioral metrics. The work highlights practical implications for scalable, reusable, and reliable social simulations powered by LLM-driven agents and offers avenues for community sharing through SocietyHub.
Abstract
Multi-Agent System (MAS) developing frameworks serve as the foundational infrastructure for social simulations powered by Large Language Models (LLMs). However, existing frameworks fail to adequately support large-scale simulation development due to inherent limitations in adaptability, configurability, reliability, and code reusability. For example, they cannot simulate a society where the agent population and profiles change over time. To fill this gap, we propose Agent-Kernel, a framework built upon a novel society-centric modular microkernel architecture. It decouples core system functions from simulation logic and separates cognitive processes from physical environments and action execution. Consequently, Agent-Kernel achieves superior adaptability, configurability, reliability, and reusability. We validate the framework's superiority through two distinct applications: a simulation of the Universe 25 (Mouse Utopia) experiment, which demonstrates the handling of rapid population dynamics from birth to death; and a large-scale simulation of the Zhejiang University Campus Life, successfully coordinating 10,000 heterogeneous agents, including students and faculty.
