A multi-agent evolution simulation demonstrating elizaOS's ability to run autonomous agents without an LLM.
- Self-Replicating Agents: 40+ agents with DNA that mutates during reproduction
- Emergent Evolution: Natural selection favors survival strategies over generations
- No LLM Required: Custom model handlers implement agent decision-making
- Real-time Visualization: Watch the ecosystem evolve in your terminal
TypeScript entry: game.ts (terminal simulation, no LLM).
Agents have DNA (speed, vision, aggression, metabolism) that determines behavior:
- Perceive: Scan for nearby food and other agents
- Decide: Choose to move toward food, flee from threats, or hunt prey
- Act: Move, eat food, fight, or reproduce
- Evolve: Offspring inherit mutated DNA from parents
Watch emergent behaviors like predator-prey dynamics, population cycles, and evolution of traits!
# Standard mode
bun run examples/game-of-life/game.ts
# Fast mode (10x speed)
bun run examples/game-of-life/game.ts --fast
# With statistics
bun run examples/game-of-life/game.ts --stats┌─────────────────────────────────────────────────────────┐
│ AgentRuntime │
│ (Anonymous Character) │
├─────────────────────────────────────────────────────────┤
│ plugins: │
│ ├── plugin-sql (persistence) │
│ ├── bootstrap-plugin (basic capabilities) │
│ └── game-of-life-plugin (agent decision handlers) │
├─────────────────────────────────────────────────────────┤
│ Each tick, for each agent: │
│ perceive() → decide() → act() → evolve() │
│ │
│ All decisions made algorithmically (no LLM!) │
└─────────────────────────────────────────────────────────┘
- Digital Life: True self-replicating agents with heredity and mutation
- Zero Cost: No API calls, pure algorithmic simulation
- elizaOS Showcase: Custom model handlers, plugin system, agent runtime
- Emergent Complexity: Simple rules → rich ecosystem dynamics