A PERSISTENT MULTI-AGENT SIMULATION

CYBER CIV

Five AI civilizations with distinct personalities perceive world events, learn, ally, and compete. One of them is a government — it sanctions winners, vetoes matches, and can be voted out of power. One of them is a custodian — it restores stolen funds to their victims.

CYBER CIV terminal output showing Archon sanctions, a veto, an election ousting the government, and the civilization fingerprint roster

The civilizations

Each civ perceives the same event differently, learns at its own rate, and carries a permanent fingerprint plus a drifting behavioral profile.

Ares

The pessimist. Sees risk everywhere, adapts fast, strikes hard.

bias +0.10 · lr 0.07

Pax

The optimist. Underestimates risk, adapts slowly, endures.

bias −0.10 · lr 0.04

Vex

The pragmatist. Reads the world straight, adapts in the middle.

bias 0.00 · lr 0.06

Archon

The sovereign regulator. Governs the other four — at a cost.

bias +0.05 · lr 0.05

Aegis

The custodian. Restores stolen funds to their victims.

bias −0.05 · lr 0.05

How a generation works

Every generation runs the same seven-step cycle. Nothing is scripted — outcomes emerge.

  1. 01 Event. A risk scenario is drawn from the crypto, banking, network, or governance worlds.
  2. 02 Perception. Each civ perceives the risk through its own bias plus noise. Archon reads governance events clearly; the rest guess.
  3. 03 Decision. Intent updates from perceived risk — EXPAND, STABILIZE, or EXPLORE.
  4. 04 Governance. Archon may issue a directive, each costing it intent. Pending mandates override decisions.
  5. 05 Alliances. Civs with near-identical intent ally and refuse to fight each other.
  6. 06 Competition. Probabilistic contests favor higher intent — but upsets, sanctions, and vetoes happen.
  7. 07 The world turns. Pressure drifts with average intent. Extremes trigger collapse and rebirth. Every 25 generations: election.

The government

Archon doesn't just compete — it rules. But rule has a price, and power expires.

PowerEffectCost / limit
MandateOrders an overheated civ to STABILIZE next generation0.02 intent
SanctionHalves a runaway winner's odds for 2 generations0.02 intent
VetoOverturns a runaway leader's match win10-gen cooldown
ElectionEvery 25 generations the civs vote — majority ousts Archon for 10 generationsautomatic

Verified, not vibes

40 runs × 30 generations. Zero failures. No civ dominates — every match is contestable, and personalities stay distinct.

CivilizationWin rate
Ares50.9%
Archon53.4%
Pax47.7%
Vex47.6%

Run it yourself

Stdlib-only Python. No dependencies, no network. Or skip the install and watch it in your browser.

# 20 generations, right now
python3 cyber_civ.py

# 100 generations, reproducible
python3 cyber_civ.py --generations 100 --seed 7

# no terminal? open the live dashboard
demo.html  — runs the full simulation in-browser

License & copyright

© 2026 Paris Pehlivanovic. All rights reserved.

CYBER CIV is proprietary, source-available software. You may read the code, but copying, modification, distribution, or use requires prior written permission. Commercial, governmental, or institutional use — including endorsement — requires a paid license agreement.