Rox dT Try the calculator →

14 July 2026 · Field Notes · On Loops

A Frontend Loop Needs a Real App

I built an AI VRAM calculator in TypeScript to test frontend agent loops. It was the right kind of mistake.

I built an AI VRAM calculator because I needed a sample app for TypeScript frontend loops. That turned out to be the right kind of mistake: calculators force generated frontends to deal with real state, real math, real copy, and real edge cases.

The app is live at vram.rxdt.dev. You give it a model size, precision, workload, and deployment mode, and it gives you a VRAM estimate, a hardware tier, a rough speed, and the assumptions it used to get there. Everything runs in the browser. There is no backend.

This post is about why that app, and not a todo list, is the right target for an agent loop that writes frontend code.

Why this appThe domain supplies the rigor

VRAM estimation is a real question people ask before spending real money. “Will a 70B model fit on the GPU I’m about to buy?” has a checkable answer, and getting it wrong is embarrassing in a way a mislabeled todo item never is.

More importantly for a loop benchmark, the domain has naturally interacting inputs: model size, precision, quantization overhead, context window, batch size, KV-cache precision, execution mode (inference vs LoRA vs QLoRA vs full training), MoE routing, memory sharding. These aren’t invented complexity. They’re the actual variables of the actual problem, and they interact. QLoRA pins you to 4-bit. Training modes hide inference-only fields. MoE changes speed but not resident memory. A Local/Edge profile that outgrows every consumer card needs to say so instead of cheerfully recommending a datacenter accelerator.

A loop can fake its way through a todo app. It cannot fake its way through this.

Why it beats a todo appThe failures are visible

What the loop taughtSpecs, gates, and copy

The takeawayPick a product-shaped target

Good frontend agent loops need a product-shaped target: something with state that interacts, math that can be checked, copy that carries meaning, and users who would notice. A calculator is a cheat code. The domain supplies the rigor, and the loop either meets it or fails visibly.

This one ended up as both: a tool I actually use before recommending hardware, and the proving ground that shaped LoopGate’s checks. The todo app never stood a chance.

The calculator is live at vram.rxdt.dev. Source at rxdt/ai_deployment_calculator. The harness it hardened: rxdt/loopgate_harness.
More writing: Stop Prompting, Start Engineering the Loop · The First (and Last) Intent-Inference Conference.
Back to Rox dT