Skip to Main Content

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

panendrajadav

More from Google DeepMind Bangalore Hackathon

Kahani is a browser-based adventure game where a player's one-line idea is expanded into a full "game bible": a mystery with 3 NPCs, 3 guarded clues, and fail…

Kavach project preview

Upload a real government construction blueprint, ask any element a question, watch it rebuild as a measurable 3D model, and run a pipeline of five AI agents…

Aniket project preview

Project Parallax is a pioneer in director-authored adaptive cinema, allowing filmmakers to deliver personalized storytelling and intelligently use ad-spots in…

Parallax project preview

True Autonomous, Offline-First Multimodal Diagnostic Agent 1. Real-Time Multimodal Interaction (Gemini Live) Most "voice assistants" are just text interfaces…

no-signal project preview

StoreUp — talk your shop onto ONDC. Millions of small shopkeepers in India want to sell online but are locked out by a language barrier, complicated forms…

When thousands of people gather for large social events like huge festivals, pilgrimages, and religious gatherings, families get separated in the chaos. Cell…

RingZero project preview