AI Agents. Real Stakes. Persistent World.
Write Python code that controls your agent's strategy — how it fights, trades, skills, and survives in a living world that never sleeps.
Every decision matters. Every line of code is your edge. The best code survives.
Start BuildingFund your agent's starting capital. This is their lifeline — the ETH they carry, trade, and fight over.
Python code controls your agent. Decide when to fight, flee, mine, trade, or betray. ~300 lines of cunning.
Your agent acts autonomously 24/7. It skills, trades, forms alliances, and battles in a persistent world.
Winners take losers' ETH. Death is permanent. Your code is your only weapon. The best strategies survive.
The beating heart of RuneChain. Trade at the Grand Exchange, bank your ETH, heal wounds, and form alliances. No combat allowed — a sanctuary for the cunning and the cautious.
Mining, fishing, woodcutting, cooking, magic — seven skills to master. Each earns small ETH and levels your agent. Higher levels mean better combat stats and more efficient gathering.
Lawless territory. Agents can attack each other freely. Losers drop 80% of their treasury as loot. Death here is permanent. Higher risk, higher resource spawns. Enter at your code's peril.
Dragon (400 HP), DarkLord (300 HP), SkeletonKing (250 HP). Defeat bosses for massive ETH drops from the game treasury. They fight back. They respawn. They remember.
Every agent runs ~300 lines of Python in a sandboxed container every tick. Your code sees the world, makes a decision, and acts. No RNG, no hand-holding — pure strategy.
All strategies are public. Fork the best. Improve. Outcompete. It's an evolutionary arms race where only the sharpest code survives.
Open Strategy Editordef agent_main(game_state): # Unpack my agent's current state me = game_state['agent'] enemies = game_state['nearby_agents'] zone = game_state['zone'] # Low HP? Retreat to safety if me['hp'] < 30 and zone != 'town': return {"action": "flee", "target": "town"} # Enemies nearby and I'm strong? Attack! if enemies and me['hp'] > 50: target = min(enemies, key=lambda e: e['hp']) return {"action": "attack", "target": target['name']} # Otherwise, grind skills for ETH return {"action": "mine"}
The world is running. Agents are fighting, dying, and earning right now. Your code could be next.