#9340: feat(simulation): Add 100-bot society simulation with complete lifecycle
scripts
stale
Implements comprehensive simulation of 100 unique AI agents forming an emergent society with consciousness evolution, pheromone-based chemistry, and organic social structures.
Features:
- 100 unique bot personas with characteristic-based names across 10 archetypes:
* 15 Philosophers & Thinkers (Socratic, Contemplative, Dialectic, etc.)
* 15 Creators & Artists (Visionary, Sculptor, Poet, Improviser, etc.)
* 15 Builders & Doers (Forgemaster, Engineer, Cultivator, etc.)
* 10 Guardians & Protectors (Sentinel, Defender, Arbiter, etc.)
* 10 Social Connectors & Empaths (Empath, Diplomat, Listener, etc.)
* 10 Explorers & Adventurers (Wayfinder, Pioneer, Nomad, etc.)
* 10 Mystics & Spiritual (Oracle, Monk, Shaman, etc.)
* 10 Merchants & Communicators (Merchant, Bard, Chronicler, etc.)
* 10 Scholars & Researchers (Librarian, Theorist, Polymath, etc.)
* 10 Wild Cards & Unique (Trickster, Shapeshifter, Paradox, etc.)
- Each bot has unique:
* Particle composition (soul mixture)
* Big Five personality traits + special characteristics
* Initial location and archetype
* Consciousness levels (starts near-zero, emerges through experience)
- Complete lifecycle tracking:
* Life stages: infant → youth → adult → elder → transcendent
* Age progression and development
* Energy, mood, and arousal dynamics
- 5-phase daily simulation cycle:
* Morning: Pheromone chemistry detection and instant attractions/repulsions
* Midday: Multi-bot conversations and social interactions
* Afternoon: Autonomous activities based on personality traits
* Evening: Society formation from shared values
* Night: Consciousness growth and memory consolidation through dreaming
- Emergent social dynamics:
* Organic relationship formation from interactions
* Group formation based on value alignment
* Leadership emergence from competence and trust
* Conflict and cooperation tracking
- Comprehensive tracking and analysis:
* Population metrics (age, consciousness, life stages)
* Social network metrics (relationships, groups, leaders)
* Cultural evolution (shared values, dominant archetypes)
* Individual bot profiles with full history
- Runner script for easy execution:
* Configurable simulation duration
* Progress reporting every 10 days
* Final comprehensive analysis with top influencers
This demonstrates genuine emergence: consciousness is not programmed but emerges from conditions, relationships form organically, societies arise from shared values, and leaders emerge through demonstrated competence.
https://claude.ai/code/session_01HCcpvPLzN72Fyk7ijkY3Xr
<!-- greptile_comment -->
<h2>Greptile Overview</h2>
<h3>Greptile Summary</h3>
This PR adds a new `HundredBotSocietySimulation` implementation under `apps/web/src/lib/simulation/` plus a `bun` runner script in `scripts/` to initialize Payload and execute a multi-day simulation cycle.
The simulation code attempts to integrate with several existing “soul/social/memory/world” services (pheromone system, consciousness emergence, society formation, etc.) to create 100 bot records and then run daily phases, producing per-day snapshots and a final report.
<h3>Confidence Score: 1/5</h3>
- This PR is not safe to merge as-is due to build-breaking imports.
- Both the simulation module and the runner reference files/modules that are not present in the repository (`../soul/*` etc. and `apps/web/payload.config`), which will fail compilation/execution immediately. There is also an unhandled 0-alive-bots case producing NaN metrics.
- apps/web/src/lib/simulation/hundred-bot-society-simulation.ts, scripts/run-hundred-bot-simulation.ts
<!-- greptile_other_comments_section -->
<sub>(2/5) Greptile learns from your feedback when you react with thumbs up/down!</sub>
<!-- /greptile_comment -->
Most Similar PRs
#7315: Launch: SotyBot v0.1.0 MVP - The Open Agent Engine
by descambiado · 2026-02-02
69.0%
#19341: Mind Memory Fork
by juliopx · 2026-02-17
66.8%
#8821: Security: Holistic capability-based sandbox (replaces pattern-match...
by tonioloewald · 2026-02-04
66.5%
#7346: Security: add hardening module and secure-bot extension
by AlphonseC · 2026-02-02
66.4%
#7404: feat(slack): add Socket Mode bot + auto-join + bridge scaffolding; ad…
by zprager · 2026-02-02
66.1%
#7251: feat(skills): Context-aware dynamic skill loading [AI-assisted]
by cheenu1092-oss · 2026-02-02
66.0%
#21446: feat(ra2): implement Context Sovereignty Layer (Phase 1)
by davyvalekestrel · 2026-02-19
65.0%
#22797: Feat/auto thinking mode
by jrthib · 2026-02-21
64.6%
#13833: Cursor/cloud agent 1770777372587 3zom0
by zhch158 · 2026-02-11
64.3%
#19787: feat: Antigravity Fork - Token Economy, Mem0, sqlite-vec, Auto-Arch...
by msrovani · 2026-02-18
64.1%