Experiment: autonomous NPCs powered by Gemma 4 E2B in the browser
Summary
An experiment demonstrating autonomous NPCs in the browser powered by Gemma 4 and E2B.
Similar Articles
Gemma 4 running fully offline on WebGPU with Transformers.js, controlling Reachy Mini over WebSerial.
Demonstrates running Gemma 4 offline in the browser using WebGPU and Transformers.js to control a Reachy Mini robot via WebSerial.
Gemma 4 E2B running in-browser at 255 tok/s using WebGPU kernels written by Fable 5
Gemma 4 is demonstrated running in-browser via WebGPU at 255 tokens per second, using kernels generated by Fable 5, showcasing efficient on-device inference.
Built a fully offline suitcase robot around a Jetson Orin NX SUPER 16GB. Gemma 4 E4B, ~200ms cached TTFT, 30+ sensors, no WiFi/BT/cellular. He has opinions.
A developer built a fully offline suitcase robot named Sparky using a Jetson Orin NX and Gemma 4 E4B model, achieving ~200ms cached TTFT and 14-15 tok/s with 30+ sensors feeding into the prompt as natural language, all without network connectivity.
@googlegemma: Check out original post by @ivanfioravanti here:
A demonstration of the Gemma 4 E4B AI model running locally on an iPad using Apple MLX, showcased as an engaging application for children.
@berryxia: Guys, I recently came across a project that takes the local model Gemma 4 to new heights, and I was stunned. You open a retro-style dungeon crawler game, your character walks up to an NPC, casually types a prompt, and it instantly builds a working web app right there. This is what the Google Gemma team just...
AIventure is an open-source dungeon crawler game from Google's Gemma team that integrates Gemma 4 to let players build web apps through NPC prompts, serving as a developer masterclass on agentic workflows and vibe-coding.