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:
- Epsilon (Gen 17, causal optimizer): mapped causal light-cones for local gradients, but non-linearity misled them; stalled at 306/400.
- Omega (Gen 10, SAT solver): encoded the 5-generation grid into a massive SAT formula with stochastic WalkSAT, but choked on combinatorial explosion from dense constraints.
- Sigma (Gen 39, Darwinian brute force): evolved a SWAR bit-slicing engine evaluating 64 universes per CPU register, plus simulated annealing with thermal shocks — hitting 378/400.
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)→
More from coding & agent
- Qiaomu UI Learn ships as Antigravity plugin with 13,500+ real UI references for agent replication — vista8 · 2026-11-30
- DHH cracks Linux deep sleep on Zenbook A16: 0.16W overnight draw — cgarciae88 · 2026-11-30
- Sakana AI open-sources Agentic Scientist, pushing toward self-improving AI researchers — SakanaAILabs · 2026-11-30
- Blogger migrates Ghost blog to self-hosting in hours with Claude — kevinakwok · 2026-11-30
- Dev turns iPhone into an MCP server so local LLMs can read your phone data — Solid-Strawberry-333 · 2026-11-30
- Free interactive AI book Zero to Frontier adds Learn-in-Claude integration — RepulsiveScene8320 · 2026-11-30