Skip to content
HardwareLab

Pocket Tank

A 14M-parameter LLM keeps a virtual fish tank alive on an $8 ESP32.

By mediacutlet

Est. cost
Cost unknown
Posted
GitHub stars
207 (GitHub)
Pocket Tank: GitHub repository card
No photo in the source; showing the GitHub repository card.

Overview

A 14-million-parameter language model makes every decision for a virtual fish tank on an ESP32-S3, with no network: when each fish eats, hides, explores, socialises, rests or flees.

How it works

The model was distilled from a 26B teacher into a 7.56 MB file read straight from flash. Each fish describes its state (hunger, fear, neighbours, personality) as one line of text, and the model completes it with a goal and an urgency. A reflex layer animates that at 25–30 fps on a 1.8-inch AMOLED. You can flash it from the browser to three Waveshare boards.

Hardware

  • ESP32-S3

This page is a short summary written by HardwareLab. Build steps, code and photos belong to the creator; follow “View original” for the full project.

See all 17