cd /news/ai-tools/touchgrass-ai-local-gemma-2b-micro-a… · home › topics › ai-tools › article
[ARTICLE · art-148658] src=dev.to ↗ pub= topic=ai-tools verified=true sentiment=↑ positive

TouchGrass AI: Local Gemma 2B Micro-Adventure Generator

A developer built TouchGrass AI, an offline-first web app that uses a locally run Gemma 2B model to generate hyper-local, three-step real-world observation quests based on the user's environment and available time. The core engineering challenge was constraining the 2B model to output realistic physical tasks rather than fictional narratives, solved by enforcing a rigid JSON schema in a C# backend and restricting the prompt from inventing fictional characters.

by read1 min views2 publishedOct 10, 2026

This is a submission for the Hacktoberfest Open-Source AI Challenge Week 1: Touch Grass TouchGrass AI is a lightweight, offline-first web application that generates hyper-local, 3-step micro-adventures. The goal is simple: make the screen the shortest part of the experience.

You select your current environment (e.g., a local park, city center, or quiet neighborhood) and the time you have available. The app instantly generates a unique real-world observation quest. Instead of scrolling, you get specific physical tasks-like finding a distinct architectural feature, observing specific colors in nature, or completing a walking challenge. You lock your device, put it in your pocket, and actually interact with the physical world around you.

gemma2:2b running locally via The core challenge was taming a lightweight 2B model to generate realistic, physical tasks instead of fictional role-playing narratives (initially, it tried to send me on a detective quest to investigate a fictional neighbor). By enforcing a rigid JSON schema in the C# backend and explicitly restricting the prompt from inventing fictional characters, the API reliably outputs highly contextual, real-world tasks formatted as clean JSON arrays.

Building this with an open-source model was mandatory for the core concept to work:

── more in #ai-tools 4 stories · sorted by recency
── more on @touchgrass ai 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/touchgrass-ai-local-…] indexed:0 read:1min 2026-10-10 · —