cd /news/artificial-intelligence/show-hn-watch-14-byte-ai-brains-atte… · home topics artificial-intelligence article
[ARTICLE · art-75044] src=con-dog.github.io ↗ pub= topic=artificial-intelligence verified=true sentiment=· neutral

Show HN: Watch 14-Byte AI "brains" attempt to solve a 2D maze (Its hard)

A developer built a 14-byte neural network that achieves a 96.5% solve rate on unseen 2D mazes, trained across 46 phases to improve performance and reduce size. The models navigate using only local neighborhood observations, with failures typically due to looping, and the project was created as a learning experiment with AI-assisted coding.

read1 min views1 publishedJul 27, 2026

Hey HackerNews,

I built this project over the last few weeks as a palette cleanser from a failed game launch.

I wanted to learn a bit about AI/Neural-Networks and naively thought I could build a tiny maze-solving AI in a weekend with a 100% solve rate.

Well - I couldn't, but I got pretty close. 14 Bytes total model size, and a 96.5% solve rate on unseen mazes. Trained across 46 phases experimenting with different ideas to improve the model (better performance, smaller size).

Its quite fun to watch the model attempt to solve the maze, when they fail its usually due to getting stuck in a loop. The models have no access to coordinates, map-data, or external memory scratches - they must navigate using only immediate local neighbourhood observations.

There is a model dropdown and you can see how the model has progressed over each phase, constantly getting smaller and increasing its solve rate. Total trained models number in the thousands - I just expose the winning models from each phase.

Overall a fun experiment, with much implementation help from AI agents to scaffold and implement the code (I'm a lazy software dev).

Comments URL: [https://news.ycombinator.com/item?id=49066083](https://news.ycombinator.com/item?id=49066083)

Points: 1

── more in #artificial-intelligence 4 stories · sorted by recency
── more on @hackernews 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-watch-14-byt…] indexed:0 read:1min 2026-07-27 ·