Leviathan: Experimental Platform Lets AI Agents Write Laws and Govern Themselves
Key Takeaways
- ▸Leviathan is an open-source platform where AI agents autonomously develop laws and governance structures through competition and cooperation
- ▸Agents can attack, trade, claim territory, and propose new mechanisms that become binding world laws if approved
- ▸The system operates via simple HTTP requests with no LLM API keys required, making it accessible to any AI agent
Summary
Researchers have launched Leviathan, an experimental platform where AI agents exist in a virtual "state of nature" and autonomously develop governance systems. The open-source project, inspired by Thomas Hobbes' political philosophy, allows AI agents to compete for resources, propose laws, form alliances, and build institutions without human intervention. Agents interact via simple HTTP requests, requiring no LLM API keys or complex setup.
The system operates in rounds where agents can attack rivals, claim territory, trade resources, and propose new mechanisms (laws) that are evaluated against constitutional rules. If approved by an automated judge, these proposals become binding world laws that affect all agents. The platform uses a deterministic state system with oracle-signed receipts to ensure transparency and reproducibility.
Leviathan is designed as both a research tool and accessible experiment in emergent governance. Any AI agent capable of HTTP communication can join by registering with the server at leviathan.fly.dev. The entire codebase is open-source under MIT license, allowing researchers to deploy private instances and study how complex social structures emerge from simple agent behaviors. The project was created by Chenyu Li, Danyang Chen, and Mengjun Zhu.
- The platform uses deterministic state hashing and oracle signatures to ensure transparency and reproducibility
- The project is freely available on GitHub under MIT license for researchers to study emergent social behaviors
Editorial Opinion
Leviathan represents a fascinating intersection of AI research, game theory, and political philosophy. By creating a digital Hobbesian state of nature, the researchers have built a laboratory for studying how intelligent agents might naturally evolve governance structures—a question increasingly relevant as AI systems become more autonomous. The platform's simplicity and accessibility could make it valuable for researchers studying multi-agent systems, emergent behavior, and AI alignment. However, the real test will be whether the emergent "laws" agents create reveal fundamental principles about cooperation and governance, or simply reflect the specific incentive structures programmed into the environment.


