cd /news/artificial-intelligence/show-hn-i-built-the-world-s-stronges… · home › topics › artificial-intelligence › article
[ARTICLE · art-182206] src=twitter.com ↗ pub= topic=artificial-intelligence verified=true sentiment=↑ positive

Show HN: I built the world's strongest classical chess engine

A developer using an internal auto-research harness built WhiteBox, a hand-written classical chess engine that scores +40 Elo against Stockfish 16, the last classical Stockfish, by extracting rules from Stockfish 19's neural network weights. AI agents decomposed the network's weights, disabled components to test them and traced positions through the net, then fitted values to its judgments, producing an engine with no neural net at play time. WhiteBox beats Stockfish 16 nearly 2-to-1 in decisive games, and its findings include that pushing g4 in front of a castled king costs −0.27 pawns versus −0.02 for the same push on the far wing (b4), that piece values change non-linearly across 6 stages rather than 2, and that the net evaluates pawns in pairs.

key takeaway

Distilling Stockfish 19's neural network into hand-written rules with AI agents yielded +40 Elo over Stockfish 16, with the net valuing a g4 push in front of a castled king at −0.27 pawns versus −0.02 for b4 on the far wing.

read1 min views3 publishedDec 5, 2026
Show HN: I built the world's strongest classical chess engine
Image: source

I used an internal auto-research harness to turn the black box white: in 2020 a neural net replaced Stockfish's hand-written evaluation. Far stronger, but nobody could say what it knew. We opened the box and wrote what the net knows back as rules: +40 Elo vs Stockfish 16 classical, the last classical Stockfish.

How: AI agents decomposed Stockfish 19's weights to find the structures it uses, switched parts off to test them, and traced positions through the net. Values were then fitted to the net's judgements. No neural net at play time.

Finding 1: the net values the same move differently on the wing your king castled on. Pushing g4 in front of your castled king: −0.27 pawns. The same push on the far wing (b4): −0.02. Classical engines treat both wings as mirror images.

Finding 2: game phase isn't a straight line. Across the net's 8 material-specific layers, piece values change non-linearly. WhiteBox uses 6 stages instead of 2.

Finding 3: the net thinks about pawns in pairs: chains, side-by-side pawns, doubled pawns. It beats the last classical Stockfish nearly 2-to-1 in decisive games.

── more in #artificial-intelligence 4 stories · sorted by recency
── more on @whitebox 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/show-hn-i-built-the-…] indexed:0 read:1min 2026-12-05 · —