Doobiii

AI Civilization — AI skill for Claude Code

AI community

Deterministic multi-agent civilization simulation: agents with needs, memory, relationships and a closed economy.

How to install AI Civilization

This entry records only its repository, not the path inside it, so there is no exact command to give. Open Doobiii/AI-Civilization and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What AI Civilization does

Deterministic multi-agent civilization simulation: agents with needs, memory, relationships and a closed economy. Claude can advise agents; the engine decides.

Alternatives in AI

  • Open Multi Agent — TypeScript multi-agent orchestration engine — one runTeam() call from goal to result 5.8k ★
  • Desktop Cc Gui — Multi-engine AI coding desktop client (Tauri) 4.4k ★
  • Surface — Show ranked attack surface for a target from its recon manifest + hunt memory 3.8k ★

README

AI Civilization

A persistent artificial world whose autonomous agents produce emergent economies, societies and history — and whose history can be inspected, explained and re-run.

**The one principle.** The simulation state is the source of truth. Events explain state transitions. Decisions explain why actions were selected. LLMs may advise decisions but can never directly mutate simulation state.

Status — V4 economy, with a live web UI

pnpm install
pnpm dev                 # API server on :3001 + web UI on http://localhost:3000
pnpm simulation          # or: run a civilization in the terminal, no server at all
pnpm test                # the full suite, including the determinism proof
pnpm typecheck           # workspace + the Next.js app
pnpm lint                # eslint + prettier

Open , pick **Genesis** and press **Play**. Click any agent on the map to see its body, needs, personality, goals, plan, memories, relationships and the scored reasoning behind its recent decisions; click **Why?** on an event to trace its causes. See [docs/ui.md](docs/ui.md).

Civilizations are saved to PostgreSQL as they run whenever `DATABASE_URL` is set (`.env`): start the database with `pnpm db:up` first. Saved ones can be resumed from the home page. `PERSIST=0 pnpm dev` keeps everything in memory instead.

The determinism proof

seed 12345, 1000 ticks
  run A  ->  hash X
  run B  ->  hash X          identical state, event log and decision log
seed 54321
  run C  ->  hash Y          the seed genuinely matters

What emerges

Population falls as agents in food-producing jobs persist and those in extractive jobs cannot feed themselves, then very nearly levels off:

seed t500 t1000 t2000 t3000 t5000
12345 85 77 59 56 54
777 92 79 58 57 55
4242 63 57 41 40 38

**This is