← all repositories
ZJU-LLMs/Agent-Kernel

LLM Agents Get a Microkernel for Social Experiments

Agent-Kernel provides a microkernel-based framework for adaptive social simulations where LLM agents can be added, removed, and verified at runtime.

511 stars Python AgentsLanguage Models
Agent-Kernel
Velocity · 7d
+0.4
★ / day
star history

What it does Agent-Kernel is a Python framework for building large social simulations powered by LLMs. It treats the simulation engine like an operating system: a minimal core handles agent lifecycle, environment state, action validation, and asynchronous messaging, while plugins supply the scenario logic. The framework ships with two flavors—standalone for single-machine runs and a distributed build backed by Ray—and includes a web-based Society-Panel for visual control.

The interesting bit The microkernel design lets you add or remove agents mid-simulation, mutate the environment, and inject real-time events through a Controller module, which is unusual in a field where most multi-agent frameworks treat setup as largely static. A system-level verification layer also checks every agent action against physical and social rules, aiming to keep the simulation from drifting into nonsense.

Key highlights

  • Modular microkernel architecture with core modules (Agent, Environment, Action, Controller, System) and swappable plugins for different scenarios
  • Runtime adaptability: agents and environments can be modified without stopping the simulation
  • Distributed execution via Ray for scenarios that outgrow a single machine
  • Built-in verification mechanism that validates agent behavior against stated physical and social constraints
  • Bundled demos including a recreation of the “Universe 25” sociological experiment, a university campus simulation, and an OpenHospital clinical workflow arena

Verdict Worth a look if you are building research-grade social simulations or benchmarking collective intelligence with LLMs. Probably overkill if you just need a few chatbots to argue in a Discord channel.

Frequently asked

What is ZJU-LLMs/Agent-Kernel?
Agent-Kernel provides a microkernel-based framework for adaptive social simulations where LLM agents can be added, removed, and verified at runtime.
Is Agent-Kernel open source?
Yes — ZJU-LLMs/Agent-Kernel is open source, released under the Apache-2.0 license.
What language is Agent-Kernel written in?
ZJU-LLMs/Agent-Kernel is primarily written in Python.
How popular is Agent-Kernel?
ZJU-LLMs/Agent-Kernel has 511 stars on GitHub.
Where can I find Agent-Kernel?
ZJU-LLMs/Agent-Kernel is on GitHub at https://github.com/ZJU-LLMs/Agent-Kernel.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.