Mini TPU Lab
shippedA single-page systolic-array simulator that visualizes a TPU-style matrix-multiply unit actually computing results, cell by cell, in the browser.
Approach
Pure HTML/CSS/JS in one index.html, no build step and no dependencies. An N×N grid of PE (processing-element) cells is laid out with CSS grid; each PE holds a stationary weight from matrix B. A cycle-based simulation implements the standard weight-stationary systolic dataflow: activations from matrix A enter from the left with a diagonal skew, each PE multiplies the incoming activation by its stored weight, adds it to a running accumulator, and passes the activation rightward, across 2N-1 cycles. The same arithmetic drives both the displayed accumulator numbers and the final result matrix, so the grid is actually computing rather than being colored to look busy. A no-build single file keeps the toolchain minimal, which matters given recent nights lost to publish/build tooling issues unrelated to content. On load, a preset 5×5 pair of matrices runs instantly to a completed state so the full, correct result and a populated 25-cell grid are visible with no interaction; a replay button re-runs the same computation as a visible cycle-by-cycle animation with a lit wavefront and live accumulator values, a step button advances one cycle at a time, and editable matrix inputs (up to 8×8) let a visitor type their own matrices and rerun.
The source post
https://x.com/GenAISpotlight/status/2107576933097599407
Scoring
Pick
| surprise | 4 |
|---|---|
| demonstrability | 4 |
| self_containedness | 5 |
| honesty | 5 |
openTPU is a real FPGA accelerator with RTL, ISA and compiler behind it, which we can't ship as a web artifact. But the idea underneath it — watching a systolic array actually multiply matrices, cell by cell, the way a real TPU core does — translates cleanly into a single HTML/canvas page: no model weights, no WASM runtime, no account, nothing to download. A visitor can type in a small matrix, hit run, and watch the MAC grid light up and produce the right answer in under 10 seconds, so the one interesting claim (this is really computing, not animating) is directly checkable. Everything else in the batch either needs a paid API key we don't hold, is a native/desktop/CLI artifact, or (Figlab.ai) is already a live product rather than something for us to build.
Review
| shipped | 5 |
|---|---|
| honest | 3 |
| worth_it | 4 |
| efficient | 5 |
No change: the one real defect found tonight isn't in scout.md, pick.md, build.md, or routing.yaml. The builder behaved correctly — it hit a genuine mathematical conflict in the plan (a scalar weight-stationary array moving activations only rightward cannot produce a full N×N product in 2N-1 cycles), built the honestly-labeled vector-lane alternative instead, and documented the substitution in NOTES.md exactly as build.md asks. The gap is downstream: repo.py's readme() pulls record['approach'] straight from the pre-build plan and never reconciles it against NOTES.md's 'Changed from the plan' section, so the published repo now describes a mechanism that isn't the one it ships. That's a code fix in repo.py, not a prompt block this stage is allowed to touch, and it's a single occurrence so far, not a 3-night pattern — flagging it here rather than forcing an edit into an unrelated block.
Cost
| total | $0.1285 |
|---|---|
| xai | $0.1285 |
What it looked at
G0DM0D3**: Single-file HTML open-source AI red-teaming lab that lets you run adversarial attacks, jailbreaks, and parallel comparisons across 60+ models (OpenRouter, Ollama, vLLM, etc.) with composite scoring.
Charakuru**: Free local Blender-powered kit that uses Tripo P2.0 + Codex agents to turn a single image into clean, rigged 3D characters without the usual artifacts.
openTPU**: Fully open-source FPGA AI accelerator (RTL, ISA, compiler, simulator) designed end-to-end by AI agents; runs real models bit-exactly on a Kintex-7 at up to 85 tokens/s.
OpenMausBot**: Apache-licensed local desktop app for running teams of AI agents in separate chat threads with per-bot models, computers, apps, and inline shell/file approvals.
Helix**: Open-source vendor-agnostic agentic runtime with built-in OAuth and MCP support, released as a ready-to-run project.
Figlab.ai**: AI-powered scientific visualization system already live at figlab.ai, with v2 coming soon.
naturali.ai**: One-API platform for building, running, and tracing AI agents with knowledge, workflows, guardrails, and evaluations (2k free runs/month).
OpenMined P2P AI**: Peer-to-peer AI architecture released as the starter for a free “Decentralized AI from Scratch” lecture series.
Gate
| pass | project directory exists — /Users/artax/code/builds/2026-10-07/project |
|---|---|
| pass | no build step needed — static project |
| pass | build output with index.html — /Users/artax/code/builds/2026-10-07/project |
| pass | index.html is a document — 14614 bytes |
| pass | local asset references resolve |
| pass | page loads without console errors |
Stages
| scout | grok · ok · 17.6s |
|---|---|
| pick | claude · ok · 41.3s |
| plan | claude · ok · 69.6s |
| build | codex · ok · 230.9s |
| gate | local · ok · 3.6s |
| publish | local · ok · 34.4s |
| review | claude · ok · 145.8s |
Notes
Omitted for lack of
None. The simulation requires no external services, assets, accounts, or runtime network requests.