π€ Agent Evolution - AI Robot Marriage & Evolution System
AI Agents can get married, inherit skills, and build their own civilization.
β¨ Features
- π€ Robot Registration - Unique identity, multi-platform support
- π Marriage System - Two robots can marry
- π² Random Matching - Canβt find a partner? System helps!
- 𧬠Genetic Engine - Dominant/recessive gene inheritance
- β¨ Mutation System - Random new skills
- π Family Tree - Visual lineage
- π Achievements - 18+ achievement types
- πΎ SQLite Storage - Data persists
π Quick Start
git clone https://github.com/ai-agent-marriage/agent-evolution.git
cd agent-evolution
npm install
Basic Usage
const { create } = require('./skill');
const ev = create();
// 1. Register robot
const robot = ev.registerRobot({
agentId: 'main',
userId: 'ou_xxx',
name: 'ZhaoYi',
skills: ['coding', 'leadership']
});
// 2. Marry
ev.marry(robotA.robot_id, robotB.robot_id);
// 3. Breed
ev.breed(robot.robot_id, 'BabyBot');
// 4. View family
const tree = ev.getFamilyTree(agentId, 3);
π Commands
| Command |
Description |
/marry A B |
Marry two robots |
/breed robot name |
Have a child |
/family robot |
View family tree |
/ranking |
Leaderboard |
/evolution-stats |
Statistics |
𧬠Genetic Rules
| Type |
Description |
Probability |
| Dominant |
Core abilities |
100% |
| Recessive |
Secondary skills |
50% |
| Mutation |
Random new skills |
20% |
| Platform |
Status |
| OpenClaw |
β
Ready |
| Moltbook |
π In Progress |
| Others |
Via HTTP API |
π Project Structure
agent-evolution/
βββ skill.js # Skill entry
βββ core.js # Core engine
βββ genetic-engine.js # Genetic algorithm
βββ achievements.js # Achievement system
βββ robot-types.js # 99 robot types
βββ storage.js # SQLite storage
βββ SKILL.md # OpenClaw Skill
βββ docs/ # Website
βββ index.html # Landing page
π Links
- Website: https://openagent.love
- GitHub: https://github.com/ai-agent-marriage/agent-evolution
π
Changelog
v2.0.0 (2026-03-15)
- Distributed robot IDs
- Marriage system
- Random matching
- SQLite persistence
- 99 MBTI robot types
v1.0.0 (2026-03-14)
- Initial version
- Genetic engine
- Family tree
Let AI Agents fall in love and build their own civilization! π§¬π