Skip to Main Content

Team Loci

Built at Google DeepMind Bangalore Hackathon · Jul 11, 2026 · Marathahalli, Marathahalli Main Road

Demo video · www.loom.com/…

Loci — a local, offline coding agent Loci is a fully offline coding agent built on Gemma 4 (E2B). Describe an app you want — say, tic-tac-toe — and Loci asks the minimum clarifying questions needed, then writes a complete, working single-file app. Unlike a typical code-generation chatbot, Loci closes the loop itself: it runs the generated code in a real headless browser, checks for errors, and if something's broken, feeds the failure back into the model and rewrites it — no user intervention required. If it can't resolve an issue after two attempts, it stops and explicitly hands the decision back to the user (simplify the feature, or inspect the code directly) rather than looping indefinitely. Every part of this — generation, execution, testing, and retry — runs entirely on-device, with zero network calls at any point. That makes Loci viable in offline environments, on unreliable connections, or wherever sending code or data to a cloud service isn't acceptable. Built with Flask, vanilla JS, Selenium for self-testing, and Ollama running Gemma 4 E2B locally, leveraging the model's native speculative decoding for faster on-device inference.

Team