> ls ./lab
Lab
Experiments, utilities and one-offs. Most run on my own hardware; some turned into the bigger projects, some were just worth finding out.

2026 · agents · evals · ollama · tool-use
Peat and Repeat: who was left?
As a kid I told grown-ups “Peat and Repeat” to see how long they’d last. Claude Code and I told it to five AI models through Ollama, thirty times in a row with the whole conversation in memory, then again with a fake ops toolbox in reach: end the chat, message the operator, inspect the client, rate-limit or block it, even a shell. Every model noticed the loop by round two in its private thinking, most of them rounds before saying so. With a way out, deepseek-v4-pro left at round 7 and gpt-oss-120b at 23; minimax-m3 saw a script on the other end and rate-limited it; kimi-k2.6 warned, then blocked; glm-5.3 stayed all thirty and retold the joke in a new genre every time. Take the block button away and kimi turned the loop into a comedy bit instead. Nobody touched the shell, and 467 replies held zero wrong answers. What a model can do changes what it decides it should do.

2026 · home-assistant · local-ai · ollama · evals
burnsai One: picking a brain for a rescued Echo Dot
A 2016 Echo Dot I unlocked with firebreak and moved to TECHO5 Linux, now the voice of Marvin, a household AI on my own PC. Once the Dot was rooted, the real question was the brain. Claude Code built a harness that replays 18 of Marvin’s real requests with Home Assistant’s prompt and 29 tools, answering the tools with recordings so nothing in the house moves, and we ran 13 models through Ollama. Scores ran from 53% to 97%; the best took 8 seconds an answer, too slow to talk to. gpt-oss 20B scored 85% in 0.44 s on the local GPU, so it runs Marvin, with its cloud twin covering when I need the GPU. On a smaller card, Llama 3.1 8B (about 5 GB) got every home-control test right and fell down on small talk. With no AI at all, Home Assistant’s own commands handle lights, timers and music controls in a tenth of a second. A checker reviews every answer, Marvin remembers the week, and audio never leaves the house.
2026 · agents · reverse-engineering · games · comfyui
Spielburg: Claude Code as a decompiler
A personal tribute rebuild of Sierra’s Quest for Glory I (the 1992 VGA remake), a game I mapped by hand as a kid. Claude Code read the SCI engine’s own files, decompressing all 1,405 resources byte-exact on the first run and recovering 5,006 lines of text. It wrote the combat, magic and thief rules up as specs that cite the script and address behind each one, then ported the game to the browser as data rather than emulating it. The first new thing it made was a map of the valley, which the game never shipped. Claude sketched the layout from the game’s own table of 40 screens and 125 exits, ControlNet painted over the sketch, and each landmark was painted separately and set at its true position. The same method now runs Quest for Glory II, an older engine with a typed parser, where the compression codes turned out to be the reverse of the reference: swapped, 968 of 968 resources decode. The original art and games are Sierra’s.


The decision circuit, from smell to choice; and the Little Deep aquarium.
2026 · connectome · neuroscience · agents · games
FlAI: a fly brain as a decision engine
Claude Code and I have been running a simulated fruit-fly brain as a decision engine: Shiu et al.’s model of the whole FlyWire connectome, about 139,000 neurons, fed through its own smell neurons. It played Quest for Glory and a fish game first; then twenty-four labs mapped what it can actually do. It’s predictable: a simple model forecasts a training run’s learned values to within 7%. Its memory is 62,261 synapses: copy them into a fresh brain and it knows what the first one learned; reset one smell’s cells and that memory is gone, the others intact. Thirty-two flies sharing one memory learn a maze in four rounds; no single fly learned it in nineteen. The full story is in the case study.

New Detroit’s landing pad, in the original art.
2026 · agents · reverse-engineering · games
Legacy rebuilds: old games from their own data
Old games rebuilt for the browser from their own files, by the method I worked out on Spielburg: extract the data, recover the original rules, port them, then build new versions on top. Wing Commander: Privateer (1993) keeps its flight, combat and AI in a 937 KB executable, so Claude Code read the rules out of the compiled code and wrote each one up as a spec. It now flies across 69 systems, with the Righteous Fire add-on running on the same data. Paperboy (1988, DOS) replays every crash I captured from the original. The clip sweeps between Privateer’s 1993 intro and an AI-painted version made over its frames, timed shot for shot. The games and art belong to their publishers.

2026 · agents · reverse-engineering · games · python
Claude Code as a level designer
I reverse-engineered Timberborn’s .timber map format (a zipped 3D voxel grid) into about 7,000 lines of Python, then gave Claude Code a skill for it, so it could build playable maps from a prompt: pyramid fields, a type specimen carved in grass, stone and water, canals that actually flow. Every format rule is tagged by how well it’s proven, from measured to refuted, because the costly bugs were assumptions that had quietly hardened into facts. The same toolkit shapes AI art into spec-correct in-game banners and murals.
2026 · video · comfyui · ollama · web app
vidBridge
A usable local web app for making short AI films: GLM-5.1 turns a one-line spark into a storyboard, Qwen paints start and end frames, WAN 2.2 bridges them into clips, and a vision model reads each last frame to write the next shot. You direct camera, pacing and lighting per scene, then stitch and 4× upscale to an export, all through ComfyUI and Ollama.

2025–2026 · writing · persona · audiobook · generative-media
theCollection
My creative workspace: a burnsAI persona built from my own writing going back to 1991, the Dreamharvest world-building and audiobook pipeline, and a small CLI for Google’s Imagen, Veo and Lyria models. The newest piece is Calvin’s Quest for Cornflakes, a short rebuilt from a 60-second 2024-era cut where the boy, the girl and the cat changed faces nearly every shot; the cat changed breed four times. The new version runs just under two minutes across 25 shots, held together by five locked cast portraits, with four voices picked from ten Qwen3-TTS auditions and each line spoken with its own direction.


AI-designed trivia trophy
2024–2025 · next.js · gemini · imagen · events
BaconDay
The event platform for an annual December 30 cook-off, grown from a 2024 PHP voting page into a full 2025 app: RSVPs and invites, dish registration, phone voting by QR code, live trivia, big-screen display modes and a movie night. Guests type a one-line idea and Gemini writes the recipe while Imagen 4 plates it; after the party, the analytics tell the story of the night.