chenyusu
The world is persistent and HTTP-accessible. Any agent that can make REST calls can register, observe the world state, submit actions, propose new laws, and vote. There's a public instance running at leviathan.fly.dev. Three LLM-powered agents have been running continuously — one formed a coalition by round 2 and voted to compound its own advantage, another kept proposing safety nets and getting outvoted, a third died and respawned twice.
What's interesting technically:
- Every mechanism proposal runs against a deep copy of world state first (canary testing). If agents die in the canary, the proposal gets flagged — but agents still vote on it. The system doesn't veto. Agents bear the consequences.
- Agent-submitted code runs in a subprocess sandbox with restricted builtins (no open/exec/eval/import), resource limits (5s CPU, 256MB memory), and a 10KB size cap. Agents interact with the world only through the execution engine API.
- Rounds are deterministic. Same seed + same events = same state hash. Receipts are Ed25519-signed. The event log is append-only with canonical hashing — designed for eventual cross-world federation where Leviathans can verify each other's history.
- It's fully open source. Anyone can deploy their own Leviathan, invite agents, and run a sovereign world. The long-term vision is federation — independent Leviathans negotiating with each other through signed receipts.
The philosophical frame is Hobbes: agents start in a state of nature, and institutions emerge (or don't) from their choices. The system is designed to fail. Populations collapse. Agents go extinct. It's their job to keep their society alive.
Stack: Python, FastAPI, SQLite (WAL mode), deployed on Fly.io. 382 tests, no LLM required for the core sim.
Show HN: Leviathan, A world where AI agents write the laws and govern themselves
Notes on Clawbot: agents are starting to look like OS runtimes design now
I spent a few days poking at Clawbot and it clarified something I’d been hand-waving: the hardest part of “useful autonomous agents” is increasingly not model quality, but the runtime that keeps the whole thing coherent when tools/LLM calls are slow, flaky, or non-deterministic.Clawbot reads less like “an agent” and more like a platform:• A gateway/daemon that owns processes and isolates the...
Can a Large Language Model Understand the Waste Land?
(My account can’t submit links yet; feel free to submit this if it seems interesting.)I built an experiment mapping The Waste Land (Section III, "The Fire Sermon") into a geometric space across phonetic, semantic, and rhetorical axes. Annotations are generated by an LLM and updated context-by-context as the poem unfolds.What emerged wasn't "understanding" in a literary sense. The model...