Pocket Tank
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.
- Hardware:
- ESP32-S3
- Difficulty:
- Advanced
- Creator:
- mediacutlet
A 14M-parameter LLM keeps a virtual fish tank alive on an ESP32.

By mediacutlet
- Posted
What it does
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.
What you need
- Difficulty
- Advanced
- License
- No license stated
Parts
- ESP32-S3-Touch-AMOLED-1.8 [not stated]
- ESP32-S3-Touch-AMOLED-1.75C [not stated]
- ESP32-S3-Touch-AMOLED-2.06 [not stated]
- ESP32-S3-Touch-AMOLED-2.16 [not stated]
- AI model or service
- 14M-param distilled LLM
Prices, notes and sources: Parts and requirements
Parts and requirements
| Part | Spec / notes | Needed | Price |
|---|---|---|---|
| ESP32-S3-Touch-AMOLED-1.8 | Not stated | ||
| ESP32-S3-Touch-AMOLED-1.75C | Not stated | ||
| ESP32-S3-Touch-AMOLED-2.06 | Not stated | ||
| ESP32-S3-Touch-AMOLED-2.16 | Not stated |
Steps
- Difficulty
- Advanced
- Plug the Waveshare board into your computer, open the page in Chrome or Edge, pick your board, click Install Pocket Tank, pick the port.
- The page asks for your Wi-Fi: the tank lists the networks it can see, you pick yours and type the password.
Full instructions: View original
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.
Limits and caveats
- On the real board a decision takes about 3.7 s at 12 tokens per second.
Like this build? Get the weekly builds
Every Thursday: the 5 best gadget hacks you can copy. Free.
Built something? Submit a build
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.
Featured? Add this badge
Built this? Paste the badge into your README. It links back to this page.
Markdown
[](https://hardwarelab.dev/projects/pocket-tank/?utm_source=badge&utm_medium=referral&utm_campaign=launch_2w)HTML
<a href="https://hardwarelab.dev/projects/pocket-tank/?utm_source=badge&utm_medium=referral&utm_campaign=launch_2w"><img src="https://hardwarelab.dev/badge.svg" alt="Featured on HardwareLab" width="188" height="20"></a>Related builds
All 23 in Local LLM Rigs & Edge Agents
ESP32s3 LLM Cluster
Seven ESP32-S3s daisy-chained to run a 0.5B ternary LLM.
- 7x ESP32-S3 over SPI
Advanced259


Muse Gadgets SDK
Meta’s open SDKs for connecting Muse to ESP32 and Raspberry Pi gadgets.
- ESP32 boards
- Raspberry Pi (3B+, 4, 5 or Zero 2 W) or another Linux computer with Bluetooth LE
Intermediate2.7K
ESP32 iPhone Agent
An ESP32-S3 board lets an AI model use a real iPhone: no computer at run time, no jailbreak.
- Seeed XIAO ESP32S3 (plain, 8MB PSRAM; any ESP32-S3 with native USB + PSRAM)
- iPhone on iOS 18+ with cellular data
- Lightning to USB Camera Adapter (Lightning iPhones only)
- +2 more
Intermediate4.8K
PFor
A 180.9M-parameter MoE language model and agent on a $6.80 ESP32-P4.
- WT9932P4-Tiny (ESP32-P4 v1.3, 32MB PSRAM, 16MB flash)
Advanced$6.80 (Wireless-Tag store)12
Sources
- github.com/mediacutlet/pocket-tank/blob/952ef4d4eadeaa1ef455292e1516376cd8365eb9/README.md#L712-L712
- github.com/mediacutlet/pocket-tank/blob/952ef4d4eadeaa1ef455292e1516376cd8365eb9/README.md#L713-L713
- github.com/mediacutlet/pocket-tank/blob/952ef4d4eadeaa1ef455292e1516376cd8365eb9/README.md#L714-L714
- github.com/mediacutlet/pocket-tank/blob/952ef4d4eadeaa1ef455292e1516376cd8365eb9/README.md#L715-L715
- github.com/mediacutlet/pocket-tank/blob/952ef4d4eadeaa1ef455292e1516376cd8365eb9/README.md#L667-L672
- github.com/mediacutlet/pocket-tank/blob/952ef4d4eadeaa1ef455292e1516376cd8365eb9/README.md#L78-L78