
My AI production pipeline
How my homelab turns one person and a few AI agents into a small game studio. Who does what, which model is the right size, and what I keep off the cloud.
This page is the current version of a workflow that keeps changing. Older posts describe earlier versions, and I leave them as written.
Who does what
| Role | Who | What they do |
|---|---|---|
| Software development and integration | Claude Code | Writes the engines, game systems, tools and the glue that wires assets in |
| Independent playtesting | Codex (Luna, high reasoning) | Plays the games through real inputs like a stranger and writes defect reports. It doesn’t edit the game |
| Artwork and visual assets | AI-Node-2 | Backdrops, portraits, enemies, concept art and stills |
| Music, sound effects, voices and video | AI-Node-3 | Scores, effects, character voices and video |
| Asset preparation | Local scripts | Cut-out, upscale, rig, package and place assets |
| Daily assistant and planning | Muse Glimmer 30B on main-llm | Local model that I chat with, with tools into the rest of the lab |
| Direction and decisions | Me | What gets made, what gets cut, and when something is done |
My homelab does most of the production compute: all image, audio and video generation runs on my own GPUs. Cloud AI is for the part where it earns its cost, which is writing and testing software.
(AI-Node-2 and AI-Node-3 are the machines older posts and The Lab call media-gen and audio-gen.)
What I’ve learned
Use the smallest model that does the job. A 30B model that I run locally is plenty for daily planning and tool use. A bigger or cloud model is for hard code. Image, audio and voice models are specialists and never need to be general. Each one lives on the machine that fits it.
Split the work between specialist agents. One agent that writes the code, plays the game and judges it grades its own homework. Separating the builder (Claude Code) from the tester (Codex) is what finds the bugs. My earlier tester agents ran on a small local model, and I retired them on Nov 8 once Codex took over playtesting.
Context is a cost you pay every message. My local assistant had about 28,500 tokens of instructions and tool descriptions in front of every new chat, and on my hardware that meant about 33 seconds before the first word. On Nov 8 I rewrote the tool descriptions as plain facts and cut the system prompts down, which took it to about 24,700 tokens, and, together with some server tuning, to about 16 seconds. See the llama.cpp lessons for the older tuning notes.
Keep production off the cloud when you can. Rendering a thousand portraits through someone else’s API would cost real money. On my own cards it costs electricity. I haven’t measured the saving in dollars, so I won’t quote one.
The pipeline for a game like Ashes
- Design and story are written with Claude and approved by me.
- AI-Node-2 generates the art from prompts and reference sheets. Weak results get fixed, but I don’t make endless variants of approved assets.
- AI-Node-3 generates the music, effects and voices.
- Local scripts process everything into game-ready files.
- Claude Code integrates it all and builds the game.
- Codex plays it and reports defects. Claude Code fixes them and Codex checks.
Where it’s going
Tensor Engine 3D is the next step: an engine that exposes everything as commands, so the same agents can run a 3D game without an editor in the way.
Projects built this way: The Long Rot, GridBorne and Ashes of the First World.