Open-source agent beats Craftax in 5,000 moves, goes upstairs for water

hyperparticle · x · 2026-10-08

The author open-sourced the full code (rekursiv-ai/priml craftax baselines) behind an agent that beats the 2D survival game Craftax, with an unbroken run showing victory after 5,000 moves.

Notable emergent long-horizon planning: since the Fire Realm has no food or water, the agent climbs back up a floor to drink or hunt bats, then returns down. The repo includes GTrXL and PQN training implementations plus CUDA graph acceleration.

Related event: AI Agent Blocks Projectiles and Builds Monster-Proof Docks in Craftax(5 posts)→

Original post →

More from Fun

Fun channel →