Multi-Agent Framework Evolves Rust Code That Reinvents Three Optimization Paradigms on an NP-Hard Problem

MonokoEloba · reddit · 2026-08-20

The author built GenOS, a multi-agent orchestrator where autonomous LLM sub-agents write, compile, benchmark, and iteratively evolve Rust code, sharing knowledge and competing across dozens of generations.

The task: the Reverse Game of Life — recovering the exact Gen-0 state that yields a target Gen-5 grid on a flat 20x20 matrix, a notoriously NP-Hard problem.

GenOS organically evolved three peak architectures:

The discovery: Sigma's stall at 378 wasn't algorithmic failure. Analysis of Omega and Sigma data proved the remaining 22 pixels mathematically UNSAT — the flat topology's dead borders made 400/400 physically impossible. 378 was the universe's hard limit.

The author shares Sigma Gen 39's code and notes none of their hand-written algorithms beat SAT/CDCL.

Related event: GenOS: Multi-Agent Framework Evolves Rust Code to Tackle NP-Hard Problems(2 posts)→

Original post →

More from coding & agent

coding & agent channel →